Skip to content
PluginStats

agentdb weekly downloads statistics

By ruvnet (6 listings) · npm · MCP servers

Agent memory and vector database for AI agents: single-file HNSW search, episodic memory, causal graph, reinforcement learning and MCP tools.

View on npm Fresh · Dec 6, 2026

agentdb has 154,990 recorded weekly downloads on npm, a decrease of 5.8% over the past 30 days, ranking #568 of 3,247 tracked listings.

Weekly downloads
154,990
Official API · Dec 5, 2026
7-day growth
+23.0%
+29K weekly downloads
30-day growth
-5.8%
-9.5K weekly downloads
90-day growth
+81.3%
+69.5K weekly downloads
Rank
#568
▲ 15 in 7 days

About agentdb

<div align="center">

npm version npm downloads License TypeScript

🕸️ RuVector Engine 🧠 SONA Self-Learning 🔌 MCP Compatible ⭐ Star on GitHub

AgentDB

<!-- weaver:seo:flow:start -->

agentdb: agent event → episodic memory → HNSW recall → MCP tools

<!-- weaver:seo:flow:end -->

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

</div>

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.

<!-- ecosystem-cta:start -->
Explore the wider ecosystem

AgentDB: try ruOS. Conceptual project-to-destination animation.

Building agents that remember? Explore the wider ecosystem.

Explore Cognitum One · Try ruOS, an agentic desktop in your browser.

<!-- ecosystem-cta:end -->
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
Self-Learning Vector Memory

Agent ──► AgentDB (.rvf) ──► HNSW search ──► top-k results
   │                                              │
   ▼                                              ▼
recordFeedback(id, reward)  ◄──  agent uses some, ignores rest
   │
   ▼
Bandit re-tunes ranking / RL choice / compression  ──► next query is smarter

3 lines to self-learning search:

const backend = await SelfLearningRvfBackend.create({ learning: true, storagePath: "./my.rvf" });
const results = await backend.searchAsync(query, 10);   // search
backend.recordFeedback(results[0].id, 0.9);             // learn — next search is smarter

Quick Start

Node.js 20.9.0 or newer is required, matching the patched sharp runtime used by local Transformers embeddings and better-sqlite3 12. Node 18 is no longer supported.

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

npm libraryCLIMCP server
What you getTypeScript / JS API for any Node appagentdb binary, scriptable from any shell41 tools callable from Claude Code, Cursor, Cline, etc.
Installnpm i agentdbnpx agentdb … (no install)claude mcp add agentdb -- npx agentdb mcp start
Best forEmbedding the engine in your own codeQuick experiments, CI scripts, ad-hoc memoryPlugging memory + learning into an LLM agent
Path A — npm library
npm install agentdb
import { SelfLearningRvfBackend } from 'agentdb/backends/self-learning';

const db = await SelfLearningRvfBackend.create({
  dimension: 384,
  learning: true,
  storagePath: './memory.rvf',
});

// Use your embedding model here; any 384-dim Float32Array works.
const embedding = Float32Array.from({ length: 384 }, (_, i) => Math.sin(i));
await db.insertAsync('doc1', embedding, { text: 'Hello world' });
const hits = await db.searchAsync(embedding, 5);
db.recordFeedback(hits[0].id, 1.0);  // it was useful — db gets smarter
Path B — CLI in 10 seconds
# Try it without installing (creates ./agentdb.db)
npx agentdb init
npx agentdb reflexion store "session-1" "implement_auth" 0.95 true "Used OAuth2 with PKCE"
npx agentdb reflexion retrieve "authentication" --k 5
Path C — MCP server (Claude Code, Cursor, etc.)
claude mcp add agentdb -- npx agentdb@latest mcp start

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…

Description from the npm listing.

  • agent-memory
  • vector-database
  • ai-agents
  • mcp
  • self-learning
  • rag
  • agentdb
  • vector-search
  • agentic-ai
  • reinforcement-learning
  • provenance
  • hnsw
  • embeddings
  • semantic-search
  • graph-database
  • knowledge-graph

README badge

Show your rank in a README or on your website. The badge updates automatically.

Charts

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

Adoption over time

agentdb weekly downloads on npm, last 90 days: 154,990 weekly downloads as of Dec 5, 2026, +81.3% over 90 days.agentdbWeekly downloads on npm · Last 90 days154,990downloads / week+81.3% over 90 days050K100K150K200KSep 6Sep 21Oct 6Oct 21Nov 5Nov 20Dec 5downloads / weekobservedarchived (Internet Archive)no observationsSep 7, 2026 – Dec 5, 2026 · 90 observations · Updated Dec …pluginstats.com
agentdb weekly downloads on npm, last 90 days: 154,990 weekly downloads as of Dec 5, 2026, +81.3% over 90 days.

7/30/90-day growth

agentdb weekly downloads growth on npm: +23.0% over 7 days, -5.8% over 30 days, +81.3% over 90 days.agentdbWeekly downloads growth on npm154,990downloads / week now7-day growth+29,005 weekly downloads+23.0%30-day growth-9,510 weekly downloads-5.8%90-day growth+69,503 weekly downloads+81.3%Growth vs. nearest observation to each baseline date · Updated Dec 5, 2026pluginstats.com
agentdb weekly downloads growth on npm: +23.0% over 7 days, -5.8% over 30 days, +81.3% over 90 days.

Ranking history

agentdb npm ranking history: currently #568 (by weekly downloads).agentdbnpm ranking · by weekly downloads · Last 90 days#568current rank#500#520#540#560#580#600#620#640#660Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6rankOct 18, 2026 – Dec 6, 2026 · 44 observations · Updated Dec 5, 2026pluginstats.com
agentdb npm ranking history: currently #568 (by weekly downloads).

Listing placement

All npm3,247 listings · 163 pages · 1,083 shown · page 29, #8 (overall #568)
All npm: every listing in weekly downloads order

Listing placement

MCP servers468 listings · 24 pages · page 3, #18 (overall #58)
MCP servers: every listing in weekly downloads order

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.

Each band is one page of 20. Weekly downloads on a linear 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.

Recent observations

Full history (170)
Recent weekly downloads observations for agentdb
Date (UTC)Weekly downloadsChange vs. previous
154,990-14.3K
169,295+107
169,188-16.1K
185,289-13K
198,311+40.4K
157,935+32.4K
125,513-472
125,985+4.6K
121,381+2.3K
119,068+11.8K
107,248+15.3K
91,948-4.5K
96,496-432
96,928—

Similar npm MCP servers plugins

All 20 agentdb alternatives

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 Dec 6, 2026. See the methodology.