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.27

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.27
File Size Uploaded Provenance Actions
anvil_state-0.6.27.tar.gz 1.1 MB With provenance Details for anvil_state-0.6.27.tar.gz

Built distribution (wheel)

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

Total release size: 2.2 MB

Release files / anvil_state-0.6.27.tar.gz

Download URL anvil_state-0.6.27.tar.gz
Size 1.1 MB
Tags Source
SHA-256 checksum
How to use checksums
61fc7b131f83d3cb1406a1ef077d93b040c693ab3cfec360b0c79544f9c9069c
BLAKE2b-256 checksum
How to use checksums
8af1a84f2d6bb1afdafa839a4320bfabc69fba42632d4c0d604038e9c50e310e
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 5, 2026.

Transparency log

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

Download URL anvil_state-0.6.27-py3-none-any.whl
Size 1.1 MB
Tags Python 3
SHA-256 checksum
How to use checksums
211007c8c857e2432c05ef58f92bb341c79e584a64eee1bc51144b1100eb8d94
BLAKE2b-256 checksum
How to use checksums
474e87954d17fdfac9b66c6d5465947914e2e1f27c5b248a87eac0e7218a266f
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 5, 2026.

Transparency log

Security for anvil-state 0.6.27

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.27.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 5, 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