Skip to content
Swarrm

Command reference

Generated from the actual CLI help, including nested commands.

Version 1.5.0 preview. Last reviewed: .

Verbatim help from each command; usage may name the shared standalone parser. The evd alias uses the same CLI. Help does not establish runtime readiness. Long blocks scroll horizontally; focus a block and use the arrow keys.

swarrm --help

swarrm — one command is the whole onboarding surface.

    swarrm import-log INPUT --out DIR --tenant ID  import DECLARED diary events
    swarrm init [DIR]            wire base URL + tool wrap; birth available observations
    swarrm up [--port N]         bring up the dev stack (plane + console)
    swarrm demo                  run the end-to-end demo → a verified bundle
    swarrm verify BUNDLE [...]    verify an evidence bundle offline
    swarrm wrap -- CMD...         MCP stdio capture wrap
    swarrm incident BUNDLE ...    assemble a self-contained incident packet
    swarrm diverge A B [...]      compare two bundles (and certificates) for fork evidence
    swarrm pack BUNDLE --pack ID  render a framework evidence pack (four-state, honest)
    swarrm report BUNDLE ...      render the Evidence Report (HTML, --pdf for paper)
      swarrm report exec BUNDLE ... executive view with recorded creation
    swarrm export --session ID    export a bundle by session/agent/time window
    swarrm status [--url URL]     is a running instance healthy?
    swarrm alert-watch            poll /status/alerts and POST operator alerts
    swarrm doctor                 effective config, what's missing, is it recording?
    swarrm compliance-pack        signed posture pack from the live deployment
    swarrm support                redacted, payload-free diagnostic bundle
    swarrm node CMD               evidence node: up | doctor | discover | preflight | demo
    swarrm key CMD                key custody: seal | reseal | status | authorize-issuer-rotation
    swarrm org CMD                local root and closed authority ceremonies
    swarrm anchor CMD             read-only anchor operations
    swarrm m365 manifests         Copilot Studio / M365 plugin import files for the action door
    swarrm --version              show the installed package version

`evd` is a back-compat alias for the same command.

swarrm incident

usage: swarrm incident [-h] [--disclose PKG.json] [-o OUT] [--scope SCOPE]
                       bundle

positional arguments:
  bundle

options:
  -h, --help           show this help message and exit
  --disclose PKG.json
  -o, --out OUT
  --scope SCOPE

swarrm pack

usage: swarrm pack [-h] --pack ID [-o OUT] [--period-start YYYY-MM-DD]
                   [--period-end YYYY-MM-DD]
                   bundle

positional arguments:
  bundle

options:
  -h, --help            show this help message and exit
  --pack ID
  -o, --out OUT
  --period-start YYYY-MM-DD
  --period-end YYYY-MM-DD

swarrm report

usage: swarrm report [-h] [-o OUT] [--pdf FILE.pdf] [--scope SCOPE]
                     [--trust TRUST.json] [--live] [--rpc RPC]
                     [--acknowledgement FILE.cwt]
                     [--acknowledgement-keys RELYING-PARTY.jwks]
                     bundle

positional arguments:
  bundle

options:
  -h, --help            show this help message and exit
  -o, --out OUT
  --pdf FILE.pdf
  --scope SCOPE
  --trust TRUST.json    independently supplied relying-party trust
  --live                require fresh confirmation of every anchor
  --rpc RPC             live RPC endpoint; otherwise uses EVD_ANCHOR_RPC_URL
  --acknowledgement FILE.cwt
  --acknowledgement-keys RELYING-PARTY.jwks

swarrm export

usage: swarrm export [-h] [--url URL] [--api-key API_KEY] [--session SESSION]
                     [--agent AGENT] [--since SINCE] [--until UNTIL]
                     [--action-prefix ACTION_PREFIX] [--limit LIMIT] [-o OUT]

options:
  -h, --help            show this help message and exit
  --url URL
  --api-key API_KEY
  --session SESSION     receipts carrying this session id
  --agent AGENT         receipts produced by this agent id
  --since SINCE         ISO-8601 UTC lower bound on ts_server (inclusive)
  --until UNTIL         ISO-8601 UTC upper bound on ts_server (exclusive)
  --action-prefix ACTION_PREFIX
                        action_type prefix, e.g. 'payment.'
  --limit LIMIT         stop after N receipts in log order
  -o, --out OUT         write here instead of stdout

swarrm up

usage: swarrm up [-h] [--host HOST] [--port PORT]

options:
  -h, --help   show this help message and exit
  --host HOST
  --port PORT

swarrm demo

usage: swarrm demo [-h]

options:
  -h, --help  show this help message and exit

swarrm status

usage: swarrm status [-h] [--url URL]

options:
  -h, --help  show this help message and exit
  --url URL

swarrm doctor

usage: swarrm doctor [-h]

options:
  -h, --help  show this help message and exit

swarrm compliance-pack

usage: swarrm compliance-pack [-h] [-o OUT] [--receipt RECEIPT] [--key KEY]
                              [--check PACK RECEIPT]

options:
  -h, --help            show this help message and exit
  -o, --out OUT
  --receipt RECEIPT     default: <out>.receipt.json
  --key KEY             issuer key file override (file custody)
  --check PACK RECEIPT  verify a pack against its signed receipt instead of
                        generating

swarrm node

usage: swarrm node <up|doctor|discover|preflight|demo>

swarrm key

usage: swarrm key <seal|reseal|status|authorize-issuer-rotation>

swarrm org

usage: swarrm org <create|enroll|rotate|register-agent|sign-anchor-disposition>

swarrm anchor

usage: swarrm anchor <export-legacy-row>

swarrm support

usage: swarrm support [-h]

options:
  -h, --help  show this help message and exit

swarrm m365

usage: swarrm m365 manifests --tenant ID --audience URI --action NAME=UPSTREAM ...

swarrm import-log

usage: swarrm import-log [-h] --out OUT --tenant TENANT
                         [--source-export SOURCE_EXPORT]
                         input

Import a bounded normalized event export as DECLARED custom receipts.

positional arguments:
  input

options:
  -h, --help            show this help message and exit
  --out OUT             new private directory; existing paths refuse
  --tenant TENANT
  --source-export SOURCE_EXPORT
                        original private export; required by v2 and admitted
                        by exact SHA-256

swarrm init

usage: swarrm init [-h] [--gateway GATEWAY] [--agent-id AGENT_ID] [--no-probe]
                   [--no-born]
                   [directory]

positional arguments:
  directory            the agent's project directory

options:
  -h, --help           show this help message and exit
  --gateway GATEWAY    gateway base URL the agent should call (default
                       http://127.0.0.1:8080/v1)
  --agent-id AGENT_ID
  --no-probe           skip the wrapped tools/list probe
  --no-born            do not emit the birthtag

swarrm wrap

usage: swarrm wrap [--server-id ID] -- <mcp server command...>

Wraps an MCP server so every tool call it serves is captured as signed
evidence. Everything after `--` is the server command, run unchanged.

  swarrm wrap --server-id filesystem -- npx -y @modelcontextprotocol/server-filesystem /tmp
  swarrm wrap -- python -m my_mcp_server

This is a stdio proxy: it speaks MCP on its own stdin/stdout, so it stays
open waiting for a client (an IDE, a desktop MCP client, or another agent) and
does not exit on its own. Ctrl-C ends it. A command that is not an MCP
server -- `echo hi`, say -- will therefore look like it hangs.

swarrm verify

usage: swarrm-verify [-h] [--json] [--live] [--rpc RPC]
                     [--expect-trust-root HASH] [--expect-head EXPECT_HEAD]
                     [--as-of AS_OF] [--max-checkpoint-age MAX_CHECKPOINT_AGE]
                     [--trust TRUST.json] [--require-manifest]
                     [--disclose PKG.json]
                     bundle

evd-verify — offline evidence bundle / action certificate verifier. Usage:
python -m verify.cli bundle.json python -m verify.cli bundle.json --json
(machine-readable report) python -m verify.cli bundle.json --live (uses
EVD_ANCHOR_RPC_URL) python -m verify.cli action.cert (CBOR action certificate)
The input file is sniffed: deterministic-CBOR certificates (extension
.cbor/.cert, or a leading CBOR map byte 0xA0–0xBF) route to
verify.certificate; JSON stays the bundle path. Exit code 0 iff every check
passes. No network access EXCEPT with --live, which re-reads anchor records
from the given RPC — and says so, loudly.

positional arguments:
  bundle                path to evidence bundle JSON

options:
  -h, --help            show this help message and exit
  --json                emit JSON report
  --live                ALSO re-read anchor records from the chain (network!).
                        Needs --rpc or EVD_ANCHOR_RPC_URL.
  --rpc RPC             RPC URL for --live (default: $EVD_ANCHOR_RPC_URL)
  --expect-trust-root HASH
                        FAIL unless the log's genesis trust root equals HASH —
                        the value this tool already tells you to pin out-of-
                        band. The cheapest way to know the log is the one you
                        meant.
  --expect-head EXPECT_HEAD
                        FAIL unless this history CONTAINS ROOT_HASH:TREE_SIZE
  --as-of AS_OF         RFC 3339 UTC instant YOU vouch for; the clock is NEVER
                        read
  --max-checkpoint-age MAX_CHECKPOINT_AGE
                        max SECONDS before --as-of (YOURS)
  --trust TRUST.json    relying-party trust context (log_keys, source_keys,
                        …). Anchors arrive strictly OUT OF BAND: a favourable
                        verdict may never derive from an input the bundle
                        supplies.
  --require-manifest    FAIL a bundle that carries no signed export manifest
                        (completeness unproven). Off by default because
                        bundles predating manifests still verify; turn it on
                        once your producers emit them.
  --disclose PKG.json   verify a selective-disclosure package against the
                        bundle (repeatable)

swarrm diverge

usage: swarrm diverge [-h] [--certificate-a VIEW] [--certificate-b VIEW]
                      bundle_a bundle_b

positional arguments:
  bundle_a
  bundle_b

options:
  -h, --help            show this help message and exit
  --certificate-a VIEW
  --certificate-b VIEW

swarrm alert-watch

usage: swarrm alert-watch [-h] [--url URL] [--webhook-url WEBHOOK_URL]
                          [--token TOKEN] [--state STATE]
                          [--interval INTERVAL]
                          [--max-observation-age MAX_OBSERVATION_AGE]
                          [--future-clock-tolerance FUTURE_CLOCK_TOLERANCE]
                          [--min-level {critical,warn}] [--once]

options:
  -h, --help            show this help message and exit
  --url URL
  --webhook-url WEBHOOK_URL
  --token TOKEN
  --state STATE
  --interval INTERVAL
  --max-observation-age MAX_OBSERVATION_AGE
                        required maximum accepted status-observation age in
                        seconds
  --future-clock-tolerance FUTURE_CLOCK_TOLERANCE
                        required allowed future status-observation offset in
                        seconds
  --min-level {critical,warn}
  --once

swarrm key seal

usage: swarrm key seal [-h] --key-file KEY_FILE --kms-key-id KMS_KEY_ID
                       --role {global-plane,scitt-service} [--out OUT]

options:
  -h, --help            show this help message and exit
  --key-file KEY_FILE   plaintext Ed25519 key file to seal
  --kms-key-id KMS_KEY_ID
                        KMS key id/ARN/alias (the custodian)
  --role {global-plane,scitt-service}
                        exact production signing role bound into KMS AAD
  --out OUT             envelope path (default <key-file>.sealed.json)

swarrm key reseal

usage: swarrm key reseal [-h] --envelope ENVELOPE --kms-key-id KMS_KEY_ID
                         --role {global-plane,scitt-service} --out OUT

options:
  -h, --help            show this help message and exit
  --envelope ENVELOPE   legacy sealed-key envelope
  --kms-key-id KMS_KEY_ID
                        target KMS key id/ARN/alias
  --role {global-plane,scitt-service}
                        exact production signing role bound into the new KMS
                        AAD
  --out OUT             distinct no-clobber output envelope; the legacy source
                        is retained

swarrm key status

usage: swarrm key status [-h]

options:
  -h, --help  show this help message and exit

swarrm key authorize-issuer-rotation

usage: swarrm key authorize-issuer-rotation [-h] --key-file KEY_FILE
                                            --action {ROTATE,REVOKE}
                                            --tenant-id TENANT_ID
                                            --old-kid OLD_KID
                                            --new-kid NEW_KID [--nonce NONCE]
                                            [--expires-in EXPIRES_IN]

options:
  -h, --help            show this help message and exit
  --key-file KEY_FILE   offline Ed25519 operator seed (0o600)
  --action {ROTATE,REVOKE}
  --tenant-id TENANT_ID
  --old-kid OLD_KID     current issuer for ROTATE; predecessor for REVOKE
  --new-kid NEW_KID     staged issuer for ROTATE; current issuer for REVOKE
  --nonce NONCE         challenge nonce from rotate/prepare (required for
                        ROTATE)
  --expires-in EXPIRES_IN
                        seconds (60..3600; default 900)

swarrm org create

usage: swarrm org create [-h] [--out OUT]

options:
  -h, --help  show this help message and exit
  --out OUT   new/existing private directory for organisation-root.cbor

swarrm org enroll

usage: swarrm org enroll [-h] --bundle BUNDLE --challenge CHALLENGE
                         [--challenge-format {auto,json,cbor}]
                         [--recovery-phrase-fd FD]

options:
  -h, --help            show this help message and exit
  --bundle BUNDLE       private organisation-root.cbor path
  --challenge CHALLENGE
                        fresh canonical .json or .cbor challenge
  --challenge-format {auto,json,cbor}
                        default: infer strictly from the challenge filename
  --recovery-phrase-fd FD
                        read one phrase line from an inherited non-echoing
                        descriptor

swarrm org rotate

usage: swarrm org rotate [-h] --old-bundle OLD_BUNDLE --new-bundle NEW_BUNDLE
                         --current CURRENT --out OUT
                         [--effective-at UNIX_SECONDS]
                         [--old-recovery-phrase-fd FD]
                         [--new-recovery-phrase-fd FD]

options:
  -h, --help            show this help message and exit
  --old-bundle OLD_BUNDLE
                        current private root bundle
  --new-bundle NEW_BUNDLE
                        successor private root bundle
  --current CURRENT     public JSON from authenticated GET
                        /authority/root/current
  --out OUT             new public RootRotationV1 CBOR path
  --effective-at UNIX_SECONDS
  --old-recovery-phrase-fd FD
  --new-recovery-phrase-fd FD

swarrm org register-agent

usage: swarrm org register-agent <prepare|finalize>

swarrm org sign-anchor-disposition

usage: swarrm org sign-anchor-disposition [-h] --bundle BUNDLE
                                          --current CURRENT
                                          --reviewed-row REVIEWED_ROW
                                          --reason {CORRUPT_LOCAL_ROW,DECOMMISSIONED_UNSUPPORTED_CHAIN,UNPROVABLE_LEGACY_ANCHOR}
                                          --out OUT [--recovery-phrase-fd FD]

options:
  -h, --help            show this help message and exit
  --bundle BUNDLE       private organisation-root.cbor path
  --current CURRENT     authenticated current-root JSON
  --reviewed-row REVIEWED_ROW
                        private exported exact-row artifact
  --reason {CORRUPT_LOCAL_ROW,DECOMMISSIONED_UNSUPPORTED_CHAIN,UNPROVABLE_LEGACY_ANCHOR}
  --out OUT             new private signed disposition JSON
  --recovery-phrase-fd FD

swarrm org register-agent prepare

usage: swarrm org register-agent prepare [-h] --bundle BUNDLE
                                         --context CONTEXT --owner OWNER
                                         --purpose PURPOSE --mandate MANDATE
                                         --config CONFIG
                                         [--predecessor-credential PREDECESSOR_CREDENTIAL]
                                         --out OUT [--agent-key AGENT_KEY]
                                         [--birthtag BIRTHTAG]
                                         [--template-id TEMPLATE_ID]
                                         [--revision REVISION]
                                         [--template-version TEMPLATE_VERSION]
                                         [--valid-for SECONDS]
                                         [--recovery-phrase-fd FD]

options:
  -h, --help            show this help message and exit
  --bundle BUNDLE       private organisation-root.cbor path
  --context CONTEXT     fresh authority-context CBOR from Swarrm
  --owner OWNER
  --purpose PURPOSE
  --mandate MANDATE     exact local mandate document
  --config CONFIG       exact local agent configuration
  --predecessor-credential PREDECESSOR_CREDENTIAL
                        canonical AgentCredentialV1 core when creating a
                        successor Birthtag
  --out OUT             private registration working directory
  --agent-key AGENT_KEY
                        existing/new raw Ed25519 seed path
  --birthtag BIRTHTAG   optional 64-char lowercase hex Birthtag
  --template-id TEMPLATE_ID
                        optional 64-char lowercase hex template id
  --revision REVISION
  --template-version TEMPLATE_VERSION
  --valid-for SECONDS
  --recovery-phrase-fd FD
                        read one phrase line from an inherited non-echoing
                        descriptor

swarrm org register-agent finalize

usage: swarrm org register-agent finalize [-h] --bundle BUNDLE
                                          --completion COMPLETION
                                          --agent-key AGENT_KEY --out OUT
                                          [--recovery-phrase-fd FD]

options:
  -h, --help            show this help message and exit
  --bundle BUNDLE       private organisation-root.cbor path
  --completion COMPLETION
                        passkey completion CBOR from Swarrm
  --agent-key AGENT_KEY
                        dedicated raw Ed25519 seed from prepare
  --out OUT             private registration working directory
  --recovery-phrase-fd FD
                        read one phrase line from an inherited non-echoing
                        descriptor

swarrm anchor export-legacy-row

usage: swarrm anchor export-legacy-row [-h] --scope SCOPE --row-id ROW_ID
                                       --out OUT [--data-dir DATA_DIR]
                                       [--scitt-data-dir SCITT_DATA_DIR]

options:
  -h, --help            show this help message and exit
  --scope SCOPE         global, scitt, or tenant:<tenant-id>
  --row-id ROW_ID
  --out OUT             new private reviewed-row JSON
  --data-dir DATA_DIR
  --scitt-data-dir SCITT_DATA_DIR
                        defaults to --data-dir

swarrm node up

usage: swarrm node up [-h] [--host HOST] [--port PORT]

options:
  -h, --help   show this help message and exit
  --host HOST
  --port PORT

swarrm node doctor

usage: swarrm node doctor [-h]

options:
  -h, --help  show this help message and exit

swarrm node discover

usage: swarrm node discover [-h] [--auth-env AUTH_ENV] [--non-interactive]
                            [--out OUT]
                            base_url

positional arguments:
  base_url             feed base URL, or 'emulator' for the bundled emulator

options:
  -h, --help           show this help message and exit
  --auth-env AUTH_ENV  env var holding a bearer token for the probe
  --non-interactive    print the raw DRAFT manifest with its FILL_IN markers
                       (no prompts)
  --out OUT            write a ready node config {deployment_id,
                       sources:[...]} here (interactive only)

swarrm node preflight

usage: swarrm node preflight [-h]

options:
  -h, --help  show this help message and exit

swarrm node demo

usage: swarrm node demo [-h]

options:
  -h, --help  show this help message and exit

swarrm m365 manifests

usage: swarrm m365 manifests [-h]
                             [--permission-profile {capture-only,m365-local-count/v1}]
                             --tenant TENANT --audience AUDIENCE
                             [--base-url BASE_URL] --action NAME=UPSTREAM_URL
                             [-o OUT]

options:
  -h, --help            show this help message and exit
  --permission-profile {capture-only,m365-local-count/v1}
                        runtime permission profile declared by these manifests
  --tenant TENANT       Entra tenant id whose tokens are accepted
  --audience AUDIENCE   this gateway's app registration audience
  --base-url BASE_URL   public URL clients reach
  --action NAME=UPSTREAM_URL
  -o, --out OUT         new private directory; existing paths refuse

swarrm report exec

usage: swarrm report exec [-h] --pack PACKS --out-dir OUT_DIR
                          --receipt-dir RECEIPT_DIR
                          --receipt-tenant RECEIPT_TENANT
                          [--period-start PERIOD_START]
                          [--period-end PERIOD_END]
                          bundle

positional arguments:
  bundle

options:
  -h, --help            show this help message and exit
  --pack PACKS
  --out-dir OUT_DIR     customer-owned report destination
  --receipt-dir RECEIPT_DIR
                        private report-creation log directory
  --receipt-tenant RECEIPT_TENANT
                        organization recording report creation
  --period-start PERIOD_START
  --period-end PERIOD_END

Python 3.13. Download original help streams and source bindings.

Command availability does not establish that credentials, dependencies or deployment prerequisites are configured.

Reference details

Source binding

commands-python-3-13.json · SHA-256 002eb66509251a48afc253f0f87b21bd4d291d4ae1a9035d15ef4e0a74c754a0.