Start

What Writ is

A Solana wallet an agent can spend from and cannot sign with.

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.

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

  1. Intentthe agent writes a TIS
  2. Compilethe engine builds the transaction
  3. Evaluatesix rules read the transaction
  4. Recordthe engine writes the PDR
  5. Signthe signer signs on allow

The agent is asked to pay 0.5 SOL. It writes this intent:

json
{
  "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:

RuleResultDetail
schemapassvalid TIS v1, compiled to 3 instructions
pausedpasswallet is active
program_allowlistpassSystem allowed; ComputeBudget always permitted
daily_spendpass0 + 0.5 of 2 SOL in 24h
token_limitsn/amoves no tokens
no_unlimited_approvaln/agrants no approval
decisionallow

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.

text
Send Maya 0.5 SOL

Where to go next