Provena Agent Memory

Registre officiel IA et agents

Self-hosted MCP memory for AI agents: persistent context with evidence-backed claims.

Installation

Ajoutez ceci à la configuration MCP de votre client (Claude Desktop : claude_desktop_config.json ; Cursor : .cursor/mcp.json ; VS Code et les autres utilisent la même forme « mcpServers »).

PYPI package provena-agent-memory
Claude Code
claude mcp add provena-agent-memory -e 'PROVENA_API_URL=http://127.0.0.1:8000' -e 'PROVENA_API_KEY=<your provena_api_key>' -e 'PROVENA_SCOPE_ID=<PROVENA_SCOPE_ID>' -- uvx provena-agent-memory==0.1.15
Configuration JSON (Claude Desktop, Cursor, VS Code)
{
    "mcpServers": {
        "provena-agent-memory": {
            "command": "uvx",
            "args": [
                "provena-agent-memory==0.1.15"
            ],
            "env": {
                "PROVENA_API_URL": "http://127.0.0.1:8000",
                "PROVENA_API_KEY": "<your provena_api_key>",
                "PROVENA_SCOPE_ID": "<PROVENA_SCOPE_ID>"
            }
        }
    }
}

Variables d'environnement

  • PROVENA_API_URL Base URL of the Provena REST API
  • PROVENA_API_KEY obligatoire secret Agent credential issued by the Provena service
  • PROVENA_SCOPE_ID obligatoire Exact project or branch scope used for memory

Documentation

Tirée du README du projet sur GitHub, actualisée chaque semaine. Les liens ouvrent GitHub.

Sommaire
  1. Provena
  2. Product demo
  3. Why provenance matters
  4. Get started
  5. Current limits
  6. Contributing

Provena

Evidence-backed memory for AI agents.
Know what an agent remembers—and why.

Provena is an open-source, self-hosted memory service for AI agents. Its MCP connector gives Codex, Claude Code, Gemini CLI, and other clients context across sessions. Each claim stays linked to its source event, review status, and scope, so you can inspect what an agent remembers and why.

Product demo

Watch a walkthrough of setup, cross-session recall, and the operator console:

https://github.com/user-attachments/assets/37fe219c-b678-4c6d-811d-bfdd37552628

Why provenance matters

An agent can retrieve a relevant fact that is wrong, stale, or taken from an untrusted source. Provena keeps the original evidence and the derived memory separate:

Event:         Alex says, "Pineapple on pizza is a crime."
Claim:         Alex dislikes pineapple on pizza.
Evidence:      The claim links to Alex's original words.

Later event:   Alex says, "I tried it. I owe pineapple an apology."
Updated claim: Alex likes pineapple on pizza.

Provena keeps both statements, so it can explain why Alex's preference changed. Events and evidence are append-only. Claims have review status, optional validity time, and exact tenant and project or branch scope. Model-extracted claims remain candidates; source authority is separate from search relevance and never grants permission to act. memory_explain traces a claim back to its source, review history, conflicts, and recorded retrievals.

Provena is one FastAPI service backed by PostgreSQL and pgvector. MCP and host hooks capture turns and retrieve attributed context; Ollama or an optional hosted model extracts candidate facts and embeddings. The Next.js console lets a human inspect and review them. Architecture details · Decisions

Get started

You need Python 3.11+, pipx, Docker Compose, and one supported agent host. Install the connector and choose your host:

pipx install provena-agent-memory
provena quickstart codex

Use provena quickstart claude or provena quickstart gemini for those hosts. Quickstart starts the local service, PostgreSQL, Ollama, and the console; creates agent and reviewer credentials; and installs MCP plus automatic capture and retrieval hooks. It prints the console URL. Restart your agent host and review Provena under /hooks and /mcp.

The first run downloads the default models (about 1.26 GB). The local Ollama image is a digest-pinned CPU build. Installing the package alone does not record conversations; running quickstart is the opt-in step.

To check that the API and database are running:

provena status
Connect to an existing service

Ask its operator for an API URL, agent API key, and project or branch scope ID. With the connector installed, run:

export PROVENA_API_URL=https://memory.example.com
export PROVENA_API_KEY=paste-agent-key
export PROVENA_SCOPE_ID=paste-scope-id
provena connect codex --install

Replace codex with claude or gemini as needed. For another MCP client, use provena connect generic to print its configuration. See the connector guide for manual MCP setup and console access.

Other setup paths

Current limits

Retrieval uses an exact scope; branch inheritance is not implemented. Provena records which claims were delivered to an agent, but cannot prove that a later action was caused by them. More on current guarantees and limits.

Contributing

Start with a good first issue or read CONTRIBUTING.md. See SECURITY.md for private vulnerability reporting and CHANGELOG.md for release history.

Questions fréquentes

Qu'est-ce que Provena Agent Memory ?

Self-hosted MCP memory for AI agents: persistent context with evidence-backed claims.

Comment installer Provena Agent Memory ?

Il s'exécute sur votre machine. Dans Claude Code : claude mcp add provena-agent-memory -e 'PROVENA_API_URL=http://127.0.0.1:8000' -e 'PROVENA_API_KEY=<your provena_api_key>' -e 'PROVENA_SCOPE_ID=<PROVENA_SCOPE_ID>' -- uvx provena-agent-memory==0.1.15. Pour les autres clients, collez la configuration JSON de cette page dans leurs réglages MCP.

Faut-il une clé API pour Provena Agent Memory ?

Oui. Il attend PROVENA_API_KEY, PROVENA_SCOPE_ID, à renseigner dans sa configuration.

Provena Agent Memory est-il open source ?

Oui. Son code est sur GitHub sous licence MIT.

Qui maintient Provena Agent Memory ?

Il est publié par admiralpunk. AI.tn le référence sans le maintenir ni le recommander.

Issu du registre MCP officiel. Être listé n'est pas une recommandation : vérifiez le code et les permissions d'un serveur avant de lui donner accès à vos données.