Agents spend only what your rules allow.
Writ is a Solana wallet for AI agents. The agent writes an intent, the engine checks the compiled transaction against your rules, and a separate signer signs only what the record allows.
One payment, as an intent and a record. The agent can answer only with the object on the left; the engine writes the one on the right.
“Send Maya 0.5 SOL for the design work.” The engine compiles that intent into a transaction and runs every rule against the transaction, not against what the agent said it would do.
{ "tis": "1", "action": "transfer", "params": { "asset": "SOL", "to": "CvaC1sSWgsG9UZT3fU8R2TRhrFcpxa1d2mR6pU3mTdgv", "amount": "0.5" }, "reason": "User asked to pay Maya 0.5 SOL for design work." }
digest ffabb16b1b92d9f5ce521536c52cb893…
The record carries the digest of the intent, of the compiled message and of the policy in force, so it names exactly what it allowed.
{ "pdr": "1", "id": "pdr_0041", "created_at": "2026-11-28T12:00:00.000Z", "source": "demo", "wallet": "BwFYBcxEDrybw5YNB92ra3GFj6RVRsdhBofKmf6skkBn", "tis": "the intent on the left", "tis_digest": "ffabb16b1b92d9f5ce521536c52cb893…", "message_digest": "2d01885fc2d24ee8b6b3fd257ded5e94…", "policy_version": 1, "policy_digest": "c958b5c7f8fd5818451f8abcc30a0f24…", "programs": [ "11111111111111111111111111111111", "ComputeBudget111111111111111111111111111111" ], "outflow": { "source": "decoded", "lamports": "500000000", "tokens": [], "unknown": [] }, "approvals": [], "checks": "6 checks, below", "decision": "allow" }
- schemavalid TIS v1, compiled to 3 instructions
- pausedwallet is active
- program_allowlistSystem allowed; ComputeBudget always permitted
- daily_spend0 + 0.5 of 2 SOL in 24h
- token_limitsmoves no tokens
- no_unlimited_approvalgrants no approval
Every record ends one of two ways. Allowed, it is signed once and followed until the network answers. Denied, the key never moves.
The signer is a separate process. It loads the record itself, refuses anything but allow, checks the message digest, signs once and marks the record spent.
The rules are yours. Six run on every transaction.
One failure denies the transaction. The owner's own wallet changes them, pauses the agent wallet and withdraws its balance. None of that goes through the agent.
Set a policy in the demo- schema
The intent is a valid TIS v1 object.
Default: TIS v1
- paused
The owner has not paused the agent wallet.
Default: off
- program_allowlist
Every program the compiled transaction calls is on the owner's list.
Default: System, SPL Token, Associated Token
- daily_spend
SOL leaving the wallet stays under the owner's cap over a rolling 24 hours.
Default: 2 SOL in 24 hours
- token_limits
Each token leaving the wallet stays under its own cap over a rolling 24 hours. A token with no cap is denied.
Default: 50 USDC in 24 hours
- no_unlimited_approval
A token approval names an amount.
Default: on
From the chat, or from your own agent. The same engine and the same records either way.
Writ's agent takes requests in a chat. An agent you run sends its intent to POST /v1/intents with an agent token the owner makes and can revoke.
Send Maya 0.5 SOL for the design work.
curl -X POST "$WRIT_API/v1/intents" \
-H "Authorization: Bearer $WRIT_AGENT_TOKEN" \
-H "Content-Type: application/json" \
-d '{"tis":"1","action":"transfer","params":{"asset":"SOL","to":"CvaC1sSWgsG9UZT3fU8R2TRhrFcpxa1d2mR6pU3mTdgv","amount":"0.5"},"reason":"User asked to pay Maya 0.5 SOL for design work."}'