Add a tamper-evident audit trail to an AI agent's retriever, tool calls, and memory in a few lines of code.
Block or warn on context that is missing source information or has gone stale before it reaches the LLM.
Track handoffs and audit multiple agents together in a multi-agent system.
Generate compliance reports to help meet EU AI Act requirements for AI context governance.
| rajfirke/provena | 0-bingwu-0/live-interpreter | 010zx00x1/faresnipe | |
|---|---|---|---|
| Stars | 2 | 2 | 2 |
| Language | Python | Python | Python |
| Setup difficulty | easy | moderate | easy |
| Complexity | 3/5 | 2/5 | 2/5 |
| Audience | developer | general | general |
Figures from each repo's GitHub metadata at analysis time.
Core install has zero dependencies, PostgreSQL, MCP, or PDF report features need optional extras installed separately.
Provena is a Python library that keeps track of where an AI agent's information came from, and whether it can be trusted. When an AI agent pulls in data from several different sources, such as a search tool, a database, or another agent, it becomes hard to answer basic questions afterward: which source provided which piece of information, was any of it changed after the fact, and was it still up to date when it was used. Provena answers those questions by wrapping the functions that produce that context and logging every call. Each logged entry gets a cryptographic hash and is chained to the ones before it, so if anyone tries to tamper with the log afterward, the chain breaks and the tampering becomes detectable. Provena can also check whether context carries proper source information and flag it as missing or incomplete, and it can check whether the context is still fresh or has gone stale based on timestamps. On top of just observing, it can enforce rules: it can block, warn about, or simply log context that fails these checks before that context reaches the AI model. The core library has no dependencies beyond Python itself and adds very little processing overhead. Optional add-ons bring in a command-line tool, PostgreSQL storage, a server for the Model Context Protocol, PDF compliance reports, and ready-made connectors for popular agent frameworks such as LangChain, LlamaIndex, CrewAI, AutoGen, the OpenAI Agents SDK, and Google's ADK. It can also track handoffs between multiple agents and summarize gaps across all of them, such as missing source information or broken audit chains. This is aimed at developers building AI agent systems, especially ones subject to compliance requirements like the EU AI Act, who need to prove what information their agents used and that it was not altered. It installs with a single pip command and is released under the Apache 2.0 license.
A Python library that logs where an AI agent's context came from, detects tampering, and can block stale or unverified data before it reaches the model.
Mainly Python. The stack also includes Python, SQLite, PostgreSQL.
Apache 2.0 license, you can use, modify, and distribute this freely, including commercially, as long as you keep attribution and license notices.
Setup difficulty is rated easy, with roughly 5min to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Verify against the repo before relying on details.