aiagent.club
中文
npm package

agentdb

Updated 2026-09-12 View source ↗

#51 of 203 by Downloads / week among npm packages

78.2k Downloads / week

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

About

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.

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…

Excerpted from www.npmjs.com/package/agentdb

Latest metrics

Downloads / week 78.2k 2026-09-12