1. Cerata
  2. 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",
    …
  }
}
  1. Clear

    Go ahead.Keep the receipt with the action.

  2. Flag

    Don't send it as is.Apply the fixes, or ask a person.

  3. Hold

    Wait.A person decides; poll the hold.

  4. Block

    Don't send it.Fix it and check again.

Pick your path

Vibe coders

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 prompt
Developers

Calling 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.

Make your first check
Agent frameworks

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.

See integrations

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_coverage instead of quietly answering clear. See coverage.
Contact usQuestions, or want a key for the test API? Email us.