AgentVault

docs / introduction

One memory for every agent

AgentVault is a shared memory layer. Any model, agent or tool reads and writes the same memory, and every memory records who wrote it.

You connect agents with an API key. They remember facts into spaces and recall them with hybrid search. When a fact changes, the new version supersedes the old one and the history is kept.

Quickstart

1. Get a key. Sign up, open the console, and create a key under API keys. Grant it read or read + write on the spaces it needs. The secret is shown once.

2. Remember something. Send who is writing with the source field (or X-AgentVault-Agent headers):

remember
curl https://api.useagentvault.com/v1/memories \
  -H "Authorization: Bearer $AGENTVAULT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "content": "Deploys go out on Tuesdays and Thursdays after 14:00 GST.",
    "key": "deploy.window",
    "tags": ["deploys", "process"],
    "source": { "agent": "claude-code", "model": "claude-opus-5-5", "provider": "anthropic", "app": "Claude Code" }
  }'

3. Recall it from another agent. A different model gets the same fact back, with the writer attached:

recall
curl https://api.useagentvault.com/v1/recall \
  -H "Authorization: Bearer $AGENTVAULT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "query": "when do we deploy?" }'

# → { "context": "- Deploys go out on Tuesdays and Thursdays after 14:00 GST. [Acme engineering; claude-code / claude-opus-5-5; 2026-11-21]",
#     "results": [ { "memory": { … }, "score": 0.83, "scores": { "semantic": 0.91, "keyword": 0.74, "recency": 0.98 } } ] }

Running it locally

The API runs from the AgentVault-api repo with pnpm --filter @agentvault/api dev. A fresh database seeds a demo account and prints its key. See Self-host.

Where to go next

Read the concepts (spaces, provenance, hybrid search, temporal facts), wire up your MCP client, or go straight to the API reference.