
ReasoningBank With AgentDB
This implements the ReasoningBank pattern for agents that learn from experience, using AgentDB's vector database as the backend. You get trajectory tracking to record sequences of actions, verdict judgment to evaluate outcomes, and memory distillation to consolidate similar experiences into reusable patterns. The performance claims are aggressive (150x faster retrieval, sub-millisecond memory access) and it maintains backward compatibility with legacy ReasoningBank databases. Useful if you're building agents that need to remember what worked before, like optimization tasks or repeated problem-solving where past solutions inform future decisions. The API is straightforward: store patterns with embeddings, retrieve similar experiences, let the system consolidate memories over time.
- GitHub stars
- 240
- last updated
- Jun 11, 2026
Install
$ npx -y skills add spencermarx/open-code-review --skill 'ReasoningBank with AgentDB' --agent claude-codeInstalls into .claude/skills of the current project.
Files
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
# 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
# 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
Sponsors
Details
- Repository
- github.com/spencermarx/open-code-review
- Categories
- Backend & APIs, Git & Pull Requests, Code Review & Quality, AI & Agent Building, Productivity & Planning, Databases
- License
- Apache-2.0
- First seen
- Jun 11, 2026
More from spencermarx/open-code-review
All 31- ReasoningBank Intelligence
- Skill Builder
- Sparc Methodology
- Stream Chain
- Swarm Advanced
- Swarm Orchestration
- V3 CLI Modernization
- V3 Core Implementation
- V3 DDD Architecture
- V3 Deep Integration
- V3 MCP Optimization
- V3 Memory Unification
- V3 Performance Optimization
- V3 Security Overhaul
- V3 Swarm Coordination
- Verification & Quality Assurance
- AgentDB Advanced Features
- AgentDB Learning Plugins
- AgentDB Memory Patterns
- AgentDB Performance Optimization
- AgentDB Vector Search
- Browser
- Github Code Review
- Github Multi Repo