DEPLOY THE GATE.ONE COMMAND.

Run a real authorization service — decide, issue a short-lived capability, verify at the actuator, and sign a receipt. No cloud account, no proprietary stack.

Experimental open draft. Open source.

Short-lived capabilitiesScoped accessDevice-verifiableAuditable

The service exposes the three roles of the protocol as plain HTTP/JSON. You only need Python 3.11+ on the machine that guards your device — the single dependency installs itself.

Stdlib HTTP Default-deny Replay-safe Edit & save

Windows — no install (recommended)

Download, unzip, and double-click kinegrant-serve.exe. No Python needed.

Download Windows (.exe)

Windows — double-click, done

Unzip kinegrant-deploy.zip, double-click start.cmd. When you see listening on http://127.0.0.1:8770, it is running. Keep that window open.

macOS / Linux — one command

# inside the unzipped folder
sh start.sh

After publishing to PyPI — one command anywhere

pip install kinegrant-protocol
kinegrant-serve --demo
curl http://127.0.0.1:8770/health
curl -X POST http://127.0.0.1:8770/run -H "Content-Type: application/json" -d '{"agent":"urn:robot:delivery-1","target":"urn:space:demo:door-7","action":"open","purpose":"delivery","context":{"risk_tier":1}}'

The response returns decision, a signed capability, the gate claims, a signed receipt, and receipt_chain_valid: true. Change action to record and it is denied.

POST

/authorize

Policy decision + a short-lived signed capability.

POST

/verify

Fail-closed, single-use gate right before the actuator moves.

POST

/receipt

Executor-signed audit record after the action.

POST

/run

The whole loop in one call, for your first test.

1
Open policy.json in any editor.
2
Change target, assignee (which robot), action, or constraint (purpose / risk tier).
3
Save. The next request uses the new rules immediately.
The bundle ships a step-by-step README. Default-deny means anything you do not explicitly allow is refused — that is the point, not a bug.
KGREADY FOR REVIEW

NO GRANT.
NO ACTION.
VERIFIABLE RECEIPT.

READ KGP-001 →VIEW SOURCE