The short answer
An AI agent audit trail must record, for every run, who asked for the work, what the AI agent did, which systems it touched with which arguments, who approved it and what it cost. That takes two records: one of every call to a model, and one of every action and change of setting. Then decide who may read them and how long they are kept.
Two records, not one
The run record. Every call to a model is a run: the provider and model, the tokens in and out, the estimated cost, how long it took, whether it succeeded, and each tool call with its step number and a shortened result. It is linked to the conversation, task or message it served, so a cost or a failure can be traced to the work.
The audit log. Every action and change that matters is an entry. It records who did it (a person or a colleague), what it was and on which target, a summary with the details and, for people, the IP address and browser. Connecting an integration, publishing a flow, deciding a checkpoint, running a command on a server, a guard refusing something: each leaves a line.
Run receipt · 14:10:31Succeeded
- Provider · model
- Anthropic · claude-sonnet-5
- Tokens in / out
- 3,412 / 286
- Estimated cost
- $0.0097
- Duration
- 2.1 s
- Served
- Task · ticket #20417
Tool calls
- 1
zendesk_get_ticket#20417 · “Invoice paid twice” - 2
search_knowledge3 passages · Refund policy - 3
create_subtask“Check the payment” → Otis
Task total $0.0220Subtask, its own total: $0.0003
Showing 7 of 7 events
- Approved
mollie_create_refund· €48.00 on #20417Jorien - Requested
mollie_create_refundin the refund flowIris - Changed model for Iris →
claude-sonnet-5Matt - Budget warning · Support desk at 80% of its capsystem
- Rejected
zendesk_add_comment· reason sent to NovaIlse - Run completed on
mistral-small-latest· $0.0004Nova - Added reviewer Jorien to Support deskMatt
Filter on screen, export when someone needs the file.
Keep it readable
A record nobody can read is not oversight. In Infinized the audit log is a page you can filter, and it exports to CSV by date range and action, with a daily export for teams that keep their own archive. Costs roll up per colleague, per team and per model, with a month-end forecast.
A worked example: who approved this refund?
A customer questions a refund. Filter the audit log on that action and the date range. The entry shows which AI agent proposed the refund, with which arguments, who approved it and when. The run record of the task behind it adds the model, the tokens, the estimated cost and each tool call in order. Together the two records answer who asked, what was done, who decided and what it cost, without anyone having to remember.
Decide who may read it
Reading the audit log is a permission of its own. Owners and admins have it. Other roles do not, unless it is granted to someone individually. Keep that circle small: the log shows what colleagues did in your systems.
Decide how long it is kept
By default, Infinized keeps full run records for 30 days, then daily roll-ups for 180 days, and audit entries for 365 days. If you need longer, for your own obligations as a deployer under the AI Act or for a contract, export the log and keep it yourself.
See audit trail.