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 to improve decision-making over time. ## Core Features & Use Cases - Trajectory Tracking & Verdict Judgment: Record agent execution paths with outcomes and judge success by comparing against similar past trajectories via vector similarity. - Memory Distillation & Pattern Recognition: Consolidate similar experiences into high-level patterns using reasoning modules like PatternMatcher, ContextSynthesizer, MemoryOptimizer, and ExperienceCurator. - Legacy Migration & Compatibility: Migrate existing ReasoningBank databases with the agentdb CLI while keeping the legacy API (retrieveMemories, judgeTrajectory, distillMemories) fully functional. - Use Case: A coding agent stores each successful API optimization as an embedded pattern; when facing a new N+1 query problem, it retrieves similar past fixes with synthesized context and applies the proven approach. ## Quick Start Initialize an AgentDB ReasoningBank database with the agentdb CLI, then store and retrieve experience patterns using the createAgentDBAdapter API from agentic-flow.