A governance runtime for agent commerce
Writ is a self-hosted runtime that lets you hand an AI agent a budget and a narrowly scoped grant of authority. The agent can then pay for the APIs and services you approve, over Lightning, and each completed call becomes a signed receipt you can verify offline: what it did, on whose authority, and what it cost. Writ checks each call against what you granted. The agent can pass a strictly narrower slice to a worker you declare, and when it reaches past its bounds, Writ refuses the call and can sign the refusal into the record โ evidence, not a silent failure.
| lead | plan the brief | — | executed |
| analyst | buy research · research API | 15 sats | ✓ paid |
| analyst | escalate · premium model | 0 sats | ✗ DENIED |
| editor | compose the brief | — | executed |
Agents can browse, decide, and transact today. What's holding real agent commerce back isn't capability โ it's authorization and audit. Before you hand an autonomous agent a payment method, you need clear answers to three questions: what exactly can it do, how much did you authorize it to spend, and what does the record show it did?
Writ is built to be that layer. It turns "let an agent spend money" into "delegate the authority you intend, check every call routed through Writ against it, and keep a signed receipt for each completed call and each recorded refusal."
It's designed for agents that work unattended. You set the grant before the work starts and read the record after it ends. In between, Writ applies the limits on every call routed through it, whether or not anyone is watching.
Powers granted
Writ package.writ resume. Through the MCP server or HTTP API
(built from source), the caller gets "approval required" and retries once a person approves.Standing
You run it. You own the evidence. No platform to lock you in.
AWS AgentCore Payments and Google's AP2 are platform-owned cloud control planes. Writ is a self-hosted runtime you control, and it pays over Lightning using L402 from your own wallet, so paying an L402 API takes no card and no account with that API's provider.
Private preview
Writ is in private preview. To request access, write to support@lightningenable.com and tell us what you want your agents to pay for.
Request access
Once you have the writ tool, the access guide
takes you to a first simulated run, and the Writ docs cover the rest.
Writ comes from Lightning Enable. The Lightning Enable docs cover its payment tools; Writ has its own documentation.
writ run, a call at or above the threshold
suspends the run. Approve it, then continue the same run with writ resume.