Independent analysis by NHI Mgmt GroupSource article: HikmaAI, “When an AI agent takes action, what should you record?” (September 11, 2026)

TL;DR: AI agent auditability depends on linking who acted, what they tried to do, what authority applied, what the control decided, and what actually happened, according to HikmaAI’s analysis of reviewable action records. Transcripts alone are insufficient because they do not prove authorisation, enforcement, or outcome.


At a glance

What this is: NHI Mgmt Group's analysis, drawing on HikmaAI's blog post: AI agent audit records need five linked answers to make actions reviewable, and transcripts alone do not prove what was authorised or what happened.

Why it matters: IAM, PAM, and AI governance teams need evidence that ties agent intent, policy, approval, and execution together, or audit trails will misstate what the agent was allowed to do.


Context

An AI agent is a software actor that can take steps on behalf of a person or service, which makes the action record more important than the chat transcript. The governance gap is not visibility alone, but whether a reviewer can reconstruct the request, the rule, and the result from one linked record.

For agent governance, the record has to survive policy drift and execution failure. A later policy change must not rewrite an earlier decision, and an approval must remain distinct from the tool action it permitted.


Key questions

Q: What should IAM teams require from AI agent audit logs?

A: Logs should identify the human initiator, the agent action, the permission set in force, and the time of execution. That level of attribution is what makes agent-driven activity reviewable, contestable, and defensible in an enterprise environment, especially when the action has financial or operational impact.

Q: Why is a transcript not enough for agent governance?

A: A transcript shows what an agent said or tried to do, but not the runtime context that made the action safe or unsafe. Governance needs the authorised human owner, the tool invoked, the data accessed, the policy checked, the approval state, and the final action taken, because intent alone cannot prove delegated authority or containment.

Q: How can organisations separate agent approval from execution?

A: Organisations separate approval from execution by requiring a human or policy engine to authorise the action, then letting the agent carry it out only through a tightly scoped token, delegated credential, or JIT grant. The approval record and the execution record must stay distinct so revocation, audit, and exception handling are possible.

Q: What should a reviewable AI agent record contain?

A: A reviewable AI agent record should contain the agent identity, the accountable human, the prompt or task, tool calls, input and output data references, policy decisions, approvals, timestamps, and the exact action result. That evidence lets reviewers reconstruct delegated authority, detect scope creep, and verify whether the agent acted within its permitted runtime boundaries.


Technical breakdown

Stable identity and delegated authority

A reviewable agent record starts with a stable identifier for the agent and, where relevant, the human or service that authorised the task. A display name is not durable enough because it can change, and a transcript rarely distinguishes between the actor that requested work and the authority that granted it. The useful model is identity plus delegation, not identity alone. That distinction matters because the control question is not just who typed or triggered a request, but who was permitted to act under that request. When the authority chain is missing, later reconstruction becomes guesswork. See the Agentic AI Identity Guide.

Practical implication: Store the agent identifier and authorising principal together so investigators can reconstruct delegated authority without relying on mutable labels.

Policy version, decision, and outcome are separate events

Good action records keep the policy version that applied at the moment of the request, the control decision, and the tool outcome as distinct fields. That separation prevents a later policy edit from rewriting an earlier event and avoids the common mistake of treating approval as execution. An allowed request can still fail, and a blocked request can still reveal what the agent attempted. Forensic value comes from preserving the state at decision time, not from collapsing everything into one log line. Without that separation, audit data becomes narratively tidy but operationally weak. See the AI Agent Observability, Audit and Incident Response Guide.

Practical implication: Record the exact policy version, the allow or block decision, and the tool result as separate fields in every agent action trail.

Sensitive traces need selective capture, not full transcript storage

OpenTelemetry guidance for AI activity warns that tool arguments, tool results, and messages may contain sensitive data. That makes raw transcript capture a storage problem as well as an observability problem. The better pattern is to retain identifiers, categories, rules, and outcomes by default, then capture raw content only when a specific investigation or legal duty requires it. This is not about reducing evidence quality. It is about preventing logs from becoming a second customer-data store. The audit trail should be useful enough for review, but narrow enough to limit exposure and retention burden.

Practical implication: Default to structured metadata and isolate raw content behind tighter access controls and justified retention when an investigation needs it.


Threat narrative

Attacker objective: The objective is to make agent actions hard to audit so that unauthorised or unsafe changes blend into ordinary workflow evidence.

  1. entry: The agent receives a task that can send information or change records, so the initial risk is a legitimate request that is not yet bounded by a durable action record.
  2. escalation: The request crosses a control boundary when the agent invokes a tool or changes data, but the authority version and decision state are not preserved together.
  3. impact: Reviewers cannot reliably tell whether the action was authorised, blocked, completed, or retried, which weakens accountability and forensic reconstruction.

Read and download The State of NHI & AI Agent Breach Report 2026, covering 200+ breaches impacting Non-Human Identities including AI Agents.


NHI Mgmt Group analysis

Action records, not transcripts, are the real governance object for AI agents. A transcript shows conversation, but governance needs evidence of delegation, control decision, and outcome. When an agent can send, change, or delete data, the relevant question is whether the action was permitted and what happened next. That is why the record must join request, rule, and result into one reviewable trail.

Policy versioning is the difference between accountable history and rewritten history. If a later policy change can overwrite the context of an earlier agent action, the record stops being evidence and becomes retrospective storytelling. The control state at decision time must remain intact so investigators can reconstruct what was allowed under the rules in force.

Selective capture is a governance control, not an observability compromise. Logs that absorb full prompts, tool arguments, and tool results can become a second data store with their own retention and access risks. The useful pattern is structured metadata by default, with raw content only when investigation or legal need justifies it.

Evidence becomes actionable only when approval and execution stay separate. Many programmes implicitly treat approval as proof that the tool action succeeded, but that assumption fails once retries, cancellations, or downstream errors enter the picture. The control boundary must preserve both the decision and the execution outcome so responsibility does not blur across steps.

From our research library:

What this signals

Access review processes assume privilege persists long enough to be certified, but AI agent actions can finish before a reviewer ever sees the full context. That shifts governance toward issuance-time evidence and shorter-lived, better-scoped delegation records.

Decision-trail governance: agent oversight now depends on preserving the control decision alongside the action outcome, because the log has to explain why an action was allowed, not just that it occurred.

The 69% of security leaders who agree identity management must fundamentally shift to address agentic AI systems, according to the 2026 Infrastructure Identity Survey, are pointing to a real operating change rather than a tooling tweak.


For practitioners

  • Separate approval from execution in every agent workflow Record the control decision, approver, and execution outcome as distinct events so a failed or retried tool call cannot be mistaken for an approved and completed action.
  • Persist the policy version that governed the action Keep the exact policy or rule version that applied at decision time, because later policy edits must not rewrite the evidence for an earlier agent action.
  • Use stable agent identifiers in all action trails Log the agent's durable identifier and the authorising principal, not a display name, so reviewers can reconstruct delegated authority across systems.
  • Limit raw transcript retention by default Store identifiers, categories, decisions, and outcomes first, then protect raw prompts and tool arguments behind narrower access controls when an investigation requires them.

Key takeaways

  • AI agent governance depends on a linked action record, not a transcript, because reviewers need the request, rule, and result in one place.
  • Separating approval, policy version, and execution outcome preserves accountability when agent actions are retried, blocked, or fail after approval.
  • Structured metadata should be the default evidence layer, with raw prompts and tool outputs captured only when an investigation or legal need justifies it.

Related NHI Mgmt Group resources: AI Agent Observability, Audit and Incident Response Guide · Agentic AI Identity Guide · AI Agent Authorisation Guide · Agentic AI Security Guide


Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

OWASP Agentic AI Top 10 and OWASP Non-Human Identity Top 10 address the attack and risk surface, while NIST AI RMF and NIST CSF 2.0 set the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
OWASP Agentic AI Top 10ASI03 — Identity & Privilege AbuseAgent action records exist to prove who had authority to act and under what scope.
Recommendation — Record delegated authority and action scope so agent privilege can be reconstructed after the fact.
NIST AI RMFGOVERN — AI Governance and AccountabilityThe article is about governance records that preserve accountability for AI actions.
Recommendation — Define governance records that preserve decision, approval, and outcome evidence for AI activity.
OWASP Non-Human Identity Top 10NHI-10 — Human Use of NHIAgent actions are identity-bound non-human activity that needs auditable traceability.
Recommendation — Ensure NHI audit trails tie each action to a durable identity and authorising principal.
NIST CSF 2.0PR.AA-05 — Access Permissions, Entitlements and AuthorizationsThe control decision and authority version are central to proving whether an action was allowed.
Recommendation — Preserve entitlement state at decision time so authorisation evidence remains defensible.

Key terms

  • Delegated authority: Delegated authority is permission given to one identity to act on behalf of another within defined limits. In identity systems, it enables an agent, user, or service account to perform approved actions without owning the underlying rights, using scoped tokens, roles, or approvals to constrain access and accountability.
  • Control Decision: A control decision is the authorisation outcome that permits, denies, or constrains an action. In autonomous systems, it is the policy result applied before a tool call, data access, or side effect, and it should be recorded with the actor identity, context, and scope for audit and review.
  • Tool Outcome: A tool outcome is the result returned after an agent or automated process uses a tool. It can be a successful change, a read result, an error, or a partial action, and it should be logged with the tool name, target resource, and execution context so the outcome can be reviewed and attributed.
  • Policy Versioning: Policy versioning is the practice of tracking which revision of an access policy produced a given decision. It matters because authorization rules evolve, and without version history, teams cannot reliably reconstruct why access was granted or denied at a specific point in time.

Deepen your knowledge

NHI governance, agentic AI identity, and machine identity security are core topics in our NHI Foundation Level course, the industry's only accredited NHI security programme. If you are responsible for identity security strategy or NHI governance in your organisation, it is worth exploring.
NHIMG Editorial Note
Published by the NHIMG editorial team on November 25, 2026.
NHI Mgmt Group, the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org