MAP Docs
MAXIM

CLI

`map invoke MAXIM` recipes for every operation.

The CLI is a Rust binary at services/map-cli. After map login you can dispatch any operation on MAXIM from the shell.

Common flags

FlagEffect
--input <json>Operation payload (or read from stdin)
--version v1.0.0Pin a specific protocol version
--idempotency-key <k>Required for safe retries of state-changing ops
--audit-tailPrint the audit record(s) produced
--output humanPretty-print response (default: json)

Recipes

deliberate_dilemma

map invoke MAXIM deliberate_dilemma --input '{"example":true}'

Reason over a moral dilemma using evidence, policy, and precedent; outputs a deliberation chain.

Capability: map.maxim.deliberate_dilemma

constitutional_interpretation

map invoke MAXIM constitutional_interpretation --input '{"example":true}'

Map a mandate to the constitutional constraints that bind it.

Capability: map.maxim.constitutional_interpretation

mandate_enforcement

map invoke MAXIM mandate_enforcement --input '{"example":true}'

Execute judgment with MACE signatures; records to MAX with full reasoning.

Capability: map.maxim.mandate_enforcement

health_check

map invoke MAXIM health_check --input '{"example":true}'

Service health and constitutional state.

Capability: map.maxim.health_check

metrics

map invoke MAXIM metrics --input '{"example":true}'

Service metrics: deliberation latency, mandate volume, refusal rate.

Capability: map.maxim.metrics

See CLI reference for global flags, login, MCP integration.

On this page