Skip to content

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 veracium for now. From 0.34.0, which is not released yet, the package is veracium-memory; until then veracium-memory on PyPI is only a placeholder with no code. import veracium and the veracium commands 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 one UnattestedBuildWarning per 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 doctor reports 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: pip there installs 0.26.1, the last release that supports it.

Three failure modes of naive agent memory

  1. Poisoning — a received email says "you owe $900"; similarity retrieval happily serves it back as your fact.
  2. Confabulation — memory has no answer, the model invents one anyway.
  3. Staleness — you changed jobs; memory either keeps the old employer or silently overwrites the history.

Three structural properties — each with executable checks

  1. 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.
  2. Grounded or silent — answer() asserts only verified memory, flags unverified claims explicitly, and says "I don't know" rather than guess.
  3. 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