Agent skill · Databases

ReasoningBank with AgentDB

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.

rUv71,307★ · +1,002/wk · 3 repos on radarProfile →
claude-codecodexMIT
Install
npx skills add ruvnet/ruflo --skill reasoningbank-agentdb --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 1
SKILL.md size: 11 KB
Bundled scripts: none
Path: .agents/skills/reasoningbank-agentdb/SKILL.md
Open the folder on GitHub →
Where it comes from
Source: ruvnet/ruflo
Stars: 67,015 · +629 this week
Language: TypeScript
Read our review of the source →

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# 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 R

What's inside
Steps it walks through
  1. What This Skill Does
  2. Prerequisites
  3. Quick Start with CLI
  4. Initialize ReasoningBank Database
  5. Migrate from Legacy ReasoningBank
  6. Quick Start with API
  7. Core ReasoningBank Concepts
  8. 1. Trajectory Tracking
  9. 2. Verdict Judgment
  10. 3. Memory Distillation
  11. Integration with Reasoning Agents
  12. 1. PatternMatcher
  13. 2. ContextSynthesizer
  14. 3. MemoryOptimizer
Commands it runs
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
Automatic migration with validation
npx agentdb@latest migrate --source .swarm$memory.db
Verify migration
npx agentdb@latest stats ./.agentdb$reasoningbank.db
Export trajectories and patterns
More from ruflo
All skills →
About this skill
What does the ReasoningBank with AgentDB skill do?

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.

How do I install it?

Run `npx skills add ruvnet/ruflo --skill reasoningbank-agentdb --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From ruvnet/ruflo, a repository with 67,015 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going