// Blog · The doctrine

How Do You Know What Your AI Agents Are Actually Doing?

Monitoring tells you what happened after it happened. It does not stop the agent doing the wrong thing in the first place.

Most teams answer this with monitoring: dashboards, logs, traces of what the agent did. That is useful, and it is not enough. Monitoring tells you what happened after it happened. It does not stop the agent doing the wrong thing in the first place. This is the difference between watching an agent and governing one, and why serious deployments need both.

The question behind the question

"How do I know what my agents are doing" is usually asked in one of two moods.

The calm version is operational. You want visibility: which agent ran, what it called, how long it took, what it cost. This is observability, and there is a healthy market of tools for it.

The other version is asked after something went wrong, and it means something sharper. You want to know how an agent was allowed to do the thing it just did, who sanctioned it, and whether you could have stopped it. Observability answers the first question well. It barely touches the second.

What observability gives you, and what it does not

Observability is the practice of recording what a system did so you can understand its behaviour. For agents, that means logging the prompts, the tool calls, the responses, the latencies, the errors. Good observability shortens the time between something breaking and you understanding why.

Notice the tense. Every one of those is past tense. Observability is a rear-view mirror. It is indispensable for debugging, for cost control, for spotting drift.

A rear-view mirror has never once prevented a crash. By the time the agent's bad action shows up in your trace, the payment is sent, the message is out, the commitment is made.

For a lot of agent work, rear-view is fine. For agents that touch money, customers, or anything irreversible, knowing what went wrong after it went wrong is not a control. It is a post-mortem.

The thing monitoring cannot do

The gap is simple to state. Observability records decisions. It does not make them.

If an agent is about to take an action it should not, observability will faithfully log that action as it happens. It will not intervene, because intervening is not its job. It sits beside the agent, watching. It does not sit in front of the agent, deciding.

So a team that has invested heavily in monitoring can still be surprised, because monitoring was never built to prevent anything. It was built to explain. Those are different jobs, and conflating them is how you end up with excellent dashboards and an agent that just did something nobody approved.

Authority is the part in front of the action

What actually answers the sharp version of the question is a layer that decides, before the agent acts, whether the action is permitted, and refuses it if it is not.

Call it authority. It holds the rules the organisation already lives by, the approval thresholds, the policies, the agreements, made executable. Before an agent acts, the action is checked against those rules. Inside the boundary, the agent proceeds. Outside it, the action is refused, and the refusal is recorded.

This is the difference between watching and governing. Observability tells you what your agents did. Authority determines what they are allowed to do, and writes down the decision either way.

Why you need both, in the right order

None of this makes observability optional. You still need the rear-view mirror. You need to debug, to measure cost, to spot when an agent is drifting. Authority and observability are not competitors.

But the order matters. Authority goes in front of the action and prevents the ones that should never happen. Observability sits behind and explains everything that did. Lead with monitoring alone and you have a perfect record of decisions you never controlled. Lead with authority and you control the decisions first, then keep the record for everything that got through.

The honest answer to "how do I know what my agents are doing" is therefore two answers. What they did: observability. What they were allowed to do, and the proof of it: authority. A serious deployment needs the second at least as much as the first, and usually builds it first.

Key takeaways
  • Observability records what an agent did. It is a rear-view mirror, essential for debugging and cost, and it prevents nothing.
  • The sharper question, how was the agent allowed to do that, is not something monitoring can answer.
  • Authority sits in front of the action, decides whether it is permitted before it happens, and records the decision. That is governing, not watching.
  • You need both. Authority first, to control the decisions. Observability second, to explain them.
// The doctrine behind it

The layer that decides before the action

Korrex is an authority layer: the agreement governs, the engine decides deterministically before anything happens, and the timeline records every decision. See the doctrine.