What evidence is needed to investigate an AI agent incident?
Reconstruct the observable workflow, not only the model transcript. Link actor and workload identity, authorized purpose, configuration, retrieved context, tool request, authorization decision, downstream effect, deterministic validation, containment and recovery. Preserve reliable timestamps and integrity data while minimizing sensitive content; hidden chain-of-thought is not a required record.
Why ordinary application logs are not enough
Traditional incident response already depends on preparation, detection, response and recovery across the organization. NIST SP 800-61 Rev. 3 places incident response inside the wider Cybersecurity Framework rather than treating it as a standalone emergency procedure.
Agentic workflows add a correlation problem. One business action can cross a user request, an orchestration layer, a model call, retrieved context, a workload identity, a policy decision, a tool adapter and a downstream system. A successful API response does not establish that the action matched the user's purpose, stayed inside the delegated scope or produced the intended business state.
NIST IR 8621 reports that many AI deployments do not preserve comparable evidence across prompts, responses, agent actions, identities, accessed stores, retrieved content, model versions, tool calls and orchestration activity. It presents this as a key operational gap and calls for a machine-readable AI investigation record. The report is a workshop synthesis and foundation for future work, not a finished mandatory schema.
What evidence should an AI-agent incident preserve?
The proposed Ariftly Agent Incident Evidence Chain v1.0 uses twelve connected objects. It is an engineering framework informed by primary guidance, not a NIST or OWASP standard.
| # | Evidence object | Investigation question |
|---|---|---|
| 1 | Incident envelope | What event, workflow, severity and accountable owner define the case? |
| 2 | Actor and identity | Which human or workload initiated each step, with which credential or delegation? |
| 3 | Objective and scope | What task and resources were authorized, prohibited or time-limited? |
| 4 | Model and runtime | Which model, runtime, policy and configuration versions were active? |
| 5 | Input and retrieval | Which permissible inputs and retrieved sources influenced the step? |
| 6 | Plan and state | What observable plan, parent step and workflow state existed before action? |
| 7 | Tool request | Which operation, parameters and target resource did the agent request? |
| 8 | Authorization decision | Which policy, grant or approval allowed, denied or escalated the request? |
| 9 | Execution result | What actually changed in the external system? |
| 10 | Validation and exception | Which deterministic check ran, and where did an exception go? |
| 11 | Containment and recovery | What limited further impact and proved restoration? |
| 12 | Integrity and lineage | Can events be ordered, correlated and checked for gaps or alteration? |
Identity and authorized purpose come before the model transcript
An investigator first needs to know which actor and workload identity initiated a step and what authority was delegated. Identity alone is not authorization: the same authenticated workload might be allowed to prepare an order draft but prohibited from submitting a final order.
The record should link an accountable requester, workload identity, credential identifier, delegation or grant, objective, allowed resources, prohibited actions and expiry. Sensitive tokens and secret values should never be copied into the log. The NIST/NCCoE agent identity concept paper frames identity, authorization, auditing and non-repudiation as distinct problems, which is why one agent ID field is insufficient.
Preserve observable context—not secret reasoning
Incident reconstruction needs the inputs and state that can explain an action: prompt-template version, user input where lawful, retrieved-source identifiers and hashes, memory or state references, model and runtime versions, policy version, and the ordered step relationship.
This does not require storing hidden chain-of-thought. Organizations can record observable plans, tool requests, control decisions, validations and results. Prompt or completion content may contain personal data, credentials, confidential business information or provider-controlled material. NIST IR 8621 qualifies content retention with 'where permissible.' Minimization, encryption, access controls, retention limits and redaction must be designed before collection begins.
Tool calls need both intent and effect
A tool-request log answers what the agent asked an adapter to do. It does not necessarily show what changed. The evidence chain therefore separates request, authorization decision and execution result.
For a consequential action, responders should be able to connect the operation and parameter summary to the policy decision, grant or human approval, downstream response and changed resource identifiers. Store hashes or redacted summaries when raw payloads would expose sensitive data. Record denied and failed attempts as well as successes; otherwise the trace loses the signals that often explain an incident.
The OWASP Top 10 for Agentic Applications 2026 provides a useful risk cross-check for excessive agency, tool misuse, identity and memory failures. It does not prescribe this twelve-object schema.
Reliable timestamps and integrity are investigation controls
NIST's October 2026 key practices call for tamper-resistant logs with reliable timestamps sufficient to reconstruct agent trajectories, tool calls, user interactions, environmental states and security-control decisions. The document focuses on advanced training and evaluation environments, but the evidence principle is directly useful for operational agent workflows.
Record event time and ingest time, the clock source, schema version, trace and parent-step identifiers, and integrity data appropriate to the environment. These fields do not make logs automatically true. They help responders identify clock drift, missing events, late arrival and alteration. Independent downstream records and human review remain important.
Containment must follow the agent's authority graph
Stopping a model call may not stop a queued job, delegated credential, long-running tool action or copied token. Containment can require pausing the workflow, revoking a workload credential, invalidating a grant, blocking a tool operation, restricting network access, isolating a data source, cancelling queued work or rolling back a downstream change.
NIST's key practices recommend mechanisms to rapidly block, contain or terminate agent activity. IR 8621 also highlights authorization-scoped containment. The practical question is whether the team can remove the smallest relevant authority quickly without disabling unrelated operations—and prove the change took effect.
A synthetic reconstruction example
The downloadable JSON uses a fictional order-draft workflow. A synthetic agent was allowed to read an order inbox and create a draft. It requested create_final_order, outside its grant. The policy denied the request before execution, recorded the credential and policy versions, preserved the relevant trace and reduced the credential scope.
This example demonstrates a record shape only. It is not a customer incident, production test, measured result or proof that the framework is complete.
Test the evidence before a real incident
An incident drill should ask a responder to rebuild one synthetic trajectory from the available records. Can they identify the requester, scope, retrieved sources, exact tool request, policy decision, external effect, validation result and containment action? Can they state what is unknown rather than filling gaps with inference?
The drill should also test privacy and access controls. A perfect trace available to every operator creates a different security problem. Evidence access should be least-privilege, time-bound where appropriate and audited.
Ariftly View: from human-operated to AI-operated
The workflow—not the model—is the control surface. A human-operated process may rely on people to reconstruct intent and system state from email, tickets and logs. AI assistance can correlate records and prepare an incident timeline. Bounded execution can automate approved containment steps. Progressively more AI-operated response should occur only where measured reliability, deterministic checks and accountable exception handling justify it.
The customer value is practical: less repetitive evidence gathering, faster exception preparation, fewer successful actions whose business outcome cannot be proven, and more human attention for consequential containment and recovery decisions. Accountability does not disappear as automation increases.
How Ariftly would operationalize this workflow
Ariftly would start by recording the actual incident workflow: identities and grants, context sources, action boundaries, validation gates, exception owners and recovery evidence. Probabilistic analysis would help correlate traces and propose explanations; deterministic controls would decide whether authority was valid, a tool action completed and recovery criteria were met.
Ariftly Forge provides the visible experience for recording, redesigning and operating complex workflows, supported by Forward-Deployed AI Engineering. The evidence chain is a public engineering framework, not a claim that Ariftly sells an incident-response product or has deployed this control for customers.
Methodology and limitations
This article was reviewed on November 21, 2026. It uses NIST SP 800-61 Rev. 3, NIST IR 8621, NIST's October 2026 key practices, the November 2026 initial public draft of SP 2400-102 E2026, the NIST/NCCoE agent-identity concept paper and OWASP's 2026 agentic-application guidance. Draft and workshop sources are labelled as such.
The twelve objects and field names are Ariftly's synthesis. The framework has not been independently validated or benchmarked. Requirements vary with risk, architecture, sector, law, contracts and provider capabilities. Teams should involve qualified security, privacy, legal and operational owners.
Select one consequential agent action and attempt to reconstruct it from requester to recovery. The first missing evidence link is a concrete starting point for redesign.

