Skip to content
AXIOM seal

AXIOM

The transactional write gate for coding agents.
PlanManifestchecksapply.axiom/ journalsha256(JCS(body))confirmDigest · pre-image re-verified · 2PC

Plan → Manifest

An agent submits a Plan; AXIOM compiles it to a canonical, content-addressed Manifest (JCS/RFC 8785, sha256) — no timestamps, no content inline.

Set-level checks

Predicates run over the whole change set, not one file at a time. A fact provider that cannot run yields error, never a silent pass. Fail closed.

Two-phase apply

Pre-image hashes are re-verified at commit, writes are staged then atomically renamed, and a journal makes every apply rollback-able, even after a crash.

On the record

confirmDigest must equal the manifest digest. Optional Ed25519 signing, anti-rollback counters and in-toto attestations make the agent’s edit provable.

Works everywhere

One package, five surfaces: MCP server, CLI, PreToolUse hook, GitHub Action, VS Code. Roots are an explicit allowlist; there is no cwd fallback.

Deterministic

Same Plan, same Manifest, same digest on Linux, macOS and Windows. Golden fixtures pin every digest in CI.

Terminal window
npx @codai/axiom-mcp --help

Nothing to install; the current release is fetched on first run.

flowchart LR
  A[Agent] -->|Plan| P[plan_compile]
  P -->|Manifest + blobs| C[check]
  C -->|verdict| D[apply_dry_run]
  D -->|diff + digest| X[apply]
  X -->|journal| J[(.axiom/)]
  X -->|attestation| S[Sigstore]

Every arrow is a hash boundary. Read the pipeline page for the sequence diagram and the invariants that hold across all of it.

Coding agents write files. Most of the time that is fine; occasionally it is a half-applied refactor, a clobbered concurrent edit, or a change nobody can trace back to a decision. AXIOM makes an agent’s write a transaction: planned, canonicalised, checked as a set, applied atomically against verified pre-images, journaled, and, when you want it, signed. It sits in front of the filesystem as an MCP server or a hook, so the agent does not have to be trusted; the gate does the trusting.