· 8 min read
Observability vs. Enforcement: Why Watching an AI Agent Isn't Governing It
logging and dashboards let a team reconstruct what an agent did, but reconstruction happens after the money has already moved.
Originally published on Zero Trust Architecture. Republished here in full.
TL;DR
-
Observability and logging record an agent’s actions for debugging and incident response. They reconstruct events after execution and require reviewers to trust stored traces, which may expose prompts, tool inputs, and transaction data.
-
LLM-as-judge uses a second model to grade outputs or traces. Its verdict remains model-generated, can share biases and adversarial weaknesses, and does not independently prove compliance.
-
Pre-execution enforcement checks each proposed action against policy before value moves and blocks violations. A privacy-preserving cryptographic receipt lets counterparties verify compliant actions without trusting the operator or viewing underlying transaction and strategy data.
Three ways to govern an AI agent, defined
Observability and logging
AI agent observability records an agent’s execution as it happens and makes the record available for later inspection. Observability platforms commonly capture model calls, prompts, retrieved context, tool inputs, tool outputs, errors, latency, and cost within a trace that connects each step of a run. The platform produces logs, traces, dashboards, and alerts that you can use to reconstruct the agent’s visible behavior. Observability records what the application exposes, rather than a model’s private reasoning, as Arize explains.
LLM-as-judge
LLM-as-judge uses one language model to evaluate an output or action sequence produced by another model. The judge receives the generated material, relevant context, and an evaluation prompt that specifies criteria such as policy adherence, relevance, or factual consistency. It then produces a score, label, ranking, or written assessment. A judge can evaluate one output, compare multiple outputs, or apply a checklist, but the agent must produce the evaluated material before the judge can grade it. Evidently AI defines the method as a model-based approximation of human judgment rather than a fixed metric such as accuracy.
Pre-execution enforcement
Pre-execution enforcement evaluates each proposed agent action against explicit policy before the action reaches the execution layer. The enforcement layer receives the proposed action and the policy inputs needed for the decision. It then permits a compliant action or blocks an action that fails the policy. A proof-producing implementation also generates a cryptographic receipt for an approved action. A counterparty can verify that receipt independently, and a zero-knowledge proof can confirm policy satisfaction without exposing private transaction details, positions, or strategy rules. Inherence provides this type of policy-enforcement layer for autonomous financial activity.
Comparison: timing, verifiability, and data exposure
The approaches differ in when they act, what evidence they produce, and how much underlying data they expose.
| Approach | Timing | Verifiability | Data exposure |
|---|---|---|---|
| Observability/logging | Records calls, tool use, and decisions during execution for later review | A reviewer must trust the operator’s logs and their completeness | Detailed traces can retain prompts, context, tool inputs, and outputs |
| LLM-as-judge | Grades an output or action trace after the model produces it | A reviewer must trust the judge model, its prompt, and its scoring process | The judge receives outputs and often supporting context |
| Pre-execution enforcement | Evaluates policy before each covered action and blocks violations | A counterparty independently verifies a cryptographic receipt | A zero-knowledge receipt can confirm compliance without revealing transaction or strategy data |
Observability supports investigation, while pre-execution enforcement can prevent a prohibited action and provide independently verifiable evidence.
Why logging and dashboards can’t stop a violation
Observability records an agent’s execution, but recording does not authorize or reject an action. If an agent calls a payment API and violates a transaction limit, the trace can show the prompt, tool call, response, and error state. Without a separate blocking control, the agent may complete the transfer before anyone reviews that trace.
Trace visibility also has limits on what you can reconstruct. Arize cautions that observability cannot expose a model’s hidden reasoning. It can only reconstruct execution that the application can observe. A detailed record may show which inputs and tools the agent used, but it cannot establish why the model selected an action beyond the evidence captured by the application.
Logs also leave governance decisions to people or other software. LangChain notes that trace visibility helps only when you have a process for deciding which failures deserve attention. The dashboard supplies evidence for review, but the dashboard does not determine whether a proposed payment complies with policy before execution.
Engineers still need observability for debugging and general system visibility. Incident responders also need traces to reconstruct failures, identify affected actions, and test fixes. Those functions support governance, but they cannot replace a control that evaluates each action before money moves.
Why a judge model shares the blind spots of the model it grades
An LLM judge usually grades an agent after the agent produces an output or completes an action. The judge can label policy violations and score prompt adherence, but a score cannot reverse a payment or prevent data disclosure. A judge placed before execution can filter requests, but its verdict remains a probabilistic model judgment rather than a deterministic policy decision.
Judge models can inherit biases and attack weaknesses from the agents they review. Documented findings show that individual judges may favor familiar phrasing or verbosity, while persuasive adversarial text can earn high scores despite containing nonsense. When the agent and judge both interpret the same untrusted text, an injection can manipulate both. Research commentary summarizes the problem directly. The same sneaky message that fools the worker can often fool the guard.
Self-evaluation also creates a circular trust problem. If an LLM can hallucinate or misread an instruction, another LLM requires evaluation for the same reasons. Adding another evaluator extends the review chain without producing an independently verifiable answer. Practitioners therefore treat LLM judges as useful monitoring tools whose individual evaluations can be inconsistent, not as a sole control for actions that require provable compliance.
How pre-execution enforcement changes the timing and the trust model
Pre-execution enforcement evaluates each proposed action before an AI agent can submit it for execution. Inherence converts a written policy into an inline check that covers conditions such as spending limits, approved counterparties, exposure limits, and required approvals. The enforcement layer allows compliant actions to proceed and blocks actions that fail any applicable condition.
The timing prevents a prohibited transfer instead of recording it for later review. Inherence reports measured performance for a reference policy with 112 constraints. On Apple M4 hardware using 10 threads, policy evaluation took 27 to 250 nanoseconds, and proof generation took approximately 2.6 milliseconds. These figures place the enforcement decision within the transaction path rather than in a later audit workflow.
Each approved action produces a 128-byte zero-knowledge receipt that binds the action to the policy used for evaluation. A counterparty, auditor, regulator, or smart contract can verify the receipt independently. Measured verification took 0.96 milliseconds on the same benchmark hardware.
Zero-knowledge verification changes what the verifier must receive. The receipt confirms that the relevant policy conditions held without revealing private amounts, positions, thresholds, or strategy data. The verifier does not need access to the operator’s logs, internal dashboard, or review process.
Observability asks the operator to preserve trustworthy records. A judge model asks the verifier to trust another model’s assessment. Pre-execution enforcement instead gives the verifier a self-contained cryptographic result while preventing noncompliant actions before value moves. It complements monitoring, screening, identity, and investigation tools rather than replacing them.
Where enforcement sits among adjacent approaches
Pre-execution products differ in who or what a counterparty must trust. Some products rely on a separate policy engine or validator network. Others produce a self-contained cryptographic proof that the counterparty can verify without trusting the operator.
Nava’s Guardian checks proposed financial actions before execution and returns an approval or rejection with an audit trail. Its Propose, Verify, Execute model gives developers a clear integration path. However, a counterparty must trust that Guardian applied the policy correctly because Nava does not publicly claim to produce a privacy-preserving proof of that decision.
Newton Protocol enforces onchain transaction rules across several EVM networks. A decentralized operator network signs each compliance decision, which avoids dependence on one operator and suits DeFi applications. Verification still depends on the attestor network’s consensus rather than a proof of a specific policy claim that conceals the transaction details.
ICME PreFlight is the closest peer to privacy-preserving enforcement. It converts policies into formal logic, checks actions before settlement, and generates zero-knowledge proofs for independent verification. Its public use cases focus heavily on agent commerce and x402 stablecoin payments, while Inherence focuses on policy enforcement for regulated financial infrastructure.
Inherence also produces independently verifiable zero-knowledge receipts before execution. Its distinction lies mainly in its target policies and buyers, including transaction limits, approval requirements, and exposure constraints for payment companies, stablecoin issuers, and tokenized-asset platforms. Buyers should compare enforcement products by timing, policy coverage, privacy, and the party whose decision must ultimately be trusted.
What changes for a compliance or risk team
A compliance or risk team can turn policy from a review criterion into a condition for delegated authority. The team can define which actions an agent may take, require verifiable evidence for covered actions, and reserve monitoring tools for debugging and incident response.
Independent receipts can also support specific commercial decisions. An allocator can make funding contingent on enforceable mandate limits. A lender can consider verified spending or exposure restrictions when approving credit, setting collateral requirements, or expanding a facility. A counterparty can accept an operator whose internal logs would otherwise provide insufficient evidence.
The team can then make a precise claim about compliance. It cannot claim that an agent behaves safely under every possible condition, but it can show that each covered action satisfied a named policy before execution. Auditors, lenders, and counterparties can validate that claim without relying on the operator’s dashboard or internal review.
FAQs
Is observability enough for AI agent governance?
Observability records an agent’s visible calls, tool use, errors, and outputs. Used alone, observability cannot stop an action before execution, while Inherence enforces policy before value moves. You can use traces for debugging while relying on enforcement to prevent defined violations.
What is LLM-as-judge, and what are its limits?
LLM-as-judge uses a second language model to score an agent’s output against stated criteria. Judge models can exhibit bias and adversarial vulnerabilities, while Inherence evaluates actions against defined policies. Deterministic enforcement avoids relying on another model’s opinion for each compliance decision.
How does pre-execution enforcement differ from monitoring?
Pre-execution enforcement evaluates a proposed action before allowing it to proceed. Inherence blocks actions that violate policy, while monitoring records or flags behavior for later review. Compliance staff can prevent specified violations instead of investigating them after settlement.
Can observability and enforcement coexist?
Observability and enforcement serve different functions within the same control stack. Inherence can enforce policy before execution, while observability tools preserve traces for debugging and incident response. You gain preventive controls without losing operational visibility.
What makes a compliance receipt independently verifiable?
An independently verifiable receipt contains cryptographic evidence that a defined policy governed an action. Inherence produces zero-knowledge receipts that counterparties can check without trusting the operator or viewing private transaction data. Auditors and counterparties can confirm policy adherence through their own verification.