Skip to content
PluginStats

agentdb weekly downloads statistics

By ruvnet (6 listings) · npm · MCP servers

Self-learning vector memory for AI agents — single-file .rvf cognitive container with HNSW search, episodic Reflexion memory, causal graph + Cypher, 9 RL algorithms, Thompson Sampling bandit, 41 MCP tools, hybrid (BM25 + dense) retrieval, GNN attention. 1

View on npm Fresh · Oct 17, 2026

agentdb has 54,463 recorded weekly downloads on npm, a decrease of 44.3% over the past 30 days.

It ranks #540 of 2,256 tracked npm listings by weekly downloads.

Over 90 days, weekly downloads changed by -57.6%.

PluginStats has 121 daily observations since Jun 19, 2026; the latest is from Oct 17, 2026.

Weekly downloads
54,463
Official API · Oct 17, 2026
7-day growth
-54.8%
-65.9K weekly downloads
30-day growth
-44.3%
-43.3K weekly downloads
90-day growth
-57.6%
-73.9K weekly downloads
Rank
#540
Among tracked npm listings

About agentdb

AgentDB

Vector memory that gets smarter every time your agent uses it.

A single-file cognitive container — vectors, indexes, learning state, and a cryptographic audit trail in one .rvf. Self-learning search improves up to 36% from feedback alone, with no manual tuning. Runs in Node, the browser, edge runtimes, and offline.

Why AgentDB?

Most vector databases store embeddings and call it done. AgentDB watches *which* results your agent actually used, learns from that signal, and ranks the next query better. The bandit underneath also picks the right RL algorithm, the right compression tier, and the right pattern weighting on its own — so the database itself gets sharper while you focus on the agent.

The name: a database that thinks like an agent — episodic memory, skill library, causal reasoning, and a learning loop, all in one file. Built by rUv on the ruvector Rust engine.

What AgentDB Does

3 lines to self-learning search:

Quick Start

There are three ways to use AgentDB depending on what you're building. Pick whichever matches your stack:

| | npm library | CLI | MCP server |

| What you get | TypeScript / JS API for any Node app | agentdb binary, scriptable from any shell | 41 tools callable from Claude Code, Cursor, Cline, etc. | | Install | npm i agentdb | npx agentdb … (no install) | claude mcp add agentdb -- npx agentdb mcp start | | Best for | Embedding the engine in your own code | Quick experiments, CI scripts, ad-hoc memory | Plugging memory + learning into an LLM agent |

Path A — npm library

Path B — CLI in 10 seconds

Path C — MCP server (Claude Code, Cursor, etc.)

That registers 41 MCP tools — agentdb_pattern_store, agentdb_pattern_search, agentdb_hierarchical_store, agentdb_causal_edge, agentdb_skill_library, agentdb_reflexion, etc. They call the same engine the npm library does, just over Claude's tool-calling surface.

What You Get

| Capability | Description |

| 🧠 Self-Learning Search | Up to +36% search quality from feedback alone — Thompson Sampling bandit re-tunes ranking, RL choice, and compression tier with zero manual config | | 🐝 Cognitive Memory | 6 human-inspired patterns — episodic replay (Reflexion), skill library, causal reasoning, hierarchical context, semantic clustering, working memory | | 🤖 9 RL Algorithms | Q-Learning, SARSA, DQN, PPO, Actor-Critic, Policy Gradient, Decision Transformer, MCTS, Model-Based RL — bandit picks the right one per task | | ⚡ 150× faster than SQLite | RuVector Rust engine via NAPI bindings; HNSW vector search; sub-millisecond reads on 100k+ vectors | | 🔍 Hybrid Search | BM25 keyword + dense vector fused with Reciprocal Rank Fusion — exact terms *and* semantic intent in one query | | 🕸️ Graph Intelligence | Cypher queries, causal edges, GNN 8-head attention (+12.4% recall), hyperedges for n-ary relationships | | 💾 Single-file Storage | Everything (vectors, indexes, learning state, audit log) in one .rvf "Cognitive Container" — no servers, no API keys, no monthly bills | | 🎯 Quantization | 4-32× memory reduction with PQ8 / PQ4 / binary quantization; minimal recall loss; runs on commodity hardware | | 🔌 41 MCP Tools | First-class Claude Code / Cursor / Cline integration — pattern store, search, skill library, reflexion, causal edges, hierarchical recall, delete | | 🌐 Runs Anywhere | Node, browser (WASM), edge runtimes, fully offline — same API, same .rvf file | | 🛡️ Enterprise Security | JWT auth, API key rotation, Argon2id hashing, SOC2 / GDPR audit trails, cryptographic witness chain | | 🔗 agentic-flow Integration | Drop-in for agentic-flow — backs ReasoningBank, MemoryController, NightlyLearner, and 30+ agents |

🧠 Self-Learning Loop

Most retrieval systems are read-only. AgentDB closes the loop:

The bandit isn't a gimmick — it's used at four decision points:

1. Pattern ranking — which historical pattern matches this new query best? 2. RL algorithm selection — Q-Learning for tabular tasks, PPO for continuous control, MCTS for planning, etc. 3. Compression tier — full precision when accuracy matters, PQ4 when memory does. 4. Skill composition — chain skill A→B→C or skill A→D→E?

Each decision logs reward over time. Bad arms decay fast. Good arms stick.

⚡ Performance

| Metric | AgentDB | Baseline | Source |

| Vector search (100k vectors) | Pattern Store / Search (8 tools)

| Tool | Purpose |

| agentdb_pattern_store | Store a successful pattern with embedding + metadata | | agentdb_pattern_search | Semantic search for similar past patterns | | agentdb_pattern_stats | Retrieval stats, cache hits, hit-rate trends | | agentdb_pattern_delete | Remove a pattern by id | | agentdb_batch_insert | Bulk insert many patterns at once | | agentdb_batch_search | Parallel multi-query search | | agentdb_export | Dump patterns to JSON / CSV | | agentdb_import | Load patterns from JSON / CSV |

Hierarchical / Causal Memory (10 tools)

| Tool | Purpose |

| agentdb_hierarchical_store | Tier-aware memory store (working / short / long) | | agentdb_hierarchical_recall | Tier-filtered retrieval | | agentdb_hierarchical_delete | Remove hierarchical entry by key | | agentdb_causal_edge | Add a causal relationship between memories | | agentdb_causal_edge_delete | Remove a causal edge by id | | agentdb_causal_node_delete | Cascade-delete a node + incident edges | | agentdb_edges_by_endpoints | Bulk-delete edges by (from, to, label) | | agentdb_causal_query | Cypher-like graph queries | | agentdb_causal_explain | Explain why two memories are connected | | agentdb_attestation_log | Cryptographic audit trail |

Reflexion + Skill Library (12 tools)

| Tool | Purpose |…

Description from the npm listing.

  • agentdb
  • vector-database
  • vector-store
  • vector-search
  • ai-agents
  • agent-memory
  • agentic-ai
  • agentic
  • agent-database
  • memory
  • self-learning
  • self-improving
  • reinforcement-learning
  • rl
  • thompson-sampling
  • bandit
  • causal-reasoning
  • causal-graph
  • reflexion
  • episodic-memory

Where agentdb sits in the listing

Each band is one page of 20. Weekly downloads on a log scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.

All npm2,256 listings · 113 pages · page 27, #20 (overall #540)
All npm: every listing in weekly downloads order
PNG SVG
MCP servers255 listings · 13 pages · page 3, #12 (overall #52)
MCP servers: every listing in weekly downloads order
PNG SVG

Charts

Images: 30d · 1y · all time · 1600×900 dark

Adoption over time

agentdb weekly downloads on npm, last 90 days: 54,463 weekly downloads as of Oct 17, 2026, -57.6% over 90 days.agentdbWeekly downloads on npm · Last 90 days54,463downloads / week-57.6% over 90 days020K40K60K80K100K120K140K160K180KJul 19Aug 3Aug 18Sep 2Sep 17Oct 2Oct 17downloads / weekobservedarchived (Internet Archive)no observationsJul 21, 2026 – Oct 17, 2026 · 89 observations · Updated Oc…pluginstats.com
agentdb weekly downloads on npm, last 90 days: 54,463 weekly downloads as of Oct 17, 2026, -57.6% over 90 days.
PNG SVG

7/30/90-day growth

agentdb weekly downloads growth on npm: -54.8% over 7 days, -44.3% over 30 days, -57.6% over 90 days.agentdbWeekly downloads growth on npm54,463downloads / week now7-day growth-65,905 weekly downloads-54.8%30-day growth-43,264 weekly downloads-44.3%90-day growth-73,937 weekly downloads-57.6%Growth vs. nearest observation to each baseline date · Updated Oct 17, 2026pluginstats.com
agentdb weekly downloads growth on npm: -54.8% over 7 days, -44.3% over 30 days, -57.6% over 90 days.
PNG SVG

Ranking history

agentdb npm ranking history: currently #540 (by weekly downloads).agentdbnpm ranking · by weekly downloads · Last 90 days#540current rank#538#539#540#541#542Jul 21Aug 5Aug 20Sep 4Sep 19Oct 4Oct 19rankOct 18, 2026 – Oct 19, 2026 · 2 observations · Updated Oct 17, 2026pluginstats.com
agentdb npm ranking history: currently #540 (by weekly downloads).
PNG SVG

Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.

Recent observations

Full history (121)
Recent weekly downloads observations for agentdb
Date (UTC)Weekly downloadsChange vs. previous
54,463-20.6K
75,018+39
74,979-15.4K
90,417-23.6K
114,0340
114,034-6.4K
120,470+102
120,368+642
119,726-2.9K
122,601-1.7K
124,283+7.3K
116,958-30.2K
147,198-7.7K
154,897—

Similar npm MCP servers plugins

Data source

Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.

Listing: https://www.npmjs.com/package/agentdb. First seen Oct 16, 2026; last successful collection Oct 19, 2026. See the methodology.