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.
# 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.{
"decision": "deny",
"reason": "RECIPIENT_NOT_ALLOWED",
"message": "Target main is not one of the allowed: agent/work.",
"action": "contents.write",
"resource": "github:dicethedev/mandate-demo",
"recipient": "main",
"delegationPath": ["0x4f1b…5ae4", "0x818c…2a90"]
}# The owner lets the agent think with one model only.
curl -X POST "$WARDEN/v1/admin/mandates" \
-H "authorization: Bearer $WARDEN_ADMIN_TOKEN" \
-H 'content-type: application/json' -d '{
"subject": "0xAGENT",
"action": "model.chat",
"resource": "ollama:cloud",
"allowedRecipients": ["gpt-oss:120b"]
}'# The same Warden anywhere, with Docker.
docker compose up -d warden # dashboard on http://localhost:8080
docker compose run --rm agent mandate-agent "List the open issues"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. ClassificationUndo 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
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 codesDenied by default
A call the Warden can't classify becomes an action no mandate grants. Nothing unknown gets through. Security
Run it your way
On Sprites, or anywhere with Docker
Quick start
Two Sprites, two connectors, one mandate, and a first task for the agent.
Docker
The Warden and agent from
ghcr.io/1888-labs/mandate, with local or cloud Ollama.Warden reference
Every route, header, action and environment variable.
Live dashboard
Watch the real agent's calls get allowed and denied.