# 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.20 via npm; verified 2026-07-30. Also installable with winget: winget install --id Datacules.AgentDB -e.

## 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.20
- **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.20.tgz>
- **Issue tracker:** <https://github.com/ruvnet/agentdb/issues>
- **Published:** 2026-07-30T01:00:04.258Z
- **Last updated:** 2026-07-30T01:00:04.258Z
- **Generated:** 2026-08-04T22:13:35+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-08-04
- Package-manager version: 3.0.0-alpha.20
- Package-manager updated: 2026-07-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. 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.20, Latest: 3.0.0-alpha.20, Next: 3.0.0-alpha.7
- **Version Count:** 119
- **Maintainers:** ruvnet
- **Author:** ruv
- **Publisher:** ruvnet
- **Engines:** Node: >=18.0.0
- **Optional Dependencies:** @huggingface/transformers, @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, argon2, better-sqlite3, chalk, commander, hnswlib-node, inquirer, ruvector, ruvector-attention-wasm, ruvector-graph-transformer-wasm
- **Integrity:** sha512-ixjySLNWFDe3G6EiM1+0xKvVB9nWgeSMM7+hkgnQ4C5+trWfukDRYj3G/yU3l4xc/9vpAkLFQS389glsGbH0BQ==
- **Shasum:** d69e2dd5d3a7ffb25b98aba06a04ecfebfa65b57
- **Unpacked Size:** 4,708,909
- **File Count:** 0
- **Created At:** 2025-10-18T05:22:28.052Z
- **Latest Published At:** 2026-07-30T01:00:04.258Z
- **Modified At:** 2026-07-30T01:00:05.623Z

## Other Package-Manager Records

- winget - Datacules.AgentDB: normalized package name match | Windows Package Manager source index: Datacules.AgentDB from https://cdn.winget.microsoft.com/cache/source.msix


## Related links

- [MCP tool packages](https://pkg.so/mcp-tools/) - Matched curated package taxonomy and local package facts.
- [agentic-flow](https://pkg.so/npm/agentic-flow/) - Executable or command metadata overlaps with this package. Shared terms: agent, agentdb, agentic, agents, ai.
- [gitnexus](https://pkg.so/npm/gitnexus/) - Local package facts share a topical domain. Shared terms: agent, agents, ai, api, cli.
- [claude-flow](https://pkg.so/npm/claude-flow/) - Local package facts share a topical domain. Shared terms: agent, agents, ai, ai-agents, cli.

## Sources

- pkg.so package database
- package-page enrichment
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
