Quickstart
Install
Section titled “Install”Download a prebuilt binary for Linux (x86_64, arm64), macOS (Apple Silicon,
Intel) or Windows from the
releases page. Each release has
SHA256SUMS, a CycloneDX SBOM and build provenance you can verify:
gh attestation verify nexum-0.1.0-x86_64-unknown-linux-musl.tar.gz --repo swaroski/nexumOr build from source, or run the container:
cargo install --locked --git https://github.com/swaroski/nexum --tag v0.1.0 nexumdocker run --rm ghcr.io/swaroski/nexum:0.1 --versionSee Deploy for Docker and Kubernetes.
One organization, one agent
Section titled “One organization, one agent”nexum init --domain example.com # config, trust store, starter policy, org keynexum agents register --id spiffe://example.com/agents/support-bot --name support-botnexum grants issue --sub spiffe://example.com/agents/support-bot \ --holder .nexum/keys/support-bot.key.json \ --cap refund.create --res 'app://orders/*' --aud example.com --out bot.jwtnexum gateway start &init writes nexum.yaml, trust.yaml, policy.yaml and an organization
signing key under .nexum/. The grant is a 15-minute, holder-bound JWT:
useless without the agent’s private key.
Ask for a decision
Section titled “Ask for a decision”nexum call --grant bot.jwt --key .nexum/keys/support-bot.key.json \ --action refund.create --resource app://orders/42 --value 1700APPROVAL REQUIRED NX-4002
Agent: spiffe://example.com/agents/support-bot Requested: refund.create app://orders/42 Value: 1700 Reason: Policy requires human approval for this action. Policy: example.com-default / refund-approval Approval: 01a1999a-6988-77d1-8883-a360a450ad5eApprove it and retry with --approval <id>:
nexum approvals approve 01a1999a-6988-77d1-8883-a360a450ad5e --by you@example.comCheck everything
Section titled “Check everything”nexum doctor # config, keys, trust, policy, state, audit integritynexum audit tail # every decision so farnexum audit verify # the hash chain is intactNext: run the cross-company demo.