What problem does it solve? Agents that cannot retain and learn from past experiences repeat mistakes and fail to improve over time. This Skill provides a ReasoningBank implementation backed by AgentDB's vector database so agents can store trajectories, judge outcomes, distill memories, and retrieve relevant patterns for better decision-making. ## Core Features & Use Cases - Trajectory Tracking & Verdict Judgment: Record agent execution paths with outcomes and judge whether new trajectories are likely to succeed based on similar past experiences. - Memory Distillation & Pattern Recognition: Consolidate similar experiences into high-level patterns using four reasoning modules (PatternMatcher, ContextSynthesizer, MemoryOptimizer, ExperienceCurator). - Legacy Migration: Migrate existing ReasoningBank data from .swarm/memory.db with 100% backward-compatible legacy APIs. - 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 MMR diversity and applies the proven fix approach. ## 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.