What problem does it solve? Agents that cannot learn from past executions repeat mistakes and rediscover solutions. This Skill implements ReasoningBank adaptive learning on AgentDB's vector database so agents can store experiences, judge outcomes, distill patterns, and retrieve relevant memories for better decisions. ## Core Features & Use Cases - Trajectory Tracking & Verdict Judgment: Record agent execution paths with outcomes and judge success by comparing against similar past trajectories. - Memory Distillation & Pattern Recognition: Consolidate similar experiences into reusable patterns using PatternMatcher, ContextSynthesizer, MemoryOptimizer, and ExperienceCurator reasoning modules. - Legacy Migration: Migrate existing ReasoningBank data from .swarm/memory.db with full backward compatibility for legacy APIs like retrieveMemories and judgeTrajectory. - Use Case: A coding agent stores each successful debugging session as an embedded pattern; when a similar bug appears, it retrieves the top-k matching experiences with synthesized context to guide its fix. ## Quick Start Initialize an AgentDB database with npx agentdb@latest init, then use the createAgentDBAdapter API to store and retrieve experience patterns for my agent.