Implementation Guide

Notifying a Customer That an AI Agent Acted on Their Account

Notify the customer when an agent action changes account state, moves value, alters data, or changes access in a way the customer would need to review. Generate the notice from the governed tool-call and audit record, not from application code, so it names the same agent, delegated authority, action, and resources that the audit trail shows.

Decide which agent actions require a customer notice

Start by classifying agent actions. An action is notifiable when it does one of the following in a way the customer would need to review:

  • Changes account state.
  • Moves value.
  • Alters data.
  • Changes access.

Runtime policy can assign each call a notification class when it allows, blocks, or escalates the call. That class then determines whether a notice is generated.

Specify the data a notification must contain

A notice should name the same agent, delegated authority, action, and resources that the audit trail shows. At minimum, specify the following fields:

  • The agent that acted.
  • The delegated authority under which it acted.
  • The action taken and its confirmed outcome.
  • The resources affected.
  • A review path for the customer.
  • A reference to the audit record, with a hash or version of the rendered content stored for later comparison.

Generate notifications from governed events

The central design choice is where the notice originates. If each application composes its own message, the content depends on what that application happens to know, and it drifts from what the agent actually did. If the notice is derived from the policy-enforced tool-call event, it inherits the identity, permission, and outcome data already recorded for audit.

That points to a capture point at the layer every tool call passes through, such as a gateway or proxy in front of tools, including Model Context Protocol servers. At that layer, the policy decision, the agent identity, and the execution result can be recorded together. Trussed AI's runtime policy enforcement and audit logging operate at this kind of layer, which is why they are a natural source for notification events. The same pattern applies with any enforcement layer that produces identity-attributed records.

Trigger on the confirmed outcome, not on the request. A call that was blocked or failed should not produce a notice saying an action occurred, though a blocked attempt may still warrant an internal alert. For actions that require approval, send the customer notice after the approved action executes, and keep the approval decision in the same record chain.

Trigger points in the execution path

From agent action to customer notice, each notifiable action passes through the following stages.

  1. Tool callThe agent requests an action under a known identity.
  2. Policy decisionRuntime policy allows, blocks, or escalates the call and sets a notification class.
  3. Audit recordThe outcome is written as an identity-attributed event.
  4. NotificationA notice is rendered from the record and delivered with a review path.
  5. ReconciliationDelivery records are compared against notifiable audit records.

Failure modes and the controls that catch them

Missed notices

Missed notices usually come from events emitted outside the commit path. If the audit write succeeds and the publish step fails, the customer is never told. A transactional outbox, or an equivalent that ties event emission to the record write, removes that gap. A reconciliation job that lists notifiable audit records without a matching delivery record catches what remains.

Duplicate and delayed notices

Duplicate and delayed notices come from retries and queue backlogs. Use the action ID as an idempotency key so retries collapse into one notice, and alert when the age of undelivered notifiable events exceeds the window set for its class. Channel failures, such as a bounced email, should trigger a fallback channel or an in-account flag, and the failure should be recorded.

Divergence between the notice and the audit record

Divergence between the notice and the audit record is the failure most specific to agents. It occurs when the notice text is assembled from cached or application-side data. Render from the record by reference at send time, store a hash or version of the rendered content, and sample notices against their records as a routine check. Treat any mismatch as a defect in the audit pipeline, not only in messaging.

Channels, timing, and customer remediation

Three decisions shape how the notice reaches the customer:

  • Timing: send after the confirmed outcome, and for actions that require approval, after the approved action executes. Alert when undelivered notifiable events exceed the window set for their class.
  • Channels: when a channel fails, fall back to another channel or an in-account flag, and record the failure.
  • Remediation: deliver every notice with a review path so the customer can examine the action the agent took.

Build notifications on records you can defend

If your agent tool calls already pass through a policy enforcement layer with identity-attributed audit logging, notifications can be derived from that record. Talk through your action classes and trigger points with our team.

Talk to an Expert