Start
What Writ is
A Solana wallet an agent can spend from and cannot sign with.
The agent can be Writ's own chat agent or any agent that calls the API with an agent token. Both write the same object, a Transaction Intent, and both get the same answer, a Policy Decision Record.
One payment
- Intentthe agent writes a TIS
- Compilethe engine builds the transaction
- Evaluatesix rules read the transaction
- Recordthe engine writes the PDR
- Signthe signer signs on allow
The agent is asked to pay 0.5 SOL. It writes this intent:
{
"tis": "1",
"action": "transfer",
"params": {
"asset": "SOL",
"to": "CvaC1sSWgsG9UZT3fU8R2TRhrFcpxa1d2mR6pU3mTdgv",
"amount": "0.5"
},
"reason": "User asked to pay Maya 0.5 SOL for design work."
}The engine compiles it to an unsigned transaction and runs the rules on that transaction under the default policy:
| Rule | Result | Detail |
|---|---|---|
schema | pass | valid TIS v1, compiled to 3 instructions |
paused | pass | wallet is active |
program_allowlist | pass | System allowed; ComputeBudget always permitted |
daily_spend | pass | 0 + 0.5 of 2 SOL in 24h |
token_limits | n/a | moves no tokens |
no_unlimited_approval | n/a | grants no approval |
| decision | allow |
No check failed, so the decision is allow and the signer signs. The same intent for 3 SOL compiles and is denied by daily_spend, with the detail 0 + 3 of 2 SOL in 24h. A denied transaction is never signed; its state stays sealed.
The path of one request follows each stage.
What the agent holds
An agent that pays through Writ holds an agent token. The token lets it post intents to POST /v1/intents. It cannot change the policy, pause the wallet or withdraw: those calls take the owner's session, which starts when the owner's own wallet signs a Sign-In With Solana message.
Two ways to send an intent
The owner writes to Writ's chat agent, and the agent's turn comes back with its intent, the record and the transaction.
Send Maya 0.5 SOL