What problem does it solve?
ReasoningBank with AgentDB provides a unified framework to enable adaptive learning and sophisticated reasoning for AI agents by combining ReasoningBank patterns with AgentDB's fast vector backend.
Core Features & Use Cases
- Trajectory Tracking: record sequences of actions and outcomes to learn from real-world agent execution.
- Verdict Judgment: evaluate past trajectories to determine likely success and guide future decisions.
- Memory Distillation: condense vast experiences into high-level patterns for efficient reuse.
- AgentDB Integration: leverage high-performance vector storage for fast retrieval, reasoning, and scalability across domains.
Quick Start
Install and configure the environment, initialize ReasoningBank with AgentDB, and enable MCP integration to start using adaptive reasoning in your agents:
- Install Node.js 18+ and the required packages (agentic-flow, agentdb).
- Initialize ReasoningBank database:
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
- Optional migrations and stats:
npx agentdb@latest migrate --source .swarm/memory.db
npx agentdb@latest stats ./.agentdb/reasoningbank.db