Provena Agent Memory

io.github.admiralpunkPublished by GitHub account admiralpunkv0.1.15Updated Oct 24, 2026

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

The publisher's own server: Memory.fit

VerifiedSTDIODesktop onlyKnowledge & MemoryAI & ML

Overview

AI-generated overview

Gives AI coding agents persistent, evidence-backed memory across sessions, with each claim traceable to its source event and scope.

What you can do
Provena is a self-hosted memory service whose MCP connector supplies context across sessions to hosts such as Codex, Claude Code, and Gemini CLI. It captures turns as append-only events and stores derived claims separately, each linked to its source evidence, review status, validity time, and project or branch scope. A memory_explain tool traces a claim back to its source, review history, conflicts, and recorded retrievals. A Next.js console lets a human inspect and review candidate facts.
When to use it
Worth adding when an agent needs to remember facts across sessions and you want to audit why it believes them, for example to catch stale or untrusted context. It suits teams that can run their own service and want provenance rather than an opaque memory store.
Requirements
Python 3.11+, pipx, Docker Compose, and a supported agent host. Quickstart starts the local service, PostgreSQL, Ollama, and the console, and downloads default models of about 1.26 GB. To connect to an existing service, set PROVENA_API_URL, PROVENA_API_KEY, and PROVENA_SCOPE_ID.
Before you install
The connector needs an agent credential in PROVENA_API_KEY and an exact project or branch scope in PROVENA_SCOPE_ID. Running quickstart installs automatic capture and retrieval hooks, so conversations are recorded after that opt-in step. Model-extracted claims stay candidates, and source authority never grants permission to act. Retrieval uses an exact scope; branch inheritance is not implemented.

Installation

In SourceWeft

  1. Open Provena Agent Memory in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.

Other MCP clients

Follow the launch instructions in the repository.

README

[Provena logo]

Provena

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

[CI] [PyPI] [M8ven Score]

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:

text
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:

bash
pipx install provena-agent-memoryprovena 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:

bash
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:

bash
export PROVENA_API_URL=https://memory.example.comexport PROVENA_API_KEY=paste-agent-keyexport PROVENA_SCOPE_ID=paste-scope-idprovena 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.

Source: README.md at commit 7e7eadb

Tools

0
SourceWeft has not started this package in its sandbox yet, so its tools are not known.

Version history

8
  1. v0.1.15LatestSep 29, 2026
  2. v0.1.13Sep 27, 2026
  3. v0.1.12Sep 27, 2026
  4. v0.1.11Sep 25, 2026
  5. v0.1.10Sep 25, 2026
  6. v0.1.8Sep 23, 2026
  7. v0.1.7Sep 23, 2026
  8. v0.1.4Sep 22, 2026

Score

50% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 days25 pts

    Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.

  • Auth declared10 pts

    Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.

  • Tools listed15 pts

    Answer tools/list without a credential, or ship a package that starts in a sandbox without one.

  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts

Other Memory integrations