In short.
ReasoningBank with AgentDB is a skill for developers building AI agents that reuse past experiences, but its examples do not establish improved decisions or the advertised speed gains. It describes trajectory storage, similarity retrieval, outcome judgment and memory consolidation through AgentDB. The captured resource is an instruction file rather than the underlying implementation. No commands or examples were executed; current API compatibility, operating costs and real task outcomes remain unknown.
Researched and written by an AI model and checked by a second AI model. How it works
Coverage comprises the complete captured selected folder .claude/skills/reasoningbank-agentdb at revision 373a6c340312c86a6b42ded368f86f12570c34c5, represented by SKILL.md, plus the repository-level LICENSE supplied as an accompanying notice. No additional selected files or intervening notices appear in the manifest. Other repository content, installed dependencies, linked documentation and external services are outside this evidence. No installation, API call, migration, benchmark or agent task was executed; runtime behavior and compatibility remain unverified.
The overview
Identity
The resource is .claude/skills/reasoningbank-agentdb/SKILL.md in spencermarx/open-code-review. Its frontmatter names it ReasoningBank with AgentDB and presents it as guidance for adaptive agent memory. The original folder address is [https://github.com/spencermarx/open-code-review/tree/main/.claude/skills/reasoningbank-agentdb].
The selected folder contains one captured instruction file. AgentDB and agentic-flow supply the APIs it describes; their implementations are outside the captured scope.
Assessment
The skill offers a concrete starting point for adding a store of previous attempts to an existing agent. Its useful detail includes record fields, retrieval options, domain filters and migration commands. Developers still need to supply meaningful outcome judgments and verify that the documented APIs match their dependencies.
The file advertises large speedups and complete legacy compatibility without benchmark methods, environment details or compatibility results. These claims do not establish expected performance for a particular application.
Users
The intended users are developers building agents that repeatedly encounter related tasks, such as debugging or database optimization. Prior attempts can provide context for the next attempt when the stored outcomes are dependable.
Beginners can use the examples to understand agent memory, but implementation assumes command-line use, JavaScript or TypeScript, asynchronous APIs and embeddings. An embedding is a numeric representation used to find similar content. The source labels the material intermediate and treats reinforcement-learning knowledge as optional.
Capabilities
The examples cover storing action sequences and outcomes, retrieving similar experiences, filtering by domain and confidence, and creating higher-level patterns. They also describe migration, export, import and database statistics.
Four named modules are described: PatternMatcher for relevant memories, ContextSynthesizer for combined context, MemoryOptimizer for consolidation and pruning, and ExperienceCurator for quality filtering. Retrieval options include useMMR for diverse results, synthesizeContext, optimizeMemory and minConfidence. Their actual behavior and quality were not assessed.
Using it
Requirements
The documented prerequisites are Node.js 18 or newer and AgentDB v1.0.7 or newer via agentic-flow. The TypeScript examples import createAgentDBAdapter and computeEmbedding from agentic-flow/reasoningbank. Claude Code is relevant to the optional MCP integration.
The CLI example initializes a database with embedding dimension 1536. An implementation needs compatible embedding dimensions and a writable database location. The file does not identify the embedding model, provider, credentials, external-service requirements or complete dependency installation procedure.
Mechanism
The demonstrated process converts a query or action history into an embedding and stores it alongside structured experience data. Records include a type, domain, confidence, usage and success counters, and timestamps. Retrieval uses an embedding to request related records and optional synthesized context.
This demonstrates a memory retrieval pattern; it does not demonstrate changes to an underlying language model's weights. The hierarchy example manually assigns concrete, pattern and principle records. The cross-domain example changes domain labels on retrieved objects, without showing their persistence or successful transfer to another task.
Setup
The documented CLI starting point is npx agentdb@latest init ./.agentdb/reasoningbank.db --dimension 1536. The optional integration starts an AgentDB MCP server and registers it using claude mcp add agentdb npx agentdb@latest mcp.
The API example creates an adapter with a database path, enableLearning, enableReasoning and cacheSize options. Separate commands describe migrating .swarm/memory.db and checking database statistics. These instructions were not executed. Because the commands use @latest, they do not identify a reproducible package version matching the captured examples.
Example
A worked scenario records an API optimization trajectory: identify an N+1 query problem, add eager loading and add caching. N+1 describes a request pattern that performs additional database queries for individual results. The trajectory is embedded and stored under the api-optimization domain for later retrieval.
The scenario supplies latency values of 2500 before and 150 after as example data; they are not measurements established by the evidence. Similarly, the distillation example assigns a 0.92 success rate and 0.95 confidence directly. It does not calculate those values from the retrieved experiences.
Assessment & evidence
Limitations
The source claims 150 times faster pattern search, 500 times faster batch insertion and cached retrieval below one millisecond. It also advertises a broader speedup range and complete backward compatibility. No benchmark harness, hardware configuration, dataset, dependency lockfile or compatibility suite accompanies these claims.
The captured scope does not establish embedding quality, memory durability, concurrency behavior, pruning accuracy or deployment reliability. It also does not describe where embedding or synthesis requests are processed, how credentials are handled, or whether stored task content leaves the local environment.
Reasoning
The example verdict rule counts retrieved memories whose outcome is success and similarity exceeds 0.8, returning likely_success when more than five qualify. This is a heuristic based on stored labels. Similarity to past successes does not establish that a new attempt succeeded.
The displayed confidence is the first returned memory's similarity, and other examples supply confidence values manually. The evidence therefore does not establish calibrated confidence or automatic improvement. Useful adoption depends on independent outcome checks and evidence that retrieved memories help on the intended tasks.
Alternatives
The file presents two integration styles: an explicit adapter using insertPattern and retrieveWithReasoning, and legacy helpers named retrieveMemories, judgeTrajectory and distillMemories. It claims the legacy helpers automatically use AgentDB, but their equivalence was not assessed.
For a narrower implementation, the explicit examples suggest starting with trajectory storage and retrieval before enabling synthesis or pruning. This is an implementation option inferred from the examples. No competing memory products or comparative evaluations are supplied, so relative quality and cost remain unknown.
Evidence
The technical evidence is the captured SKILL.md at [https://raw.githubusercontent.com/spencermarx/open-code-review/373a6c340312c86a6b42ded368f86f12570c34c5/.claude/skills/reasoningbank-agentdb/SKILL.md]. It contains instructions, illustrative code and author claims. It contains no observed execution results.
The accompanying license is [https://raw.githubusercontent.com/spencermarx/open-code-review/373a6c340312c86a6b42ded368f86f12570c34c5/LICENSE]. Links inside the skill point to AgentDB and agentic-flow material, but their contents are outside the supplied evidence. The captured skill file's SHA-256 is d60a616ad0bbe90ce3907ea1047731ca45fb33704f4359a22f6723022b9ea255.
Access & freshness
Costs
Operating costs are unknown. The skill provides no pricing for embedding generation, context synthesis, model calls, hosting or support. It also gives no measured resource consumption from which to estimate those costs.
The accompanying Apache 2.0 license grants rights to the covered work without a license charge. That does not establish that separately installed dependencies or any services used by computeEmbedding or reasoning features are free.
Rights
The accompanying repository LICENSE supplies Apache License 2.0 and identifies Open Code Review Contributors with a 2026 copyright notice. Its terms permit use, modification and redistribution of covered material, subject to the license conditions.
Redistribution requires a license copy and retention of applicable notices; modified files need prominent change notices. Applicable attribution from a NOTICE file must also be preserved when one is included in the work. No separate NOTICE file appears in the supplied manifest. The material carries no warranty, and the supplied license does not establish terms for separately obtained dependencies or services.
Freshness
The captured source revision is 373a6c340312c86a6b42ded368f86f12570c34c5, acquired on 2026-11-15 at 22:33:59.227 UTC. This identifies the analyzed snapshot; it does not establish when the skill was last substantively maintained.
The skill's AgentDB minimum version and @latest commands do not establish compatibility with packages available today. Current releases, API exports, migration support and changes after the captured revision are unknown.
Actions
Before implementation, identify and pin compatible AgentDB and agentic-flow versions, confirm the documented exports and command syntax, and establish the embedding model, dimensions, processing location and cost. Begin with a small collection of independently labeled task outcomes.
Measure retrieval usefulness and task outcomes on representative work before relying on confidence values, automatic consolidation or the advertised speedups. For legacy migration, retain a backup and compare recovered records and domains. Adoption should depend on those results; no such execution evidence is supplied here.
