Local mandate gate and proof trail for AI agents that take consequential actions.

stdioofficialinfra

Package Details

Transportstdio
Runtimenpx

Package Arguments

Positional
Position 0
serveRun the risk-control MCP gateway over stdio.

Environment Variables

FORGE_API_KEY(str)
Secret

Forge decision-API key (starts with fi_). Set this or FORGE_BEARER_TOKEN.

FORGE_BEARER_TOKEN(str)
Secret

Alternative to FORGE_API_KEY: a Forge bearer token for the decision API.

FORGE_API_BASE_URL(str)
Default:https://forgeorbital.com

Base URL of the Forge decision API. Defaults to the hosted Forge cloud.

FORGE_TENANT_ID(str)
Required

Tenant id stamped into every proof-trail record.

FORGE_RECORD_MODE(str)
Default:required

required = fail-closed (block if Forge cannot record); best_effort = execute anyway.

AGENT_GATE_MANDATE_PATH(str)

Absolute path to the signed mandate (policy) JSON. Create it with `forge-agent-gate init`.

AGENT_GATE_KILL_FILE(str)

If this file exists, every gated write is hard-blocked (master kill switch).

KALSHI_API_KEY_ID(str)
Secret

Kalshi API key id. Only for the live Kalshi venue adapter; stays on your machine.

KALSHI_PRIVATE_KEY_PATH(str)
Default:./kalshi_private_key.pem

Path to your Kalshi RSA private key. Only for the Kalshi venue adapter.

KALSHI_ENV(str)
Default:demo

Kalshi environment: demo or prod. Only for the Kalshi venue adapter.