Veracium¶
Veracium is a provenance-aware memory plug-in for agentic systems — it gives any agent durable, per-user memory that keeps what the agent read apart from what it was told.
pip install "veracium[anthropic]"
Package name. Install
veraciumfor now. From 0.34.0, which is not released yet, the package isveracium-memory; until thenveracium-memoryon PyPI is only a placeholder with no code.import veraciumand theveraciumcommands stay the same.Python and SQLite requirement. Veracium needs Python 3.14 or newer. It measures your Python's SQLite build on every open instead of checking it against a list: the build must pass the feature probes and reproduce every accepted schema version exactly. A build that passes opens as
verified, with oneUnattestedBuildWarningper process; one the project's CI has also attested opens with no warning. The CI has attested 22 builds: SQLite 3.34.1 to 3.54.1 on Linux (glibc and musl, x86_64 and arm64) and macOS (arm64), from uv, python.org, Homebrew, conda-forge, setup-python, deadsnakes, pyenv, the official Docker images and the distributions' own Pythons. No Windows build is attested yet. A build that fails is refused (unsupported-sqlite, naming the first failing check), for a new store and an existing one alike.veracium doctorreports your build's status and lists the attested builds, with or without a store. Ubuntu 24.04's own system Python is 3.12, below the floor:pipthere installs 0.26.1, the last release that supports it.
Three failure modes of naive agent memory¶
- Poisoning — a received email says "you owe $900"; similarity retrieval happily serves it back as your fact.
- Confabulation — memory has no answer, the model invents one anyway.
- Staleness — you changed jobs; memory either keeps the old employer or silently overwrites the history.
Three structural properties — each with executable checks¶
- Quarantine — third-party claims are stored as claims by a claimant, never as user facts; content that entered under lower trust can never reach an assertable surface — including text your own tools quote.
- Grounded or silent —
answer()asserts only verified memory, flags unverified claims explicitly, and says "I don't know" rather than guess. - Supersession, never erasure — new values replace old ones with the history retained; nothing is edited in place, nothing is destroyed by aging.
Verify it yourself¶
veracium selfcheck # runs the core regression checks against a throwaway memory
Or run the live demo notebook — a scam email, a laundered triage verdict, a disputed fact, all with real captured outputs.
Where to go¶
- Concepts — the mental model: edges, episodes, the compiled wiki, provenance and trust, the abstention gate.
- API reference —
Memory, recall with token budgets, feedback verbs, portability, compliance erasure. - MCP server — plug memory into any MCP-compatible agent with no host-side Python.
- Design rationale — why there's no
update()/delete(), no LLM-free extraction, no TTL purging — a refused feature is not a missing one. - CHANGELOG · ROADMAP · PyPI