Caroline

AI agents

Govern AI agents

An AI agent is a record in Caroline's directory, with its own key when you require one. When it acts for a person it never does more than that person, a sensitive step can wait for a person's signed approval, and Suspend stops it.

Working for a person

Two answers, and both must be yes

When an agent works for someone, Caroline decides twice: as the agent, with its own rules, and as the person, as if they had asked themselves. The call is allowed only when both say yes.

An agent working for a person A person signed in to your app starts an AI agent, whose runtime holds its key while the model never sees it. The agent's call goes through your gateway, which asks with its own key and can be limited by a binding. Caroline decides twice, as the agent with its own rules and the whole context, and as the person with the same rules as if they had asked. The answer is yes only if both say yes; a deny on either side refuses. A sensitive step can also need a person's approval: a signed token for one step. A person signed in to your app starts it AI agent its runtime holds its key; the model never sees it a call Your gateway asks with its own key; a binding can limit it CAROLINE DECIDES TWICE As the agent its own rules, with the whole context As the person the same rules, as if the person had asked Yes only if both a deny on either side refuses for one step A person's approval a signed token for one step: this agent, this action, this record
Your gateway takes the person from the session that started the agent, never from the model: Caroline can only judge the person it is told about. An agent's key can also be issued for one person: Caroline then takes the person from the key and refuses a call that names anyone else. An agent cannot act for another agent, so grants cannot be passed along a chain.

Who is asking

Agents are records, and keys prove them

An agent lives in Caroline's directory beside people, with the attributes your vocabulary gives it: a role, a department, the gateways it may use. Caroline does not take a request's word for who an agent is:

Three kinds of key

A gateway key for each gateway, an agent key for each agent's runtime, and the console's own. Each token is shown once; Caroline keeps only its hash. A key is pending until the decision point holds it and live once it does, so nobody has to guess whether it is in force.

What each gateway may ask about

Bind a gateway to the agents, people, actions and kinds of record it may ask about. A call outside the binding is refused whatever the rules say, and the answer names no rule and no record, so a narrow gateway learns nothing beyond its binding.

A person in the loop

A person's approval for one step

Some steps need a person to say yes first: a refund over a limit, a payment. A signed-in person approves exactly that step, and Caroline issues the yes as a signed token for this agent, this action and this record. The agent's runtime carries it on that one call, and the model never sees it. It cannot be forged, reused or carried to another step, the person the agent's record names as its owner cannot approve it, and limits still bind: an approved refund over the agent's ceiling is still refused.

Watching, and stopping

The rogue-agent signal

Caroline counts what each agent asks for and how each ask was decided, and raises a flag a person can check. No model and no learned baseline: every flag is a count against a threshold, and the page prints both.

STATE 1 Quiet

Nothing stands out.

STATE 2 Watch

A count crossed a threshold: a burst of refusals, most of its calls refused, or many different records touched with calls that are each allowed.

STATE 3 Investigate

It did something an agent should never do: a key that fails, a forged or reused approval, a call a tripwire rule refused.

Nothing suspends an agent by itself. A prompt injection is something a stranger can cause, so a flag informs and a person decides. Suspend is on the AI Agents page. Where the policy has a kill-switch rule, as most packs do, it is in force within seconds and acts even while the ledger cannot write; where it has none, the page says so before you suspend.

Measured calls

A person marks the gateways whose calls are real work, from a date they choose; the scripts' own gateway never counts. An offline replay counts the exported record again and checks that the same flags come out.

In the docs

Go deeper

Acting for a person

A person's approval

Suspend, and the rogue-agent signal