# Install agentdb with npm

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. Version 3.0.0-alpha.16 via npm; verified 2026-05-30.

## Install

```sh
sudo av install npm:agentdb
```

Additional install commands:

### Portable and language managers

- npm (100%):

```sh
npm install -g agentdb
```

  Evidence: local npm package metadata

## Package facts

- **Package key:** npm:agentdb
- **Package manager:** npm
- **Package manager page:** <https://www.npmjs.com/package/agentdb>
- **Version:** 3.0.0-alpha.16
- **Source summary:** 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
- **Homepage:** <https://github.com/ruvnet/agentdb#readme>
- **Repository:** <https://github.com/ruvnet/agentdb>
- **Upstream docs:** <https://github.com/ruvnet/agentdb#readme>
- **License:** MIT
- **Source archive:** <https://registry.npmjs.org/agentdb/-/agentdb-3.0.0-alpha.16.tgz>
- **Issue tracker:** <https://github.com/ruvnet/agentdb/issues>
- **Published:** 2026-05-30T00:10:21.366Z
- **Last updated:** 2026-05-30T00:10:21.366Z
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- agentdb (cli)
- agentdb (alias)

## Dependencies

- @modelcontextprotocol/sdk
- @opentelemetry/api
- @ruvector/graph-transformer
- ajv
- jsonwebtoken
- sql.js

## Build dependencies

- @playwright/test
- @types/jsonwebtoken
- @types/node
- @types/uuid
- dotenv
- esbuild
- http-server
- playwright
- tsx
- typescript
- vitest

## Install behavior

- Post-install hook: defined
- Lifecycle scripts: postinstall
- Bottle: not available

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 3.0.0-alpha.16
- Package-manager updated: 2026-05-30
- Local data: ok
- Upstream repository: https://github.com/ruvnet/agentdb
- info: No cached GitHub release or tag data was available.

## Security Notes

No matching local secret-handling manifest was found for agentdb. Nucleus package metadata is still published here so future coverage has a stable package URL.


## Source Database Details

- **Source Database:** npm registry
- **Dist Tags:** Alpha: 3.0.0-alpha.11, Latest: 3.0.0-alpha.16, Next: 3.0.0-alpha.7
- **Version Count:** 115
- **Maintainers:** ruvnet
- **Author:** ruv
- **Publisher:** ruvnet
- **Engines:** Node: >=18.0.0
- **Optional Dependencies:** @opentelemetry/resources, @opentelemetry/sdk-node, @opentelemetry/semantic-conventions, @ruvector/attention, @ruvector/gnn, @ruvector/graph-node, @ruvector/router, @ruvector/ruvllm, @ruvector/rvf, @ruvector/rvf-node, @ruvector/rvf-solver, @ruvector/rvf-wasm, @ruvector/sona, @xenova/transformers, argon2, better-sqlite3, chalk, commander, hnswlib-node, inquirer, ruvector, ruvector-attention-wasm, ruvector-graph-transformer-wasm
- **Integrity:** sha512-hx5KildnxQ/mZaOaOKGHDe7OlDJmHoRV7sy5b4PpfjtHAE9dU0vzM7tpemZKPhnaRA89jxpKTutbnhux/JzgLg==
- **Shasum:** 22ca481ce93475cfd945193c07323431cd24e3da
- **Unpacked Size:** 4,594,370
- **File Count:** 0
- **Created At:** 2025-10-18T05:22:28.052Z
- **Latest Published At:** 2026-05-30T00:10:21.366Z
- **Modified At:** 2026-05-30T00:10:21.775Z


## Related links

- [Database and data packages](https://www.automicvault.com/pkg/database-data-tools/) - Matched curated package taxonomy and local package facts.
- [agentic-flow](https://www.automicvault.com/pkg/npm/agentic-flow/) - Executable or command metadata overlaps with this package. Shared terms: agent, agentdb, agentic, agents, ai.
- [ruvector](https://www.automicvault.com/pkg/npm/ruvector/) - Local metadata places this package in an adjacent workflow. Shared terms: ai, attention, database, gnn, graph.
- [claude-flow](https://www.automicvault.com/pkg/npm/claude-flow/) - Local package facts share a topical domain. Shared terms: agent, agents, ai, ai-agents, learning.

## Sources

- Nucleus package database
- package-page enrichment
- package version freshness
- package relationship graph
- cross-ecosystem install command graph
