If you can’t rebuild what it did, you have logs, not a trail.
An AI agent plans, reads from your CRM and billing, and sometimes writes back. When something goes wrong, you need to replay the whole job and see who said yes. Here is what an audit trail should record, and where Bob stands today.
- Every step under one job
- Who approved, beside what they approved
- Cost on every job

The short answer.
An AI agent audit trail is a time-ordered, tamper-evident record of everything an agent does: the request that started it, every step it took in your apps, the data it read, each change to a system of record, the person who approved anything consequential, and the result.
To be useful for compliance and incident review it has to be append-only, stamped in one time zone (UTC), tied to one ID per job, and kept long enough to meet GDPR and the EU AI Act. If you can’t rebuild exactly what the agent did and who signed off, you don’t have an audit trail. You have logs.
Where Bob stands today.
Far beyond a chat transcript, and honest about the one thing we don’t claim.
Everything under the run
What started it, every step in your apps, what each one sent and got back (encrypted), approvals and denials, whether it finished, and its credits, time and step count.
Who taught him what
Every fact Bob remembers carries who taught it and when, so you can trace an answer back to its source.
No locked archive from us
Bob does not yet offer a tamper-evident, write-once export. Teams that need one should copy the run data into their own locked store.
Why an agent needs a different kind of record.
Ordinary app logs answer “what did the server do?” An agent’s trail has to answer a harder question: what did an autonomous worker decide to do for us, with our tools, and why?
One instruction such as “update the renewal date for Acme” can fan out into a dozen reads and two or three changes across different apps. A plain log leaves you guessing. A real trail lets you replay the sequence. It is the same reason the five controls that matter before an AI agent touches your CRM put records and approvals side by side: an approval you can’t later prove is not a control.
| Term | The question it answers | Who reads it | Kept for |
|---|---|---|---|
| App logs | Is the system healthy? | Engineering | Days to weeks |
| Performance traces | Why is it slow or failing? | Whoever is on call | Weeks |
| Audit trail | What did the agent do, and who allowed it? | Compliance, security, legal | Months to years |
An audit trail is a legal and security record. You can’t quietly edit it, you keep it longer, and someone who isn’t an engineer has to be able to read it.
What every entry should hold.
| Field | Example | Why it matters |
|---|---|---|
| Job ID | trc_9f2a... | Ties every step of one job together |
| Which agent, which version | [email protected] | Which agent, model and instructions acted |
| What started it | A message from a named person | Shows intent and origin |
| Kind of action | A read, a record change, an email sent | Separates reads from consequential changes |
| What went in and came out | The query and result, personal data hidden | Rebuilds what data was touched |
| Why | “Renewal date empty, user asked to set it” | Explains the decision, not just the result |
| Who said yes | Approved by a named person at 14:02 UTC | Proves sign-off before a change |
| When | UTC, to the millisecond | Order, and a record that holds up |
| Result | Done, or failed and why | Whether the action actually landed |
The two teams skip most are the why and the who said yes. Without them you can see a record changed, but not why the agent thought it should, or who let it.
Record every action. Gate only some.
| Kind | Examples | Record it? | Ask first? |
|---|---|---|---|
| Read | Look up an account, sum up a thread | Yes | No |
| Undoable change | Draft an email, add an internal note | Yes | Optional |
| Consequential change | Update a CRM field, refund, email a customer, delete data | Yes | Yes |
| Irreversible or money | Move money, cancel a subscription, bulk delete | Yes | Yes, with a named approver |
A hundred rubber stamps are worse than none.
Security researchers keep naming confirmation fatigue as the main obstacle to human oversight at scale. Flood people with prompts and they stop reading and tap Approve to clear the notification. A trail full of those looks like oversight and isn’t.
- Ask on risk. Dollar amount, outside recipient, no undo. Not every change.
- Show the before and after. A real approval takes 15 seconds, and a suspicious one gets caught.
- Expire to no. An approval left unanswered should fail closed, never pass on its own.
Bob is built this way. Reads keep moving, sensitive changes pause with the app and action named in the HeyBob app or Slack, and the decision sits beside the step and its result. The sign-off, the attempt, the outcome and the receipt belong to one job instead of four systems. More in the approval playbook.

Integrity, and personal data.
A record you can edit isn’t evidence.
The baseline is append-only storage nobody can rewrite. Stronger setups chain each entry to the one before, so a gap or an edit shows. Use write-once storage, keep the account that writes the trail apart from the one that can delete it, and set every clock to UTC from a trusted source.
Enough to rebuild, not enough to leak.
The trail will touch personal data, which puts it under privacy law. Hide or swap out names and details in what you record, but keep a reference an authorized investigator can relink under controlled access. Bob encrypts what each step sent and got back, and a meeting’s audio is never kept at all.
The rules that will ask for it.
| Framework | What it requires | What it means for the trail |
|---|---|---|
| GDPR Article 30 | Records of processing | Note what personal data the agent touched, and why |
| EU AI Act Article 12 | Automatic event records over a high-risk system’s life | Traceability, from August 2026 for high-risk systems |
| NIST AI RMF | Govern and Measure: accountability and monitoring after launch | Ongoing records so activity stays visible |
Article 12 of the EU AI Act requires high-risk systems to “technically allow for the automatic recording of events (logs) over the lifetime of the system.” GDPR Article 30 requires records of processing. The NIST AI Risk Management Framework puts records at the center of accountability. Building to them now is cheaper than retrofitting later.
How long to keep it, and where cost fits.
| Driver | Typical retention |
|---|---|
| GDPR processing records | For as long as the processing runs, plus a defensible period |
| EU AI Act high-risk records | At least 6 months, unless other law asks for longer |
| Internal incident review | 90 days close at hand, then archived |
Your strictest rule sets the number, not convenience. Keep recent entries where they are quick to search and older ones in a cheaper locked archive, with a written deletion schedule so you don’t hold personal data longer than you can justify.
Put the cost in the trail.
An agent does 5 to 30 times more model work per job than a chatbot, because each planning step resends everything so far. That makes cost per job a real line item and a warning light: a job that suddenly costs 20 times the norm is often a loop, a bad step, or an agent doing more than you meant. Bob puts the credits on every job’s receipt, and the Activity page exports every action to a spreadsheet. See how to track and cap AI agent costs.
A build checklist.
- Give every job one ID at the start and attach it to every step.
- Record which agent and version (model and instructions) took each action.
- Record what went in, what came out and a short why, with personal data hidden.
- Mark reads, undoable changes and consequential changes as different kinds.
- Put the approver and the time in the same entry as any gated change.
- Store it append-only, chained, stamped in UTC, on write-once storage.
- Ask for approval on risk signals, not categories, to avoid rubber-stamping.
- Set retention to your strictest rule and write down the deletion schedule.
- Make it readable by someone who isn’t an engineer.
For where Bob runs and how data is handled, see the security page.
Common questions.
What's the difference between an AI agent audit trail and application logs?
App logs tell engineers whether the system is healthy. An audit trail is a compliance and security record that rebuilds what an autonomous agent did, on whose authority, and with what result. It has stricter integrity, retention and readability needs.
What should an AI agent audit trail log?
At minimum: one ID per job, which agent and version acted, what started it, the kind of action, what went in and came out with personal data hidden, a short reason, who approved it, a UTC time and the result. Consequential changes should also record who approved them.
How long do I need to keep AI agent audit logs?
It depends on your obligations. EU AI Act guidance points to at least six months for high-risk systems unless other law requires longer, and GDPR ties retention to the life of the processing. Keep to your strictest rule.
Do audit trails satisfy the EU AI Act?
Article 12 requires high-risk AI systems to record events automatically over their lifetime. A complete, locked, time-stamped trail is a core part of meeting it, though the Act also asks for documentation, risk management and human oversight beyond records alone.
How do I prevent approval fatigue from hollowing out the trail?
Ask for approval on risk signals like dollar amount or no undo rather than every change, show reviewers a clear before and after so a decision takes seconds, and make expired approvals fail closed instead of passing on their own.
Should the audit trail include cost?
Yes. Recording what each job cost turns the trail into an early warning: a job that suddenly costs many times the norm usually means a loop or something unintended. It also lets you see spend by agent, person and workflow.
Sources.
Every step, every yes, every credit. Under one job.
Hand Bob one real task and read the record he leaves. $100 of work, on us.