The assurance CLI
python -m assurance <domain> <verb> — the same code the hosted API calls, runnable on your own machine first. Some domains talk to a deployment once you have one; kit and watch never do, by design.

Runs on your machine, into your own ledger
No account, no upload — every domain reads and writes local files unless it explicitly names an API call below.
Install and check
pip install cryptography && export PYTHONPATH=src # from a checkout; nothing else to install python -m assurance # lists every domain python -m assurance kit init plant/ # a kit skeleton to fill in python -m assurance kit check plant/kit.json
Every domain, its verbs, and what it maps to
Checked against each domain's own --help output. A domain with an API tier has hosted routes of that tier, listed on /developers; a domain marked offline only never calls a deployment, and kit and watch are offline by design (watch push is the one opt-in command that reports to your own hosted ledger). 133 commands in all; the table lists the first word after the domain, so trust-list and trust stand for their own sub-commands, and not every verb of an API-tier domain has a route. Which command has a matching API route or MCP tool, and why one is missing, is on the capabilities page.
intel ingest and intel refresh --live are operator commands: fetching KEV, NVD or EPSS is an act on the operator's own machine, and the hosted service only reads the store that produces.
Technical details
The hosted /v1/intel routes answer 503 until the operator sets ASSURANCE_INTEL_STORE.
| Domain | Verbs | What it does | API tier |
|---|---|---|---|
login | Verify an API key against the API and store it in the operating system keyring only; fails closed when no secure store exists. The key is never an argument. | Validator — free | |
logout | Remove the stored key for one API address. | Offline only | |
whoami | Your account, plan and key as the API reports them; says UNCHECKED when it cannot reach the API. | Validator — free | |
usage | Your own metered usage this period against your allowance, with each event and its idempotency key. | Validator — free | |
keys | createlistrevoke | List, issue and revoke your own account keys. A new key is shown once, only with --show-once. | Validator — free |
gate | A CI check: exit 0 only when no safety function lost its verification and no Article 14 clock is past due; exit 2 when anything could not be checked. | Cell — €1,290/mo | |
kit | initruncheck | Enrol a plant’s machines without anything leaving it — offline by design, no API equivalent. | Offline only |
machine | separationverifycheckrecorder-signrecorder-trust | ISO/TS 15066 separation and recorded-run verification. | Validator — free |
machinery | enrolimport-inventoryamend-enrolmentrecord-manifestrecord-changediffcoveragepassportpackcheck | Machine enrolment (a named person’s declaration; an amendment is a new, chained record), Annex III safety software manifests, the staleness join and evidence pack. The pack API also accepts a purchased evidence pack. | Cell — €1,290/mo |
fleet | listadvisoryadvisory-checkimport-csafdeclaredeclaration | Advisory fan-out (advisory-check asks the stateless one-machine question from two files, no ledger; import-csaf translates a CSAF 2.0 advisory offline, inspect-only) and Declaration binding across a fleet. | Cell — €1,290/mo |
ingest | sbom-importsbom-listsbom-showsbom-reviewcsaf-importcsaf-listcsaf-showcsaf-impactpush | Third-party documents as drafts and supplier statements: a CycloneDX SBOM becomes a draft inventory pending a named person’s review (never a serial, never safety-relevant, never measured); a CSAF 2.0 advisory is recorded as an unsigned, inspect-only supplier advisory and matched to the fleet as affected, under_investigation, fixed, not_affected or unknown; push validates locally before uploading over HTTPS. | Cell — €1,290/mo |
change | assess-driftassess-advisoryassess-interventionlistshowclaimadvancereverifyresolve-decisionwaive-reverificationdecideresumereplayexport | Change-assurance cases: open from drift, an advisory or an intervention; claim, advance and submit re-verification evidence; close, defer or resume by a named human decision. A required re-verification is closed by a named person's waiver unless the verification is validated, which needs a recorder attestation accepted under the verifier's own trust list. | Cell — €1,290/mo |
attest | keygensignverifylogpreflightanchor-alltrust-listceremonysign-decision | Counter-signed head attestation and detached human-decision signing — catches deletion, not just editing. keygen, trust-list, ceremony, preflight and anchor-all are key-ceremony tooling for the operator’s own machine (no hosted route or MCP tool, by design). | Cell — €1,290/mo |
watch | runstatuspushopen-case | Scheduled drift checks — run in your own kit or cron, never hosted. A watch can read the operator’s intel store and a maximum age; --now sets the assessment clock for a dry run only. run, status and open-case (a named person opens a case from a finding) are offline; push is the one opt-in command that reports the latest run to your own hosted ledger. | Offline only |
check | servicesmachinefleet-machine | The Machine Assurance Check: does this change match this machine? services lists what can be executed; machine takes one manifest and one advisory from files or stdin, no ledger; fleet-machine reads an enrolled machine's own ledger history. Read-only, and every result lists what it does not establish. | Validator — free |
supplier | keygenpublishwithdrawverifylistfetchtrust | Sign and publish advisories to a hosted feed, fetch one, and pin the supplier keys you trust. | Supplier — contact sales |
art14 | signalawarenesstriageavailabilitysupersede-awarenessmeasurefilenotify-usersvalidatefieldscaseregisterverifyexport | Case triage and the two Article 14 deadline clocks. verify checks the hash chain; with --attestations and --public-key it also compares the ledger with the newest server-read head of a signed attestation log, so a removed tail can be seen. | Register — €390/mo |
value | report | Your assurance position, derived from your own ledger: facts, unknowns, assumptions and ranked work. No score. | Cell — €1,290/mo |
intel | ingestrefreshhistoryshowcandidates | Public-source intelligence: KEV, NVD, EPSS and CSAF recorded as provenance-stamped observations. ingest and refresh --live are operator commands (fetching a feed is the operator’s act, never the hosted service’s); history, show and candidates have read-only /v1/intel routes that answer 503 until the operator sets ASSURANCE_INTEL_STORE. | Cell — €1,290/mo |
evidence | verifyentries | Check an evidence file you were handed (verify; stores nothing) or page through a local ledger’s hash-chained records (entries). | Validator — free |
report | builddemo | The fleet on one page (build) and a worked synthetic fleet (demo, invented data). | Cell — €1,290/mo |
capabilities | Prints, and with --check verifies, the catalogue of what the CLI, API and MCP each offer. | Validator — free | |
billing | grantissue-keyrevoke-keyextendendlist | Operator tooling for accounts provisioned outside Stripe. Works on the local account store; opens no socket and is not an HTTP route. | Offline only |
ops | cyclestatuschecknotify-testwitness | Operator tooling a timer runs on the host: one cycle of the unattended steps (intel refresh only with --live, watch run, chain verify, anchor-all, backup and verify), a status of the last cycle, a preflight, an off-volume rollback witness (`witness`), and an opt-in signed webhook that tells a person (a labelled test send is `notify-test`). Not a hosted feature and not an HTTP route or MCP tool. | Offline only |
tenant | exportverify-exportdelete | Operator tooling on the data volume: export one account (ledger, evidence bundle, attestation log, hashed manifest), verify the export, and plan or execute its removal after a verified export and a named person. Deletes nothing by default; not a hosted feature and not an HTTP route or MCP tool. | Offline only |
bridge | art14 | Assembles the Article 14 export from local case state — local only. | Offline only |
collect | check-planproberun | Finds the vendor tool’s own volatile headers before they produce a year of false drift alarms. | Offline only |
The CLI, and the MCP server that wraps the same API
The CLI and the installable assurance-mcp server both call the same FastAPI routes. See the MCP connector page for the tool table and what it does not cover (it exposes a subset of the API, not every CLI verb; the capabilities page says which, and why).
Read the full route table next
Auth, the free-vs-paid split, and copy-paste curl/Python for the same API this CLI calls.
Illustrative images, not photographs of a customer site. The images are generated.