Skip to content
ruvnet avatar

ReasoningBank With AgentDB

Adaptive learning memory layer that records trajectories, judges outcomes, and distills patterns on AgentDB.

CCM score
61 of 100
skills.sh installs
1.1K
GitHub stars
82.6K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers trajectory tracking, verdict judgment, memory distillation, and pattern recognition for self-learning agents
  • Provides a retrieveWithReasoning flow with PatternMatcher, ContextSynthesizer, MemoryOptimizer, and ExperienceCurator modules
  • Includes a legacy API shim (retrieveMemories, judgeTrajectory, distillMemories) that keeps existing ReasoningBank code working unchanged
  • Designed for building self-learning agents and experience replay systems on Node.js 18+ with AgentDB v1.0.7+

Install

$ npx -y skills add ruvnet/ruflo --skill 'ReasoningBank with AgentDB' -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

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

Details

Repository
github.com/ruvnet/ruflo
Categories
Memory & Context, AI Agents & LLM Apps
First seen
Jun 3, 2026

More from ruvnet/ruflo

All 236

Similar to ReasoningBank With AgentDB

More Memory & Context