ReasoningBank with AgentDB
Implement ReasoningBank adaptive learning with AgentDB's 150x faster vector database.
Skill by aegntic
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/aegntic-reasoningbank-with-agentdb
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: backend
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions: not checked yet.
What's inside
- Skill name
ReasoningBank with AgentDB- Description
- Implement ReasoningBank adaptive learning with AgentDB's 150x faster vector database. Includes trajectory tracking, verdict judgment, memory distillation, and pattern recognition. Use when building self-learning agents, optimizing decision-making, or implementing experience replay systems.
- License
- MIT
- Instructions
- 443 lines in SKILL.md · view on GitHub
Agent Skills spec issues
- name: only lowercase letters, digits and single hyphens allowed
- name: "ReasoningBank with AgentDB" does not match folder "reasoningbank-agentdb"
Files (1)
- SKILL.md
SKILL.md (first lines)
# ReasoningBank with AgentDB
## What This Skill Does
Provides ReasoningBank adaptive learning patterns using AgentDB's high-performance backend (150x-12,500x faster). Enables agents to learn from experiences, judge outcomes, distill memories, and improve decision-making over time with 100% backward compatibility.
**Performance**: 150x faster pattern retrieval, 500x faster batch operations, <1ms memory access.
## Prerequisites
- Node.js 18+
- AgentDB v1.0.7+ (via agentic-flow)
- Understanding of reinforcement learning concepts (optional)
---
## Quick Start with CLI
### Initialize ReasoningBank Database
```bash
# Initialize AgentDB for ReasoningBank
npx agentdb@latest init ./.agentdb/reasoningbank.db --dimension 1536
# Start MCP server for Claude Code integration
npx agentdb@latest mcp
claude mcp add agentdb npx agentdb@latest mcp
```
### Migrate from Legacy ReasoningBank
```bash
# Automatic migration with validation
npx agentdb@latest migrate --source .swarm/memory.db
# Verify migration
npx agentdb@latest stats ./.agentdb/reasoningbank.db
```
---
## Quick Start with API
```typescript
import { createAgentDBAdapter, computeEmbedding } from 'agentic-flow/reasoningbank';
// Initialize ReasoningBank with AgentDB
const rb = await createAgentDBAdapter({
dbPath: '.agentdb/reasoningbank.db',
enableLearning: true, // Enable learning plugins
enableReasoning: true, // Enable reasoning agents
cacheSize: 1000, // 1000 pattern cache
});
// Store successful experience
const query = "How to optimize database queries?";
const embedding = await computeEmbedding(query);
await rb.insertPattern({
id: '',
type: 'experience',
domain: 'database-optimization',
pattern_data: JSON.stringify({
embedding,
pattern: {
query,
approach: 'indexing + query optimization',
outcome: 'success',
metrics: { latency_reduction: 0.85 }
}
}),
confidence: 0.95,
usage_count: 1,
success_count: 1,
created_at: Date.now(),
last_used: Date.now(),
});
// Retrieve similar experiences with reasoning
const result = await rb.retrieveWithReasoning(embedding, {
domain: 'database-optimization',
k: 5,
useMMR: true, // Diverse results
synthesizeContext: true, // Rich context synthesis
});
console.log('Memories:', result.memories);
console.log('Context:', result.context);
console.log('Patterns:', result.patterns);
```
---
## Core ReasoningBank Concepts
### 1. Trajectory Tracking
Track agent execution paths and outcomes:
```typescript
// Record trajectory (sequence of actions)
const trajectory = {
task: 'optimize-api-endpoint',
steps: [
{ action: 'analyze-bottleneck', result: 'found N+1 query' },
{ action: 'add-eager-loading', result: 'reduced queries' },
{ action: 'add-caching', result: 'improved latency' }
],
outcome: 'success',
metrics: { latency_before: 2500, latency_after: 150 }
};
const embedding = await computeEmbedding(JSON.stringify(trajectory));
await rb.insertPattern({
id: '',
type: 'trajectory',
domain: 'api-optimization',
pattern_data: JSON.stringify({ embedding, pattern: trajectory }),From aegntic/cldcde, MIT.
More from aegntic/cldcde
- 0.544score
council
aegntic
Run a 5-adviser council to stress-test any decision.
SkillCFreshness: C★ 12Claude Code +9 - 0.484score
ae-ltd-skill-builder
aegntic
Create new Claude Code Skills with proper YAML frontmatter, progressive disclosure structure, and complete directory organization.
SkillDFreshness: D★ 12Claude Code +9 - 0.484score
ae-proof-agent
aegntic
Diligence-grade product and technical analysis for the ae.ltd proof-agent concept, including comparison against Cursor and Omnara, MVP and production…
SkillDFreshness: D★ 12Claude Code +9 - 0.479score
ae-ltd-visual-regression-forge
aegntic
Use when UI changes must be proven safe across breakpoints using baseline and diff workflows.
SkillDFreshness: D★ 12Claude Code +9 - 0.479score
compound-engineering
aegntic
Orchestration layer that coordinates Debt-Sentinel, Red Team Tribunal, and Spec-Lock into unified workflows.
SkillDFreshness: D★ 12Claude Code +9 - 0.479score
debt-sentinel
aegntic
Architectural pattern enforcer that prevents technical debt.
SkillDFreshness: D★ 12Claude Code +9 - 0.479score
ae-ltd-claude-template-switchboard
aegntic
Use when creating or upgrading CLAUDE.md instructions and selecting the right template baseline for repo size, architecture, and team constraints.
SkillDFreshness: D★ 12Claude Code +9 - 0.479score
ae-ltd-worktree-mesh
aegntic
Use when parallel branches are needed for feature work, hotfixes, or review fixes using git worktrees with minimal context switching.
SkillDFreshness: D★ 12Claude Code +9 - 0.479score
red-team-tribunal
aegntic
Multi-agent adversarial verification system.
SkillDFreshness: D★ 12Claude Code +9 - 0.479score
ae-ltd-mutation-gate
aegntic
Use when unit tests look green but confidence is low and mutation testing is needed to expose weak assertions.
SkillDFreshness: D★ 12Claude Code +9 - 0.479score
spec-lock
aegntic
Bi-directional code and documentation synchronizer.
SkillDFreshness: D★ 12Claude Code +9 - 0.479score
ae-ltd-context7-radar
aegntic
Use when coding decisions depend on current library/framework APIs and you need version-accurate docs before implementation.
SkillDFreshness: D★ 12Claude Code +9
Signals
- Stars
- 12
- Forks
- 3
- Open issues
- 0
- Last commit (this folder)
- Feb 13, 2026 (8 months ago)
- Last release
- Aug 13, 2025 (1 year ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/aegntic/cldcde
- Website
- cldcde.cc
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
- 0.475score
ReasoningBank with AgentDB
agenticdevops
Implement ReasoningBank adaptive learning with AgentDB's 150x faster vector database.
SkillDFreshness: D★ 19Claude Code +9 - 0.318score
ReasoningBank with AgentDB
anubhavg-icpl
Implement ReasoningBank adaptive learning with AgentDB's 150x faster vector database.
SkillCFreshness: C★ 11Claude Code +9 - 0.293score
ReasoningBank with AgentDB
Manojkumar7671
Implement ReasoningBank adaptive learning with AgentDB's 150x faster vector database.
SkillCFreshness: C★ 1Claude Code +9 - 0.251score
ReasoningBank with AgentDB
Geralt1983
Implement ReasoningBank adaptive learning with AgentDB's 150x faster vector database.
SkillDFreshness: D★ 1Claude Code +9
More from aegntic
- 0.544score
council
aegntic
Run a 5-adviser council to stress-test any decision.
SkillCFreshness: C★ 12Claude Code +9 - 0.484score
ae-ltd-skill-builder
aegntic
Create new Claude Code Skills with proper YAML frontmatter, progressive disclosure structure, and complete directory organization.
SkillDFreshness: D★ 12Claude Code +9 - 0.484score
ae-proof-agent
aegntic
Diligence-grade product and technical analysis for the ae.ltd proof-agent concept, including comparison against Cursor and Omnara, MVP and production…
SkillDFreshness: D★ 12Claude Code +9 - 0.479score
compound-engineering
aegntic
Orchestration layer that coordinates Debt-Sentinel, Red Team Tribunal, and Spec-Lock into unified workflows.
SkillDFreshness: D★ 12Claude Code +9 - 0.479score
ae-ltd-worktree-mesh
aegntic
Use when parallel branches are needed for feature work, hotfixes, or review fixes using git worktrees with minimal context switching.
SkillDFreshness: D★ 12Claude Code +9 - 0.479score
ae-ltd-claude-template-switchboard
aegntic
Use when creating or upgrading CLAUDE.md instructions and selecting the right template baseline for repo size, architecture, and team constraints.
SkillDFreshness: D★ 12Claude Code +9
Cite this page
ReasoningBank with AgentDB skill. Agent Mart. https://agentmart.dev/skills/aegntic-reasoningbank-with-agentdb (last updated 2026-10-24)