[AVAILABLE], every command below was run against a live local server on 2026-07-12
(commit
651497a), including python/examples/quickstart/run.py itself.1. Install dependencies
2. Generate a local Gateway keypair
The Execution Gateway signs its own attestations with a keypair separate from the authorization-verification key (keys/default.*.pem, already committed for local dev). No
key is generated automatically, you have to create one:
scripts/generate-keypair.ts --algorithm ed25519 --key-id gateway, writing
keys/gateway.private.pem / keys/gateway.public.pem. keys/ is gitignored, this stays
local. See
createGatewayKeyPair.ts
for why this key is deliberately separate from the authorization key, and
Deploy patterns for how to manage it outside local dev.
3. Start the Runtime locally
The committed.env defaults to Supabase-backed storage. To run fully locally with no
external dependency, override storage to memory. The one connector wired into the default
server, vendor-payment, is a reference mock that reads its credential from an environment
variable, set a placeholder value for it:
The Execution Gateway is wired into this server unconditionally (
createExecutionSystem()
always returns createExecutionGateway(), packages/api/src/bootstrap/createExecutionSystem.ts).
Every POST /execute is independently re-verified and routed through a real Connector. An
action with no registered connector fails closed with "No connector registered for action",
it does not silently skip enforcement. See The gateway.4. Install the Python SDK
5. Execute a Business Transaction
python/examples/quickstart/run.py, this is the same transaction it
sends.
6. Real output
Captured from an actual run, 2026-07-12 (IDs and hashes differ on every run):ExecutionTrustRecord includes the signature block, executions[0].decision
(outcome: APPROVED, evaluated by the vendor-payment policy), executions[0].evidence
(what the connector actually did, including a connectorEvidenceHash), and an initial
verifications / receipts history. See Trust Record for the
complete shape.
Next
How Parmana thinks
The concepts behind what just happened: policy, authorization, the gateway, trust records.
Verify & replay
Read back or re-run verification against the record you just created.