Reference

Terms

Each word the product uses, defined once.

Agent

The program that decides what to ask for: Writ's chat agent, or any outside program holding an agent token. Its output is an intent.

Agent token

A secret string starting with writ_ that lets an outside agent post intents for one agent wallet. The owner creates and revokes tokens with the API. The value is shown once, at creation.

Agent wallet

The Solana account the agent's transactions spend from. Each owner has one. It is the fee payer and only signer of every compiled transaction.

Allowlist

The policy's list of programs a transaction may call.

Base units

An amount as an integer of the asset's smallest unit, written as a decimal string: lamports for SOL (1 SOL is 1000000000), millionths for USDC.

Check

One rule's answer in a record: the rule, pass, fail or n/a, and a line of detail.

Crank

The service that buys $WRIT with the launch wallet's SOL and burns what each buy delivered. $WRIT describes a run.

Decision

allow or deny. A record's decision is deny if any check failed.

Digest

A SHA-256 hash in hex. A record carries three: of the intent, of the compiled message and of the policy.

Engine

The policy engine: the code that parses an intent, compiles it, reads the compiled transaction, runs the rules and writes the record.

Intent

A Transaction Intent, or TIS: one JSON object naming one action. TIS v1 is its reference.

Launch wallet

Writ's own wallet. It receives the platform fee on swaps and signs the crank's buys and burns.

Outflow

The SOL and tokens that leave the agent wallet in one transaction.

Owner

The person whose own Solana wallet controls an agent wallet, by signing Writ's Sign-In With Solana message. The owner sets the policy, pauses the agent wallet, withdraws from it and manages agent tokens.

Platform fee

The fee Jupiter takes from a swap's input token and pays to the launch wallet.

Policy

What the owner allows: the pause switch, the daily SOL cap, the token caps, the allowlist and the unlimited-approval switch. The policy lists its fields.

Policy version

One saved state of the policy, with a number and a digest. A record cites the version it ran under.

Record

A Policy Decision Record, or PDR: what the engine writes for each intent it judges. PDR v1 is its reference.

Rule

One of the six checks the engine runs on every intent. The rules describes each.

Session

What the owner holds after signing in: a token sent as Authorization: Bearer on the owner's API calls, valid until its expiresAt.

Signer

The service that signs an allowed record's transaction with the agent wallet's key.

Source

Where a record came from: chat, agent_token, or owner for a withdrawal.

Transaction state

Where a record's transaction stands: sealed, signed, sent, confirmed or failed.

Withdrawal

A transfer from the agent wallet to the owner's own address, asked for by the owner. It is recorded with the source owner and has no PDR.