Skip to content
ruvnet avatar

AgentDB Memory Patterns

Persistent memory patterns for AI agents covering session history, long-term facts, and learned patterns.

CCM score
59 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 session memory, long-term fact storage, pattern learning, and hierarchical context management backed by AgentDB
  • Includes CLI commands for init, MCP server setup, query, import, export, and stats, plus a plugin wizard with 5 learning templates
  • Provides a ReasoningBank adapter with migration from legacy storage, MMR-based retrieval, and quantization options (binary, scalar, product, none)
  • Designed for building stateful agents, chat systems, and intelligent assistants that must retain context across sessions

Install

$ npx -y skills add ruvnet/ruflo --skill 'AgentDB Memory Patterns' -y

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

Files

AgentDB Memory Patterns

What This Skill Does

Provides memory management patterns for AI agents using AgentDB's persistent storage and ReasoningBank integration. Enables agents to remember conversations, learn from interactions, and maintain context across sessions.

Performance: 150x-12,500x faster than traditional solutions with 100% backward compatibility.

Prerequisites

  • Node.js 18+
  • AgentDB v1.0.7+ (via agentic-flow or standalone)
  • Understanding of agent architectures

Quick Start with CLI

Initialize AgentDB

# Initialize vector database
npx agentdb@latest init .$agents.db

# Or with custom dimensions
npx agentdb@latest init .$agents.db --dimension 768

# Use preset configurations
npx agentdb@latest init .$agents.db --preset large

# In-memory database for testing
npx agentdb@latest init .$memory.db --in-memory

Start MCP Server for Claude Code

# Start MCP server (integrates with Claude Code)
npx agentdb@latest mcp

# Add to Claude Code (one-time setup)
claude mcp add agentdb npx agentdb@latest mcp

Create Learning Plugin

# Interactive plugin wizard
npx agentdb@latest create-plugin

Details

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

More from ruvnet/ruflo

All 236

Similar to AgentDB Memory Patterns

More Memory & Context