Skip to content
PluginStats

agent-memory-hub weekly downloads statistics

By zhiwuli0228 · npm · Claude Code

Agent memory bridge — local-first, human-approved, file-native long-term memory for AI coding agents (Claude Code, Codex, opencode, gemini, DSH). One local service, every agent shares it.

View on npm Stale · Dec 2, 2026

agent-memory-hub has 6,648 recorded weekly downloads on npm, a change of +76.6% over the past 7 days, ranking #1425 of 3,247 tracked listings.

Weekly downloads
6,648
Official API · Dec 5, 2026
7-day growth
+76.6%
+2.9K weekly downloads
30-day growth
—
Insufficient history
90-day growth
—
Insufficient history
Rank
#1425
Among tracked npm listings

About agent-memory-hub

agent-memory-hub

Agent memory bridge — local-first, human-approved, file-native long-term memory for AI coding agents.

One local service. Every agent shares it. Claude Code, Codex, opencode, gemini-cli, DSH — anything that speaks MCP or a shell.

It is

  • Local-first — your memory lives in plain Markdown files you own (knowledge/), versioned in history/, git-friendly. No cloud required. No black-box database.
  • Human-approved — agents can propose memories; only you can commit them. Every stored fact is traceable: who approved it, when, and from which conversation.
  • File-native — Markdown + YAML frontmatter + JSONL ledger. Open it, diff it, grep it, back it up with git.
  • Cross-host by design — one MCP server + one CLI (memhub) + one optional local dashboard, all backed by the same files. Register once, every agent shares the same memory.
  • Scoped — project → domain → global knowledge hierarchy with ancestor-chain search. Each agent sees exactly the layers it should.
  • Scheduled distillation — a configurable schedule (quiet-window, model, scope, thresholds) turns recent events into a review batch; a separate 蒸馏审核 queue keeps batch review apart from everyday proposals. See ADR-0031.

Install

DSH plugin (DeepSeek Harness users):

install_bundle dsh-agent-memory-hub

Tool surface: 9 memory_* tools (search / get / status / propose / preflight / cite / close-task / dejavu / distill). Runtime is zero-network — a dead remote never degrades your host. Details: host/dsh/README.md · 部署对接指南.

Memory root (global) — zero-config, or set it explicitly

The hub root is one global directory, not per-session and not a distillation setting: every tool, the dashboard, and every scheduled batch read/write the same root.

Resolution order (ADR-0032): config.root → $MEMHUB_ROOT → nearest initialized hub at or above the host cwd → ~/mem-hub. The plugin initializes the resolved root on first activation (autoInit default true), so a fresh install works without any CLI. Set autoInit: false to keep it read-only.

DSH: Settings → Plugins → Agent Memory Hub (bundle) → the 记忆中枢 plugin row → Configure. Set root to an absolute path, e.g. D:\mem\my-hub; panelPort, toolConflict, autoInit, and distillSchedule live on the same page. The row configuration is global (one hub for all sessions). DSH-only installs need no memhub CLI; only non-DSH hosts need it (npm i -g agent-memory-hub or npx agent-memory-hub).

The dashboard exposes the same value at Settings (top-level tab) → 记忆根目录(全局); migration is there too, not under Distillation.

One-click migration (dashboard): Settings → 记忆根目录(全局)→ new absolute path → 迁移并切换. It copies and verifies the whole hub, updates the DSH plugin root, then reloads; the old directory is kept as a backup.

CLI (non-DSH hosts; install it first):

memhub migrate --from D:\mem\old-hub --to D:\mem\new-hub   # copy + verify, keep old
memhub migrate --from D:\mem\old-hub --to D:\mem\new-hub --move  # delete old after verify

After migration point every other host at the new path with memhub mcp --root <new> or memhub install <host> --root <new>. Prefer per-command --root; do not set a machine-wide MEMHUB_ROOT — it is only a legacy fallback and ignored whenever the DSH plugin has an explicit root. Full guide: docs/03-usage/configure-root-and-migrate.md.

Not on DSH? The same batch runs on multica / cron / CI through memhub mcp or memhub distill prompt — see portable-scheduler.md.

CLI / MCP server (Claude Code, OpenCode, Codex, gemini-cli, any MCP host):

npm i -g agent-memory-hub
memhub mcp --root <hub>       # register in any MCP client
memhub extract material       # scheduled-extraction material for any workflow platform
memhub distill due            # exit 0 when a scheduled distillation run is owed
memhub distill prompt         # self-contained task prompt for multica / cron / CI
memhub propose --input p.json # create PENDING candidates (no MCP required; never commits)
memhub publish                # publish approved entries to your team's memory-hub API (ADR-0015)

Team memory-hub service: implement or deploy docs/02-spec/memory-hub-api-v1.md (reference server included: examples/memory-hub-server.mjs).

Status

🚧 Under active development (this repo was founded 2026-11-15). The stable, working edition of the same memory format is dsh-memory-hub (DSH plugin, v0.8.x). agent-memory-hub generalizes it into a standalone cross-host service; the first stable release targets 0.1.0.

Design principles

Four invariants (see AGENTS.md):

  1. Files are the authority, not a cache.
  2. Humans approve; agents propose. Never self-commit.
  3. Plain text only — readable, diffable, migratable.
  4. Zero network by default.

Eight day-zero architecture decisions in docs/01-architecture/decisions/ADR-0001-day-zero-principles.md.

Roadmap

StepDeliverable
1 ✅Repo skeleton, invariants, format contract tests
2core — storage, retrieval (BM25), workspace pyramid registry
3transport — MCP stdio + CLI, re-verified on four hosts
4Approval + ledger + local dashboard (memhub serve)
5Injector / extractor first-class commands (memhub pack / hook / extract)

License

MIT

Description from the npm listing.

  • agent-memory
  • agent-memory-bridge
  • memory
  • mcp
  • mcp-server
  • claude-code
  • codex
  • opencode
  • cross-host
  • local-first
  • knowledge-base
  • long-term-memory

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

agent-memory-hub weekly downloads on npm, last 90 days: 6,648 weekly downloads as of Dec 5, 2026.agent-memory-hubWeekly downloads on npm · Last 90 days6,648downloads / week02K4K6K8K10KSep 6Sep 21Oct 6Oct 21Nov 5Nov 20Dec 5downloads / weekobservedarchived (Internet Archive)no observationsSep 7, 2026 – Dec 5, 2026 · 90 observations · Updated Dec …pluginstats.com
agent-memory-hub weekly downloads on npm, last 90 days: 6,648 weekly downloads as of Dec 5, 2026.

7/30/90-day growth

agent-memory-hub weekly downloads growth on npm: +76.6% over 7 days, 30-day growth unavailable, 90-day growth unavailable.agent-memory-hubWeekly downloads growth on npm6,648downloads / week now7-day growth+2,883 weekly downloads+76.6%30-day growth+6,648 weekly downloadsInsufficient history90-day growth+6,648 weekly downloadsInsufficient historyGrowth vs. nearest observation to each baseline date · Updated Dec 5, 2026pluginstats.com
agent-memory-hub weekly downloads growth on npm: +76.6% over 7 days, 30-day growth unavailable, 90-day growth unavailable.

Ranking history

agent-memory-hub npm ranking history: currently #1425 (by weekly downloads).agent-memory-hubnpm ranking · by weekly downloads · Last 90 days#1425current rank#1260#1280#1300#1320#1340#1360#1380#1400#1420#1440Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6rankDec 2, 2026 – Dec 6, 2026 · 3 observations · Updated Dec 5, 2026pluginstats.com
agent-memory-hub npm ranking history: currently #1425 (by weekly downloads).

Listing placement

All npm3,247 listings · 163 pages · 1,084 shown · page 72, #5 (overall #1,425)
All npm: every listing in weekly downloads order

Listing placement

Claude Code614 listings · 31 pages · page 7, #2 (overall #122)
Claude Code: 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 (121)
Recent weekly downloads observations for agent-memory-hub
Date (UTC)Weekly downloadsChange vs. previous
6,648-2.2K
8,856+174
8,682+408
8,274-2
8,276+555
7,721+2.1K
5,660+1.9K
3,765+1.4K
2,398-149
2,547-1.3K
3,869-2.4K
6,233-58
6,291+262
6,029—

Similar npm Claude Code plugins

All 20 agent-memory-hub 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/agent-memory-hub. First seen Dec 2, 2026; last successful collection Dec 2, 2026. See the methodology.