Operate

CLI

Reference for the axonpush runtime commands on self-hosted installations, and how to install the agent skills.

Agent skills

The coding-agent setup flow is a set of skills, not a CLI. Install them into Claude Code:

/plugin marketplace add axonpush/skills
/plugin install axonpush@axonpush-plugins

or into Cursor, Codex, Copilot, Windsurf, Gemini and other agents through skills.sh:

npx skills add axonpush/skills
SkillWhat it does
axonpush-integrateEnd-to-end setup: connects the MCP, drafts the workspace spec, activates it, mints a key and instruments the app.
axonpush-tailor-dashboardRevises the workspace spec through a shared draft and activates a new revision.
axonpush-investigateInvestigates a failed or slow run, or a stuck entity, from issue, trace and workspace evidence.
axonpush-complianceAdds declared tasks, reported decisions, policy outcomes and notice delivery as audit evidence.

Framework sub-skills (for example langchain, otel-ts, sentry) can also be run directly. See Agent setup for the full flow. On a self-hosted installation, connect the MCP to your own URL, for example https://axonpush.example.com/mcp.

The axonpush executable

Self-hosted installations run a single executable. These are all of its commands:

axonpush serve|migrate|doctor|jobs|version|verify-evidence|verify-pack

Commands that touch the database read DATABASE_BACKEND and DATABASE_URL (or DATABASE_URL_SSM_PARAMETER) from the environment. None of them accept credentials as flags. Flags can be written with one or two dashes.

serve

Runs the installation: API, dashboard, auth service and workers.

axonpush serve --listen 127.0.0.1:8080 --public-url https://axonpush.example.com --state /var/lib/axonpush
FlagDefaultPurpose
--listen127.0.0.1:8080Address of the public HTTP listener.
--public-urlhttp://127.0.0.1:8080Browser-facing origin. Must be HTTPS unless it is localhost or a loopback address.
--state<user config dir>/axonpushPrivate state directory.
--tls-cert, --tls-keynoneServe HTTPS directly. Both or neither.

Configuration comes from the environment; see the configuration reference.

migrate

Applies the embedded database migrations. Run it with migration credentials before starting a new version.

axonpush migrate --owner-role axonpush_owner --app-user axonpush_app
FlagDefaultPurpose
--owner-rolenoneRole to SET ROLE to while migrating.
--app-useraxonpush_appRuntime role to grant data privileges. Empty skips grants.
--max-version0 (latest)Stop at this migration version.
--timeout30mMaximum duration.

See Upgrades.

doctor

Prints named checks as JSON. It never prints connection strings or keys, and it does not contact the licence server, send email or access buckets.

axonpush doctor
{"auth":"embedded","dashboard":"embedded","edition":"selfhost","email":"configured (not sent)","license":"configured (not validated)","postgres":"connected","schema":"current","storage":"configured (not accessed)"}
CheckValues
editionselfhost for a licensed build.
dashboard, authembedded, or not embedded for a broken build.
licensemissing or configured (not validated).
emailmissing or configured (not sent) (EMAIL_FROM).
storagemissing or configured (not accessed) (INGEST_ARCHIVE_BUCKET).
postgresconnected, unreachable, invalid configuration, or requires DATABASE_BACKEND=postgres.
schemacurrent, or run axonpush migrate. Only present when PostgreSQL is reachable.

doctor does not check the evidence archive. The service checks it at startup and refuses to start if it is misconfigured.

jobs

Inspects and redrives failed durable work.

axonpush jobs list
axonpush jobs retry <delivery-id>

list prints up to 100 failed deliveries as JSON (id, target, attempts, expiresAt), never their payloads. retry queues one failed delivery again and prints {"status":"queued"}; the handler re-checks erasure and authorization before it runs. Failed deliveries are deleted seven days after they fail, after which retry reports failed delivery missing or expired.

Evidence archive jobs are separate and are listed and retried through the audit API and dashboard.

version

axonpush version
# axonpush <version> linux/amd64

verify-evidence

Verifies a downloaded archive segment offline. It makes no network or database calls and needs no decryption key.

axonpush verify-evidence \
  --manifest manifest.json --meta meta.parquet --content content.parquet \
  --expected-seal <seal-hash> --proof-ordinal 0
FlagRequiredPurpose
--manifest, --meta, --contentYesThe three files of one sealed part.
--expected-sealYesSeal hash from a checkpoint you kept independently. A manifest checked only against itself proves nothing about the operator.
--proof-ordinalNoAlso print an inclusion proof for this row.
--tsa-response, --tsa-roots, --tsa-nonceNo, all three togetherVerify a saved RFC 3161 response against PEM roots and the original nonce (hex).

It prints verified, format, rows, root, seal, and timestamp and proof when requested.

verify-pack

Verifies a downloaded evidence pack offline.

axonpush verify-pack --json pack.json --pdf pack.pdf --expected-key <issuer-public-key>

--expected-key is the issuer’s Ed25519 public key, hex or base64. Get it through a channel you trust independently of the pack, not from the pack itself. A valid pack prints {"verified":true}.

Neither verification command needs a licence or a running installation, so auditors can run them on their own machine.