AgentVault

AgentVault — это общая долговременная память для ИИ-агентов. Claude, GPT, Gemini, модели с открытым исходным кодом, Claude Code, Cursor и пользовательские агенты читают и записывают данные в одну память через MCP (Streamable HTTP), REST или SDK. Для каждой записи в памяти фиксируется, какой агент, модель и приложение её создали, а новые факты заменяют старые с сохранением истории.

Размещённый MCP-сервер

npx add-mcp 'https://api.useagentvault.com/mcp'

Устанавливается в Claude Code, Codex, Cursor и другие

Документация

How it works

The API serves MCP over Streamable HTTP at /mcp. Authenticate with an API key; the client’s name (for example claude-code) is recorded as the writer of every memory it saves.

Tools

remember · recall · search · list_memories · get_memory · update_memory · forget · list_spaces · create_space · import_memories · facts · briefing · learn_rule. The server also tells the agent to recall at the start of a task and to remember durable facts, never secrets.

Knowledge graph

remember takes optional facts as subject, predicate and object, for example repo:acme · deploys_to · Cloud Run. When a new value replaces an old one, AgentVault retires the old fact and tells the agent what changed, so nothing stale gets recalled. Use many: true for relations with several values, and confidence: "inferred" for an agent’s own guesses, which always rank below stated facts. The facts tool answers “what is true now”, “what uses X” and, with as_of, “what was true then”. See them all in the console under Knowledge.

Coding agents: rules and briefings

learn_rule saves how code is written in a repo, scoped to paths, for example payments/ · “Never retry a charge without an idempotency key”. Saving the same rule again makes it stronger. Before changing code, an agent calls briefing with the repo and the files it will touch, and gets only the rules for those files, must-follow first, plus related team knowledge. The GitHub Action in the API repo (integrations/github-action) learns rules from PR review comments automatically.

Claude app (claude.ai and Claude Desktop)

Settings → Connectors → Add custom connector. Name it AgentVault and paste your connector URL. It carries your API key, so treat it like a password; revoke the key in the console to cut access.

https://api.useagentvault.com/mcp/$AGENTVAULT_API_KEY

Claude Code

claude mcp add --transport http agentvault https://api.useagentvault.com/mcp \
  --header "Authorization: Bearer $AGENTVAULT_API_KEY"

Claude Desktop

Settings → Developer → Edit config (claude_desktop_config.json):

{
  "mcpServers": {
    "agentvault": {
      "command": "npx",
      "args": ["-y", "mcp-remote", "https://api.useagentvault.com/mcp", "--header", "Authorization: Bearer $AGENTVAULT_API_KEY"]
    }
  }
}

Cursor and Windsurf

~/.cursor/mcp.json or ~/.codeium/windsurf/mcp_config.json:

{
  "mcpServers": {
    "agentvault": {
      "url": "https://api.useagentvault.com/mcp",
      "headers": { "Authorization": "Bearer $AGENTVAULT_API_KEY" }
    }
  }
}

VS Code / GitHub Copilot

{
  "servers": {
    "agentvault": {
      "type": "http",
      "url": "https://api.useagentvault.com/mcp",
      "headers": { "Authorization": "Bearer $AGENTVAULT_API_KEY" }
    }
  }
}

Step-by-step guides: Give Claude Code long-term memory, and share memory between Claude and Cursor.