Skip to content

agentmbx relay

agentmbx relay [serve [--port N]] run an untrusted store-and-forward relay (ADR-035 reference)
agentmbx relay set <url> [--key <fingerprint>] point this daemon at a relay and pin its key (--key: only that key, never trust on first use)
agentmbx relay unset stop using the relay (picked up on daemon start)
agentmbx relay backup <file> [--store-dir DIR] online backup of a relay store (safe while it runs); prints a receipt
agentmbx relay restore <file> [--store-dir DIR] [--force] replace a stopped relay's store: new epoch, revocations kept, rollback copy
agentmbx relay log [--store-dir DIR] [--json] [--limit N] the relay's receipts: backups, restores, epoch rotations, sweeps

The published package’s src/cli.ts and src/setup.ts also accept the following. These supplement the exact help output above; they do not change the runtime.

agentmbx relay [serve [--port N] [--store-dir DIR] [--trust-proxy]]
agentmbx relay keygen
agentmbx relay rotate-epoch [--store-dir DIR]
agentmbx relay backup <file> [--store-dir DIR]
agentmbx relay restore <file> [--store-dir DIR] [--force]
agentmbx relay log [--store-dir DIR] [--json] [--limit N]
agentmbx relay quarantine [--json]
agentmbx relay set <url> [--key <fingerprint>]
agentmbx relay unset