Skip to Content
Remit Docs
SDKs and tools

CLI reference

The remit executable runs a holder and provides sender, policy and receipt tools. In a source checkout, use ./target/debug/remit; an optimized build is at ./target/release/remit.

Holder and identities

CommandPurpose
remit serve --config remit.tomlRun a holder. --listen overrides its configured address.
remit keygen --out identity.jsonGenerate an identity file. --id selects a registered ID; --p256 selects P-256.
remit pull HOLDER --name NAMEFetch the signed catalog and generate local types, SQL schema and examples under .remit/.
remit dev --catalog CATALOGRun a local emulator over synthetic data.

The emulator is for authoring and repair. Passing it does not establish that a real holder will admit the request.

Author and execute

CommandPurpose
remit lint MANIFESTVerify a manifest offline without data.
remit sign MANIFEST --identity KEY --holder-id ID --out ENVELOPEFill defaults and sign an envelope.
remit check FILE --holder URL --identity KEYAsk for admission without execution.
remit explain FILE --holder URL --identity KEYShow the access card, capacity and admission trace.
remit run FILE --holder URL --identity KEYSubmit and execute.

FILE can be an unsigned manifest that the CLI signs with the supplied identity, or a signed envelope. REMIT_IDENTITY can supply the identity path. --accept-counter-offers explicitly permits the CLI to apply a proposed narrowing and re-sign; omit it when an application or person needs to review the proposed change.

For a complete local command, follow the first exchange.

Policy and receipts

CommandPurpose
remit policy lint --config CONFIGValidate policy and analyze its rules.
remit policy diff BEFORE AFTER --config CONFIGShow changed decisions between policy files.
remit policy promote DRAFT DEST --approved-by NAME --config CONFIGPromote an approved draft after analysis.
remit receipts verify FILE --holder-key KEYVerify a receipt or receipt log.
remit replay --config CONFIG --envelope FILE --receipt FILEReplay recorded work on the holder side.
remit authority keygenGenerate a Biscuit authority key pair.
remit authority issue / remit authority attenuateIssue authority or narrow an existing token.

Use remit COMMAND --help or remit COMMAND SUBCOMMAND --help for exact flags. Authority tokens and private keys are credentials, not debugging output to share publicly.

Conformance and measurements

remit conformance --holder URL --identity KEY exercises a holder against the protocol. remit bench measures the local implementation and engine. Performance depends on the machine, engine, data and isolation profile; the docs do not promise a latency from the CLI’s default workload.

The TypeScript package also includes remit-ts for authoring kernels and remit-mcp for a sender-side MCP server. See agent runtime integration.

On this page