AgentDB Memory Patterns
Implement persistent memory patterns for AI agents using AgentDB.
Skill by aegntic
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/aegntic-agentdb-memory-patterns
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions: not checked yet.
What's inside
- Skill name
AgentDB Memory Patterns- Description
- Implement persistent memory patterns for AI agents using AgentDB. Includes session memory, long-term storage, pattern learning, and context management. Use when building stateful agents, chat systems, or intelligent assistants.
- License
- MIT
- Instructions
- 336 lines in SKILL.md · view on GitHub
Agent Skills spec issues
- name: only lowercase letters, digits and single hyphens allowed
- name: "AgentDB Memory Patterns" does not match folder "agentdb-memory-patterns"
Files (1)
- SKILL.md
SKILL.md (first lines)
# 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
```bash
# 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
```bash
# 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
```bash
# Interactive plugin wizard
npx agentdb@latest create-plugin
# Use template directly
npx agentdb@latest create-plugin -t decision-transformer -n my-agent
# Available templates:
# - decision-transformer (sequence modeling RL)
# - q-learning (value-based learning)
# - sarsa (on-policy TD learning)
# - actor-critic (policy gradient)
# - curiosity-driven (exploration-based)
```
## Quick Start with API
```typescript
import { createAgentDBAdapter } from 'agentic-flow/reasoningbank';
// Initialize with default configuration
const adapter = await createAgentDBAdapter({
dbPath: '.agentdb/reasoningbank.db',
enableLearning: true, // Enable learning plugins
enableReasoning: true, // Enable reasoning agents
quantizationType: 'scalar', // binary | scalar | product | none
cacheSize: 1000, // In-memory cache
});
// Store interaction memory
const patternId = await adapter.insertPattern({
id: '',
type: 'pattern',
domain: 'conversation',
pattern_data: JSON.stringify({
embedding: await computeEmbedding('What is the capital of France?'),
pattern: {
user: 'What is the capital of France?',
assistant: 'The capital of France is Paris.',
timestamp: Date.now()
}
}),
confidence: 0.95,
usage_count: 1,
success_count: 1,
created_at: Date.now(),
last_used: Date.now(),
});
// Retrieve context with reasoning
const context = await adapter.retrieveWithReasoning(queryEmbedding, {
domain: 'conversation',
k: 10,
useMMR: true, // Maximal Marginal Relevance
synthesizeContext: true, // Generate rich context
});
```
## Memory Patterns
### 1. Session Memory
```typescript
class SessionMemory {
async storeMessage(role: string, content: string) {
return await db.storeMemory({
sessionId: this.sessionId,
role,
content,
timestamp: Date.now()
});
}
async getSessionHistory(limit = 20) {
return await db.query({
filters: { sessionId: this.sessionId },From aegntic/cldcde, MIT.
More from aegntic/cldcde
- 0.544score
council
aegntic
Run a 5-adviser council to stress-test any decision.
SkillCFreshness: C★ 12Claude Code +9 - 0.484score
ae-ltd-skill-builder
aegntic
Create new Claude Code Skills with proper YAML frontmatter, progressive disclosure structure, and complete directory organization.
SkillDFreshness: D★ 12Claude Code +9 - 0.484score
ae-proof-agent
aegntic
Diligence-grade product and technical analysis for the ae.ltd proof-agent concept, including comparison against Cursor and Omnara, MVP and production…
SkillDFreshness: D★ 12Claude Code +9 - 0.479score
ae-ltd-visual-regression-forge
aegntic
Use when UI changes must be proven safe across breakpoints using baseline and diff workflows.
SkillDFreshness: D★ 12Claude Code +9 - 0.479score
compound-engineering
aegntic
Orchestration layer that coordinates Debt-Sentinel, Red Team Tribunal, and Spec-Lock into unified workflows.
SkillDFreshness: D★ 12Claude Code +9 - 0.479score
debt-sentinel
aegntic
Architectural pattern enforcer that prevents technical debt.
SkillDFreshness: D★ 12Claude Code +9 - 0.479score
ae-ltd-claude-template-switchboard
aegntic
Use when creating or upgrading CLAUDE.md instructions and selecting the right template baseline for repo size, architecture, and team constraints.
SkillDFreshness: D★ 12Claude Code +9 - 0.479score
ae-ltd-worktree-mesh
aegntic
Use when parallel branches are needed for feature work, hotfixes, or review fixes using git worktrees with minimal context switching.
SkillDFreshness: D★ 12Claude Code +9 - 0.479score
red-team-tribunal
aegntic
Multi-agent adversarial verification system.
SkillDFreshness: D★ 12Claude Code +9 - 0.479score
ae-ltd-mutation-gate
aegntic
Use when unit tests look green but confidence is low and mutation testing is needed to expose weak assertions.
SkillDFreshness: D★ 12Claude Code +9 - 0.479score
spec-lock
aegntic
Bi-directional code and documentation synchronizer.
SkillDFreshness: D★ 12Claude Code +9 - 0.479score
ae-ltd-context7-radar
aegntic
Use when coding decisions depend on current library/framework APIs and you need version-accurate docs before implementation.
SkillDFreshness: D★ 12Claude Code +9
Signals
- Stars
- 12
- Forks
- 3
- Open issues
- 0
- Last commit (this folder)
- Feb 13, 2026 (8 months ago)
- Last release
- Aug 13, 2025 (1 year ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/aegntic/cldcde
- Website
- cldcde.cc
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
- 0.475score
AgentDB Memory Patterns
agenticdevops
Implement persistent memory patterns for AI agents using AgentDB.
SkillDFreshness: D★ 19Claude Code +9 - 0.352score
AgentDB Memory Patterns
lilinji
Implement persistent memory patterns for AI agents using AgentDB.
SkillBFreshness: B★ 16Claude Code +9 - 0.323score
AgentDB Memory Patterns
AlphaSaleAidan
Implement persistent memory patterns for AI agents using AgentDB.
SkillBFreshness: B★ 1Claude Code +9 - 0.318score
AgentDB Memory Patterns
anubhavg-icpl
Implement persistent memory patterns for AI agents using AgentDB.
SkillCFreshness: C★ 11Claude Code +9 - 0.304score
AgentDB Memory Patterns
harshvardhankulkarni
Implement persistent memory patterns for AI agents using AgentDB.
SkillBFreshness: BClaude Code +9 - 0.293score
AgentDB Memory Patterns
Manojkumar7671
Implement persistent memory patterns for AI agents using AgentDB.
SkillCFreshness: C★ 1Claude Code +9 - 0.277score
AgentDB Memory Patterns
yycholla
Implement persistent memory patterns for AI agents using AgentDB.
SkillCFreshness: CClaude Code +9 - 0.251score
AgentDB Memory Patterns
Geralt1983
Implement persistent memory patterns for AI agents using AgentDB.
SkillDFreshness: D★ 1Claude Code +9
More from aegntic
- 0.544score
council
aegntic
Run a 5-adviser council to stress-test any decision.
SkillCFreshness: C★ 12Claude Code +9 - 0.484score
ae-ltd-skill-builder
aegntic
Create new Claude Code Skills with proper YAML frontmatter, progressive disclosure structure, and complete directory organization.
SkillDFreshness: D★ 12Claude Code +9 - 0.484score
ae-proof-agent
aegntic
Diligence-grade product and technical analysis for the ae.ltd proof-agent concept, including comparison against Cursor and Omnara, MVP and production…
SkillDFreshness: D★ 12Claude Code +9 - 0.479score
compound-engineering
aegntic
Orchestration layer that coordinates Debt-Sentinel, Red Team Tribunal, and Spec-Lock into unified workflows.
SkillDFreshness: D★ 12Claude Code +9 - 0.479score
ae-ltd-worktree-mesh
aegntic
Use when parallel branches are needed for feature work, hotfixes, or review fixes using git worktrees with minimal context switching.
SkillDFreshness: D★ 12Claude Code +9 - 0.479score
ae-ltd-claude-template-switchboard
aegntic
Use when creating or upgrading CLAUDE.md instructions and selecting the right template baseline for repo size, architecture, and team constraints.
SkillDFreshness: D★ 12Claude Code +9
Cite this page
AgentDB Memory Patterns skill. Agent Mart. https://agentmart.dev/skills/aegntic-agentdb-memory-patterns (last updated 2026-10-24)