Technical Guide

    Evidence That an AI Agent Stayed Within Its Approved Use Case

    Sufficient evidence is a decision record for every interaction and tool call, written by a component in the execution path that the agent cannot modify. It shows the identity, the policy version evaluated, the requested action and the outcome (allow, redact, block, rate limit or escalate), with any approval bound to the exact call. Design documents, prompt instructions and after-the-fact log reviews describe intent or reconstruct events. They do not prove what was enforced.

    • Identity and actor type: the agent or user identity, its permissions, and whether the agent or a person initiated the action.
    • Versions: the agent version and the version of the policy that was evaluated.
    • Requested action: the specific tool call, and the tool or MCP server targeted.
    • Decision outcome: allow, redact, block, rate limit or escalate, with the reason.
    • Approval state: the approver, and proof the approval was tied to this actor and exact call, was valid, and was not reused.
    • Source and collection context: which component wrote the record and under what conditions, so the record carries its own provenance.
    • For each tool call, can you show which policy version was evaluated and the outcome?
    • Is the decision record written by a component the agent cannot modify, and does it state its source?
    • Can you show an approval was tied to the specific actor and exact tool call, and was not reused?
    • Can you distinguish agent-initiated actions from user-initiated actions in your records?
    • Can you show that out-of-scope requests were stopped before execution rather than found in later review?

    What counts as evidence of use-case adherence

    An approved use case is a claim about what an agent may do. Evidence is what lets a third party verify that claim against runtime behavior. OWASP's agentic evidence guidance frames the test as four questions: why an action occurred, which identity and permissions authorized it, what information influenced the decision, and whether the evidence itself can be trusted. A design document answers none of these for a specific action.

    Regulatory attention is moving toward the same gap. The EU AI Act ties risk classification to a system's intended purpose and defines reasonably foreseeable misuse as use outside that purpose, including through interaction with other systems. The NIST Generative AI Profile draft suggests audit trails for data and content flows and processes to monitor misuse and unforeseen use cases against a use case inventory. As of December 2026, the New York Department of Financial Services has issued a request for information on consumer-facing agentic AI. It notes reports of agents violating instructions and operating outside designated parameters, and it flags that institutions may be unable to verify whether a user or an agent acted, or why. That is a request for information, not a rule.

    No regulator in this set prescribes a decision-record schema. The practical standard is therefore the auditor's question: for this action, what was permitted, what was evaluated, and what happened?

    Turn the approved use case into policy the path can enforce

    Evidence is a product of enforcement. If nothing evaluates a tool call before it runs, there is nothing to record except what happened. Start by decomposing the approved use case into checkable conditions: which tools and MCP servers the agent may call, which data classes may enter or leave, which actions need human approval, and which identities may invoke the agent.

    Then separate proposal from authorization. The agent proposes an action. A policy service or execution component, independent of the agent, validates scope, privilege and approval state before execution. When it blocks an action it should return the reason so the agent can take a safe path, and it should record that reason.

    Placement matters as much as logic. Decisions should be recorded where the agent cannot write, so the record is not self-reported by the component under evaluation. Capture evidence at the tool-invocation and MCP layer, including the identity, version and integrity of the tool descriptor where possible. Begin in log-only mode, review the decisions the policy would have made, then move to enforcement. Test multi-agent chains too: can one compromised agent cause another to exceed its trust boundary?

    Runtime enforcement evidence versus reconstructed evidence

    The distinction is where and when the evidence is created. Reconstruction correlates traces, events, tool invocations and authorization decisions after the fact. That is useful for investigation, but its strength depends on whether every relevant event was captured and whether the sources can be trusted. The comparison below is a general technical interpretation.

    • Runtime enforcement record: Created at decision time in the execution path. Shows the policy evaluated and the outcome, including actions that were stopped. Limit: covers only the interactions and tool calls the enforcement point sees.
    • Application and observability logs: Show what executed. Often do not show which policy was applied, and may omit attempts that never ran. Limit: scope adherence has to be inferred.
    • Agent self-reported logs: Written by the component being evaluated. Limit: the record can be incomplete or wrong in exactly the cases an auditor cares about.
    • Periodic review and design documents: Show intent and sampled behavior. Limit: cannot show that a given out-of-scope request was stopped before it executed.

    Failure modes and the evidence that answers them

    Each failure mode needs evidence of prevention or of detection, and the two are not equivalent. A block record that precedes execution shows prevention. A log entry found later shows only that the action occurred.

    Tool misuse and prompt-induced out-of-scope actions are answered by a block or escalate record for the requested call, with the policy version and reason. Excessive permissions are answered by the identity and permission set captured in each record, which lets a reviewer compare what the agent could do with what the use case allowed. Scope drift is answered by policy version history and by evidence that a changed use case triggered re-approval. The NIST draft points to impact assessments triggered by new use cases and to deployment approval thresholds, which support that practice. Tool descriptor changes are answered by recorded descriptor identity, version and integrity at the time of the call.

    Under the EU AI Act, some deployers of high-risk systems must inform the provider or distributor and the market surveillance authority, and suspend use, when they have reason to consider that use per instructions may present a risk. Whether that applies depends on the system's classification. Either way, records that show when behavior diverged from scope make that determination possible.

    Where Trussed fits

    Trussed enforces policy in the execution path across models, agents, tools, MCP servers, AI sites and coding assistants. It applies allow, redact, block, rate limit and escalate-for-human-approval outcomes at the level of individual interactions and tool calls, enforced at runtime, not reviewed after the fact. The audit-ready evidence is generated by that enforcement and mapped to HIPAA, NAIC, NYDFS, the EU AI Act and NIST. Scope is interactions and tool calls, not transaction-level governance or end-to-end workflow tracing.

    Trussed deploys self-managed in the customer cloud, with configurable retention and data residency. It has run continuously in production at a regulated enterprise for 18+ months, with 100+ models under one policy plane and 30+ GB of audit evidence generated per day.

    The evidence chain for use-case adherence

    Approved use case

    Scope, tools, data and approval conditions written as enforceable policy.

    Runtime enforcement

    An independent component evaluates each interaction and tool call before it executes.

    Decision record

    Identity, policy version, requested action, outcome and approval details captured per decision.

    Audit-ready evidence

    Records the agent cannot write, retained for auditors, regulators and risk teams.

    Check your evidence against the chain

    See how policy enforcement in the execution path produces per-call decision records for agents and tools.

    Explore Agent and Tool-Call Enforcement