- Cerata
- Docs
Add a legal check before every action your agent takes
Before your agent calls, texts, emails or posts, it sends Cerata the action. Cerata works out which laws apply and answers clear, flag, hold or block, with the reason, the fix and a signed receipt. One API call, the same for every kind of action.
Your agent asks
POST /v1/preflight { "action": { "type": "outbound_call", "at": "2026-10-20T20:15:00-04:00" }, "recipient": { "phone": "+18135550142", … } }
- Clear
Go ahead.Keep the receipt with the action.
- Flag
Don't send it as is.Apply the fixes, or ask a person.
- Hold
Wait.A person decides; poll the hold.
- Block
Don't send it.Fix it and check again.
Pick your path
Using an AI coding assistant
Paste one prompt into Claude Code, Cursor or a similar assistant. It wires the check into your agent and handles the four answers.
Copy the promptCalling the API or SDK
One POST /v1/preflight with the facts you know. JSON in, a decision and a signed receipt out. Works from any language.
MCP and the Claude Agent SDK
Connect the hosted MCP server, or add a PreToolUse hook so a tool call only runs when the check clears.
Everything in the docs
How a check works
Your agent describes the action it is about to take: what kind it is, when it happens, who it is from, who it is for and what it says. Cerata works out the places involved from the recipient or the property, applies the federal and state rules it covers for that kind of action, and returns one decision. Guardrails stop rogue agents. Cerata keeps well-behaved agents legal.
- You don't write rules or research the law. You send facts.
- The answer names the rule behind it and, where there is one, the fix your agent can apply.
- Every check is signed, so you can show later what was checked and when. See receipts.
- Where Cerata's coverage is incomplete, it says so with
out_of_coverageinstead of quietly answering clear. See coverage.
General information, not legal advice. Cerata is not a law firm. A check tells you what the rules Cerata covers say about one action; it is not a guarantee that the action is lawful.