
Your AI audit trail: what did your agents do last night?
Picture a Tuesday morning. A candidate calls your recruiting team, confused. She got a rejection email at 2:14 a.m. for a role she was told was still open. Your recruiter swears she didn’t send it. After some digging, someone remembers that the recruiting coordinator who left in September set up an agent that screens applicants overnight and “handles the follow-ups.”
So what did it do last night? Who else did it email? Which version of the screening instructions was it using? Nobody knows, because the only record is a chat history in an account that was shut off the day she left.
That’s a hypothetical. But every piece of it is ordinary: an overnight agent, a helpful builder, and no trail anyone else can read.
The short version:
- An AI audit trail is a record of what an agent or automation did, when, with what data, under whose account, and what came out the other end.
- Traditional workflow tools usually keep a run history. Agents built in chat tools often leave a conversation transcript at best, and it lives wherever the builder’s account lives.
- For AI used in hiring and other employment decisions, logs are about to become a legal expectation in the EU. Everywhere else, they’re what lets someone other than the builder audit, fix or take over the work.
Prefer to watch?
5-minute video
Plays from YouTube. Playing sets YouTube cookies.
The difference between a run history and a transcript
Workflow tools were built by people who expected things to break at 3 a.m. In n8n, for example, every run of a workflow is recorded as an execution, with lists you can filter by workflow, and you can copy data from a past execution to debug and re-run it. That’s an audit trail. Boring, and exactly what you want.
Agents are different. An agent built in a chat tool, or a script someone wrote with AI help, decides its own steps. If it keeps any record at all, it’s often a long transcript: useful to the person who built it, hard for anyone else to search, and stored in their account. When that person leaves, so does the transcript, and with it the only answer to “what did this thing do?”
Some platforms are closing the gap for company accounts. Microsoft’s documentation on audit logs for Copilot and AI applications says Purview automatically logs user interactions with Copilot, including which user, when, where, and references to the files and sites it accessed to answer. It also records agent details for agents built in Copilot Studio. That’s real progress. It also only covers work done inside the company tenant. The agent running on someone’s personal account doesn’t show up in anyone’s audit log but theirs.
Why HR should care about logs (yes, really)
The EU AI Act, Regulation (EU) 2024/1689, lists AI used in employment as high-risk in Annex III. That includes systems used to recruit, filter applications and evaluate candidates, and systems used to make decisions about promotion, termination, task allocation, and monitoring performance. Article 12 says high-risk systems must “technically allow for the automatic recording of events (logs) over the lifetime of the system.” Article 26 says companies that deploy them must keep those logs, to the extent they control them, for at least six months.
The timing moved. The European Commission confirmed that under the AI Omnibus, the rules for Annex III high-risk systems now apply starting December 2, 2027. That’s a reprieve, not a pardon. If your company hires in the EU, the screening agent in the opening scene is exactly the kind of system those rules have in mind.
And if you don’t hire in the EU, the business question is the same one the regulators asked: when an AI system touches a decision about a person, can you show what it did?
Why we care about this one
AI work is starting to look like a pile of tickets without histories. One person builds an agent, it quietly becomes a little micro department, and the only person who knows what it did last night is the person who built it. That works right up until their last day.
What a useful AI audit trail captures
You don’t need a SIEM or a data lake to start. You need answers to six questions, written down somewhere the company owns.
- What triggered it, and when. A schedule, a new email, a form submission, a person clicking a button. Start and end time.
- Which instructions and version. The prompt or instructions in effect for that run. Instructions change weekly; “it was using the old version” is the most common answer to “why did it do that?”
- What data it read. Which inbox, folder, spreadsheet or system, and which records.
- What it did or sent. Every external action: emails sent, records updated, files created. This is the line HR will want after the 2:14 a.m. email.
- Under whose account. Company account or personal. Whose credentials or API key.
- Who hears about failures. A named person, not “it emails the builder.”
Here’s what one row might look like for the screening agent in the opening scene. This is an illustrative example, not real data.
| Question | Example entry |
|---|---|
| Trigger | Nightly schedule, 2:00 a.m., 14 new applications |
| Instructions | Screening prompt v7, last edited Sept 3 by J. Rivera (example) |
| Data read | Careers inbox; requisition list spreadsheet |
| Actions | 9 advanced, 5 rejection emails sent |
| Account | J. Rivera (example) personal email login |
| Failure alerts | J. Rivera (example) only |
Look at the last two rows. That’s the whole problem in two cells: the agent runs on a departed employee’s login and reports its failures to someone who no longer works there.
Three things to do this month
Find the agents that act while nobody’s watching. Ask each department one question: “What runs on its own, on a schedule or a trigger, using AI?” Overnight and event-driven work is where missing logs hurt most, because nobody sees it happen. Our post on shadow AI detection covers how to find the ones nobody mentions.
Move anything that touches people decisions onto company accounts. Hiring, scheduling, performance and termination workflows shouldn’t run on a personal login. On a company account, you at least have a chance at platform audit logs. On a personal one, you have a farewell email.
Write the six answers into the runbook. Every AI workflow that acts on its own should have a runbook that says where its logs live and how long they’re kept. Our AI runbook template has a section for exactly that, and our post on key person risk explains why the builder shouldn’t be the only one who can read them.
Quick answers
What is an AI audit trail? An AI audit trail is a record of each run of an AI agent or automation: what triggered it, what instructions and data it used, what actions it took, and whose account it ran under. It lets someone other than the builder explain, fix or take over the work.
Does the EU AI Act require logging? For high-risk AI systems, yes. Article 12 requires them to allow automatic logging, and Article 26 requires deployers to keep logs they control for at least six months. AI used in recruiting and employment decisions is listed as high-risk, and those rules now apply from December 2, 2027.
Is a chat transcript an audit trail? Partly. It shows what the agent said, but often not which instructions version ran, which records it touched, or what it sent. And if it lives in a personal account, the company can’t count on having it.
Logs are a handoff document
An audit trail isn’t just for regulators or for the bad night. It’s how the next person learns what the agent actually does, as opposed to what everyone thinks it does. If the only person who can answer “what did it do last night?” is the person who built it, you have an agent and a single point of failure, and only one of them shows up to work.
That question is a big part of why we started figmentIQ. If you’d like a second set of eyes, we’re happy to help. Our AI Continuity Assessment takes one department and two weeks. We find the AI work that team relies on, including what runs overnight, score how exposed it is, and write Continuity Runbooks for the three riskiest items. If we find nothing at risk, you don’t pay.
If you’d rather start with the inventory, see how our AI Agent Registry keeps track of who built what and where it runs.