Skip to main content

anvil-state

The system of record for agent teams: a local-first ledger that turns PRDs into reviewed, lockable, evidence-backed work packets, so AI coding agents and the people working with them can execute one plan without overwriting each other.

anvil-state installs the anvil CLI, the anvil-mcp MCP server, and the anvil-web board, which is read-only unless you start it with write access.

  • A ledger outside the harness. Requirements, tasks, claims, and evidence live in an append-only event log and a SQLite projection on your machine, so Claude Code, Codex, Cursor, and a shell loop all work from the same state.
  • Single-winner claims. A claim is a lease, not a label. The first writer wins and a second claimant is refused.
  • State that replays. anvil replay rebuilds the database from the event log, and anvil doctor checks that the log still reproduces the live state.
  • Signed acceptance proofs. Approving submitted evidence writes a signed receipt you can check with anvil proof verify. The evidence gate is advisory by default; --strict makes approval refuse until the required checks are on record.

Anvil is in beta. The changelog lists what each release adds.

Runtime compatibility: the published package requires Python 3.11+, Pydantic 2.11.7+, and FastMCP 3.x (3.0.0 or newer). These are the lowest versions that both resolve and provide Anvil's MCP registration and surface-gating APIs; the next FastMCP major remains opt-in until qualified.

The immutable version-1 provider-read ceilings and exact limit-refusal shape are published in the packaged _data/provider-read-contract-v1.json fixture; the runtime pins its canonical-JSON SHA-256 so line-ending conversion cannot mask or invent drift from the validated anvil.read_contracts models.

uv tool install anvil-state      # or: pipx install anvil-state
anvil --help
anvil install <harness>          # wire anvil into Codex, Cursor, VS Code, ...

The MCP server (anvil-mcp) exposes anvil's tool surface to any MCP-capable harness. anvil install <harness> writes the MCP config and instruction file for a target harness (idempotent, backed up, reversible with --rollback).

Documentation, including a replay of a recorded session and the cross-harness install guide: https://anvilstate.com/

Source and the Claude Code plugin: https://github.com/fakoli/anvil

Metadata

Release files for anvil-state 0.6.28

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for anvil-state 0.6.28
File Size Uploaded Provenance Actions
anvil_state-0.6.28.tar.gz 1.2 MB With provenance Details for anvil_state-0.6.28.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for anvil-state 0.6.28
File Interpreter ABI Platform Actions
anvil_state-0.6.28-py3-none-any.whl Python 3 none any Details for anvil_state-0.6.28-py3-none-any.whl

Total release size: 2.3 MB

Release files / anvil_state-0.6.28.tar.gz

Download URL anvil_state-0.6.28.tar.gz
Size 1.2 MB
Tags Source
SHA-256 checksum
How to use checksums
97d7f887997dc53e6b49cdc0d6a6f54886b0749b506b31ecc10c4c4eec14ed64
BLAKE2b-256 checksum
How to use checksums
3ba0d9086c2a7aee44ad76d60df04f9bc874d56df522f8e89d493bed54d6d485
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.13

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 6, 2026.

Transparency log

Release files / anvil_state-0.6.28-py3-none-any.whl

Download URL anvil_state-0.6.28-py3-none-any.whl
Size 1.1 MB
Tags Python 3
SHA-256 checksum
How to use checksums
2979b775f1cac033e01f901112ea5a970bcea40d115907dfb25a0729f78f2cdb
BLAKE2b-256 checksum
How to use checksums
d2ff07bf43a53de3721a215d18f007e3798f6c246598372d33b79e19816f7712
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.13

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 6, 2026.

Transparency log

Security for anvil-state 0.6.28

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for anvil_state-0.6.28.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 6, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page