Context7
Up-to-date docs for AI agents
Descripción del creador (original en inglés)
Auditable memory for AI agents: provable deletion, tamper-evident audit, time-travel recall.
Estos tres nunca se combinan en una sola puntuación: las opiniones, las mediciones y la popularidad son cosas distintas.
Todavía no escribimos un resumen sencillo para este. Abajo están los datos que leímos del registro.
Elige la app de IA que usas y copia la configuración.
ATTESTARI_KEK, ATTESTARI_DATABASE_URL, ATTESTARI_SQLITE_PATH, ATTESTARI_MCP_ALLOW_FORGET, ANTHROPIC_API_KEYLos valores marcados como secretos son llaves de tu cuenta. Nunca los compartas ni los pegues en un chat.
Necesitas
¿Qué app usas?
Elige tu app arriba. La recordamos, así que la próxima vez el botón dirá “Instalar en …”.
Abre Claude Desktop → Settings → Developer → Edit Config y pega esto en claude_desktop_config.json
{
"mcpServers": {
"attestari": {
"command": "uvx",
"args": [
"attestari"
],
"env": {
"ATTESTARI_KEK": "your-value",
"ATTESTARI_DATABASE_URL": "your-value",
"ATTESTARI_SQLITE_PATH": "your-value",
"ATTESTARI_MCP_ALLOW_FORGET": "your-value",
"ANTHROPIC_API_KEY": "your-value"
}
}
}
}Ejecuta esto en tu terminal
claude mcp add attestari --env ATTESTARI_KEK=your-value --env ATTESTARI_DATABASE_URL=your-value --env ATTESTARI_SQLITE_PATH=your-value --env ATTESTARI_MCP_ALLOW_FORGET=your-value --env ANTHROPIC_API_KEY=your-value -- uvx attestariCompleta los valores vacíos antes de ejecutarlo.
Pégalo en .cursor/mcp.json de tu proyecto, o en ~/.cursor/mcp.json
{
"mcpServers": {
"attestari": {
"command": "uvx",
"args": [
"attestari"
],
"env": {
"ATTESTARI_KEK": "your-value",
"ATTESTARI_DATABASE_URL": "your-value",
"ATTESTARI_SQLITE_PATH": "your-value",
"ATTESTARI_MCP_ALLOW_FORGET": "your-value",
"ANTHROPIC_API_KEY": "your-value"
}
}
}
}Tu navegador te pide permiso para abrir la app; luego la app muestra la configuración y te pide confirmar. Los valores de las claves quedan vacíos para que los completes tú.
Pégalo en .vscode/mcp.json de tu proyecto
{
"servers": {
"attestari": {
"type": "stdio",
"command": "uvx",
"args": [
"attestari"
],
"env": {
"ATTESTARI_KEK": "your-value",
"ATTESTARI_DATABASE_URL": "your-value",
"ATTESTARI_SQLITE_PATH": "your-value",
"ATTESTARI_MCP_ALLOW_FORGET": "your-value",
"ANTHROPIC_API_KEY": "your-value"
}
}
}
}Tu navegador te pide permiso para abrir la app; luego la app muestra la configuración y te pide confirmar. Los valores de las claves quedan vacíos para que los completes tú.
Este se ejecuta en tu computadora, y ChatGPT solo puede conectarse a servidores en internet. Elige otra app.
Tu elección se guarda en una cookie en este dispositivo; no necesitas cuenta.
ATTESTARI_SQLITE_PATH envATTESTARI_MCP_ALLOW_FORGET envEsta configuración se genera a partir de la ficha del creador en el registro. Si el README dice otra cosa, sigue el README.
Se ejecuta en tu computadora; la lista de herramientas aparece en tu app de IA después de instalarlo.
Revisamos información que cualquiera puede ver; no hemos leído el código. Las revisiones que no aplican no se cuentan. · Revisado el 7 nov 2026
El nombre en el registro se verificó con la cuenta de GitHub attestari, dueña del repo
Todavía no hemos leído este repo en GitHub
Todavía no hemos leído este repo en GitHub
Este se ejecuta en tu computadora; no hay endpoint en internet
Se ejecuta en tu computadora y usa ajustes locales en su lugar
Se ejecuta en tu computadora; solo podemos leer listas de herramientas de endpoints en internet
Comparado con todos los servidores activos de esta categoría en el registro. Las estrellas solo cuentan cuando quien lo publica es dueño del repo.
Superó 1 de 1 revisiones básicas aplicables. No hemos leído el código. Antes de agregar una clave o un token, revisa qué acceso pide el servidor y usa una clave que tenga solo los permisos que necesitas.
Debes completar: ATTESTARI_KEK, ATTESTARI_DATABASE_URL, ANTHROPIC_API_KEY
Se ejecuta en tu computadora. Tu app de IA lo inicia cuando hace falta, y los datos no pasan por los servidores del creador (a menos que el propio servidor llame a un servicio en línea).
El repo de GitHub cambió por última vez –, y la última versión (0.0.8) llegó al registro hace 28 días.
Las apps compatibles con MCP, como Claude Desktop, Claude Code, Cursor y VS Code. También necesitas Python (uv) en tu computadora.
En la misma categoría: Context7, Codebase Memory, Exa
Servidores de la misma categoría hechos por otros creadores, ordenados por estrellas.
Cómo leer una tarjeta:★ Estrellas de GitHubiTres pilares: reseñas · revisiones · usoiActualizado = fecha en que se publicó la última versión en el registroi
Up-to-date docs for AI agents
Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
Connect AI agents to Exa for web search, content fetching, and multi-step research.
Copiado tal cual del repo del creador. PopNx MCP no lo ha revisado ni lo respalda. Se quitaron HTML, imágenes y scripts. Los enlaces llevan fuera de este sitio.
The auditable memory layer for AI agents. Give your agent long-term memory — like any memory layer — except every fact carries a receipt (where it came from, when), it runs on plain Postgres, the audit trail is tamper-evident, and any user's data can be provably deleted with a signed certificate.
from attestari import Memory
mem = Memory() mem.add("Hi, I'm Alice. I live in Toronto and I work at Acme.", subject_id="alice", valid_from="2021-06-01") mem.add("Update: I moved to Berlin and I now work at Globex.", subject_id="alice", valid_from="2026-01-01") # supersedes Acme + Toronto
mem.answer("where does the user work", subject_id="alice") # -> "Globex" (latest) mem.answer("where did the user live", subject_id="alice", as_of="2022-01-01") # -> "Toronto" (time-travel)
cert = mem.forget("alice") # right-to-be-forgotten -> a signed deletion certificate
No database, no API key, no model download required to run that — the core engine has zero dependencies.
Hosted memory is a black box: you can't see where a "memory" came from, you can't cleanly delete one user's data, and you can't *prove* the history wasn't altered. For a bank, hospital, or insurer — and under GDPR / the EU AI Act — that's a dealbreaker. Attestari is the neutral, self-hostable layer that fixes exactly that.
| Attestari | Typical memory layer | |
|---|---|---|
| Runs on plain Postgres (no graph DB) | ✅ | ✗ (needs Neo4j / a vector service) |
| Provenance on every fact | ✅ | partial |
| Bi-temporal ("what was true on date D?") | ✅ | ✗ |
| Provable deletion + certificate (GDPR) | ✅ | ✗ |
| Tamper-evident audit trail (hash chain) | ✅ | ✗ |
| Works across model vendors | ✅ | usually locked to one |
The last two rows are the moat. Deletion you can prove: each user's data is encrypted with their own key; forget() destroys the key, so the content is unrecoverable — while an immutable log and a signed certificate remain as proof. A history you can verify: every event is hash-linked, so verify_audit() catches any edit, insert, or delete — and the proof survives deletion.
as_of any past instant; corrections supersede old facts without erasing them, so history is always reconstructable. as_of filters on valid time (when a fact was true). System time (when Attestari recorded it) is stored on every fact, but there's no query on it yet.forget(subject_id) crypto-shreds a user's data and returns a signed DeletionCertificate; content backups and replicas are covered (key storage needs its own backup policy — see the threat model).verify_audit() detects any edit/insert/delete, and the proof survives crypto-shred.conflicts(), not silently dropped.search() and timeline() still see each surface form separately.git clone https://github.com/attestari/attestari && cd attestari
python examples/spike.py # zero-dep end-to-end loop python examples/agent_with_memory.py # the "give an agent memory" pattern
You'll see facts change over time, a bi-temporal query answer differently "as of" different dates, a provenance trace back to the source, and a forget() that issues a certificate. No install, no API key, no database.
One facade, Memory, covers the whole surface:
from attestari import Memory
mem = Memory() # zero-dep, in-memory (tests, demos)
fact_ids = mem.add( "I moved to Berlin and I now work at Globex.", subject_id="alice", # whose memory this is valid_from="2026-01-01", # when it became true (defaults to now) source_ref="chat:msg-42", # where it came from (for provenance) )
mem.search("where does the user work", subject_id="alice") # ranked SearchResults mem.answer("where does the user work", subject_id="alice") # -> "Globex" mem.answer("where did the user live", subject_id="alice", as_of="2022-01-01") # time travel: recall as-of a past date mem.timeline(subject_id="alice") # full bi-temporal history mem.get_provenance(fact_ids[0]) # source episode + span mem.conflicts(subject_id="alice") # surfaced conflicts
report = mem.verify_audit() # AuditReport — is the hash chain intact? cert = mem.forget("alice") # DeletionCertificate — provable erasure
| Method | Returns | What it does | |
|---|---|---|---|
add(text, *, subject_id, valid_from=…, source_ref=…) | list[str] | Ingest a message; extract, dedup, and supersede facts. | |
search(query, *, subject_id, as_of=…, limit=5) | list[SearchResult] | Hybrid retrieval with an optional time filter. | |
answer(query, **kwargs) | `str \ | None` | The single top object for a query. |
timeline(*, subject_id) | list[Edge] | Every fact for a subject, live and superseded. | |
get_provenance(fact_id) | `Provenance \ | None` | Trace a fact to its source episode + span. |
conflicts(*, subject_id=None) | list[dict] | Conflicts resolved by predicate cardinality. | |
resolve_entities(names=None, *, auto=True) | ResolutionResult | Merge duplicate entities (reversible). | |
forget(subject_id) | DeletionCertificate | Crypto-shred a subject; return proof. | |
verify_audit(deep=False) | AuditReport | Verify the tamper-evident hash chain; deep=True also catches silent edits to event content. |
Three storage tiers, one engine — every guarantee (audit chain, crypto-shred, deep verification, time travel) holds on all three:
| Tier | Storage | For | Setup |
|---|---|---|---|
Memory() | in-memory | tests, demos, determinism | none |
Memory.local() | one SQLite file (~/.attestari/attestari.db) | a personal agent, MCP, prototypes — durable, single-process | none (stdlib) |
Memory.postgres() | Postgres + pgvector | production: concurrent access, indexed hybrid search | one container |
Durable with zero infrastructure (survives restarts; nothing to install or run):
from attestari import Memory
mem = Memory.local() # or Memory.local("path/to/agent.db")
Durable, on Postgres + pgvector (one container, no graph DB):
ATTESTARI_PG_PORT=5433 docker compose up -d # applies the schema on first boot
pip install -e ".[postgres,embeddings]" export ATTESTARI_DATABASE_URL=postgresql://attestari:attestari@localhost:5433/attestari
Already have a Postgres (managed or local)? The schema ships inside the pip package — no clone needed:
python -m attestari.initdb postgresql://user:pass@host:5432/db # idempotent
from attestari import Memory
mem = Memory.postgres() # durable; materialized projections + pgvector + full-text search
As a REST API + visual console:
pip install -e ".[server]"
uvicorn attestari.server:app # API at /v1/*, the memory-graph console at /
As an MCP server (any agent — Claude, frameworks — can use it) — exposes add_memory / search_memory / get_provenance over stdio, plus forget_subject if you opt in (below). Register it in your MCP client's config (e.g. Claude Desktop's claude_desktop_config.json); the client launches the process for you:
{
"mcpServers": { "attestari": { "command": "attestari-mcp", "args": [], "env": { "ATTESTARI_SQLITE_PATH": "~/.attestari/attestari.db", "ANTHROPIC_API_KEY": "sk-ant-...", "ATTESTARI_KEK": "base64-kek-here" } } } }
Only `command`/`args` are required. Durable by default (memories go to the local
SQLite file, so they survive app restarts); the env block is where per-server config lives — add ATTESTARI_DATABASE_URL to use Postgres instead of SQLite, ANTHROPIC_API_KEY to upgrade extraction to Claude, ATTESTARI_KEK to enable crypto-shred. To run it standalone (e.g. to debug): attestari-mcp (or python -m attestari.mcp). Without a local install, MCP clients can spawn it straight from PyPI: uvx --from "attestari[server]" attestari-mcp.
Erasure over MCP is opt-in. An agent can be steered by text it reads, and erasure can't be undone, so forget_subject is only offered when the env block sets "ATTESTARI_MCP_ALLOW_FORGET": "1". It is then flagged destructive (clients that honour tool annotations ask before running it) and takes two calls: the first previews what would be erased and returns a manifest_hash; the second passes that hash back as confirm_manifest_hash, and erases only if the subject's records still match the preview. Leave it off unless the agent is meant to erase people; Memory.forget() and POST /v1/forget are unaffected.
From TypeScript — the TS client talks to the REST API, so start the server first (see above; it defaults to http://localhost:8000). Then see clients/ts (@attestari/client), a thin typed client mirroring the Memory surface.
With LangChain: see clients/langchain (attestari-langchain) — a AttestariRetriever (recall facts with provenance) and AttestariChatMessageHistory (drop-in memory for RunnableWithMessageHistory) for any chain or agent.
With real Claude extraction (instead of the zero-dep deterministic extractor):
pip install -e ".[anthropic]"
export ANTHROPIC_API_KEY=sk-ant-... python examples/spike.py --llm anthropic
Enable crypto-shred deletion (turn forget() from a logical delete into cr
Solo se muestra el principio; lee el resto en el repo