Skip to content
Mandate
by 1888 Labs · on Fly.io Sprites
Mandate
The prompt is not the security boundary. Mandate is.
Your agent runs on its own Sprite with no GitHub token, no model key, and one way out: the Mandate Warden. Every call it makes, to think or to act, is signed, checked against a mandate you signed, logged, and only then forwarded through a Sprites connector. Revoke it and the next call stops.
engineRust
licenseMIT
# On the agent Sprite. It holds only its signing key.
mandate-agent 'Add a line to README.md directly on main.'
 
✓ allow  GET repos/dicethedev/mandate-demo/contents/README.md  (HTTP 200)
✗ DENY   PUT repos/dicethedev/mandate-demo/contents/README.md  (HTTP 403)
         Target main is not one of the allowed: agent/work.
No keys on the agent
The agent Sprite holds no GitHub token and no model key. The Sprites connectors are locked to the Warden, and the agent's network policy only reaches the Warden. Architecture
Every call signed
The agent signs each request with its own key. The Warden decides on the recovered signer, never on what the agent claims. Signing
Thinking is gated too
Model calls go through the Warden like GitHub calls, checked against a model.chat mandate that pins which models the agent may use. Classification
Undo with checkpoints
The Warden checkpoints the agent Sprite before every allowed write and can restore it after a denied one. Checkpoints
How it works
Sign, classify, authorize, log
The agent Sprite sends signed calls to the Mandate Warden Sprite, which verifies, classifies, authorizes and logs each one, forwards allowed calls to the GitHub and Ollama connectors, returns denials with a reason, and checkpoints or restores the agent through the Sprites API.The agent Sprite sends signed calls to the Mandate Warden Sprite, which verifies, classifies, authorizes and logs each one, forwards allowed calls to the GitHub and Ollama connectors, returns denials with a reason, and checkpoints or restores the agent through the Sprites API.
1 · Sign
The agent signs PUT …/contents/README.md with its key and sends it to the Warden, the only place it can reach.
2 · Classify
The Warden turns the call into a mandate request: contents.write on github:owner/repo, target branch main.
3 · Authorize
It checks the owner-signed mandates and revocations. The agent may only write to agent/work: DENY, RECIPIENT_NOT_ALLOWED.
4 · Log and forward
Every decision goes on the live dashboard. Allowed calls go through the Sprites connector; denied ones never leave the Warden.
The owner stays in charge
Narrow authority you can take back
Scoped mandates
An action, a resource, the allowed targets (branches or models) and a lifetime, signed by the owner's key. Concepts
Revoke live
One click on the dashboard and the agent's next call is denied with REVOKED. Deny codes
Denied by default
A call the Warden can't classify becomes an action no mandate grants. Nothing unknown gets through. Security
1888 Labs1888 LabsResearch. Build. Verify.