Skip to content

The audit log is the product

When people first see Backa, they look at the Roll back button. It's the part that does something. But after a few weeks of use, the part people open every day is the list above it: a plain record of what the agents did. This is about why that list turns out to matter more than the button.

IdeasBacka··7 min read
LinkedIn X Email Markdown
HubSpot · Northwindamount 48,000 → 0Notion · Q4 plantitle changedJira · KAN-27Done → In ProgressSlack · #salesheld 2 minGmail · AnnasentSalesforce · Acmestage → wonroll backthe button is the small part

The short answer

You can only roll back what was written down. You can only trust what you can check. And you can only give an agent more freedom if you have evidence of how it used the freedom it had. All three come from the same place: a record of every change, with the before and the after, kept by something other than the agent. Rollback is one thing you can do with that record. It's not the only one, and over time it's not the most important.

The question everyone asks the next morning

The first serious question about an AI agent at work is rarely "can it do this?" It's "what did it do?" Asked the morning after, by someone who wasn't in the chat. The sales lead asking why twelve deals moved. The support manager asking who closed those tickets. The finance person asking why an invoice changed.

Today this question is surprisingly hard to answer. The chat that started it belongs to one person, and it may have been deleted. The agent itself doesn't remember. Each system has its own history, in its own format, with the change attributed to an integration or a shared account. Answering means opening five tabs and piecing it together.

An audit log answers it in one place: this agent, from this chat, by this person, changed these things in these systems, at these times, from these values to those. That answer is valuable even when nothing went wrong, maybe especially then. It is what lets the sales lead stop worrying.

five tabs9:02yesterday12 deals movedby ChatGPT, Maria's chatstage → closed lostone place, the answer

Why the record has to live outside the agent

You might ask: why not just have the agent keep notes? Models can summarise what they did, and many agent tools already show a list of steps.

There are three problems with that. First, the agent's notes are its own account of what happened, not what happened. Models describe their actions with confidence, and the description is sometimes wrong in small ways: a different record, a field it thinks it changed but didn't, a step it skipped. A record you can't trust is not a record.

Second, the notes live where the agent lives. When the chat is closed, the session ends or someone switches from ChatGPT to Claude, the notes go with it. An audit log has to survive the agent it describes.

Third, an agent's notes describe what it was asked to do. They rarely say what was there before. Without the before, you can't judge the change, and you can't roll it back.

So the record has to be written by something that sits between the agent and the systems, sees every call go by, and reads the old values before letting the change through. It doesn't have to understand the agent. It only has to be in the way, and honest.

The before is the hard part

Writing down that something changed is easy. Every system already does some version of it. Writing down what it was before the change, in a form you can use to restore it, is where the real work is.

It means reading the record just before it is changed. For a deal, that's the fields the agent is about to write. For a Notion page, it's the blocks it's about to rewrite. For a GitHub label about to be deleted, it's the label and the list of every issue it's on. For a SQL update, it's the rows that the statement will touch. Each system needs its own care. Get it wrong and the audit log looks complete but can't do anything.

That's why the audit log and rollback are the same piece of work. If you can put something back, the record was good. If you can't, it wasn't. Rollback is the test that keeps the audit log honest.

One list, every system

An agent doesn't care which system something lives in. A single request like "follow up on last week's demos" can touch the CRM, the calendar, a project board and a few emails. If each of those changes lands in a different history, nobody sees the request as one thing.

Putting every change in one list, grouped by the run it came from, turns a scattered set of edits into something a person can read: here is what happened when Maria asked for the follow-ups. Five changes, three systems, one email waiting in the outbound queue. That shape, one request becoming a group of changes across systems, is new with agents. No single system's history can show it.

follow up on last week's demosdealHubSpoteventCalendareventCalendartaskAsanaemailGmailone runroll back the whole run

The audit log as evidence

Once every change is written down, and every rollback too, you have something that didn't exist before: a history of how each agent does its work.

Some of the questions it answers are about quality. How many changes did ChatGPT make in HubSpot last month, and how many did people roll back? Are the rollbacks all of one kind, like discounts, or spread out? Is one person's agent rolled back much more often than the others? A rollback is a quiet verdict from a person who knew better, and adding them up gives you the most honest measure of agent quality there is.

Some are about trust. If an agent has made five hundred contact updates and people rolled back one, it has earned the right to make the next five hundred without anyone checking. If it has made fifty discount changes and people rolled back twelve, it should require approval. That's how a team gives a new colleague more room, and it works for agents if you keep the record.

And some are about what is normal. When an agent that usually changes ten records an hour suddenly changes four hundred, that is worth stopping, whether it's a misunderstanding, a loop or someone misusing it. You can only see unusual if you have written down usual.

The audit log as proof

There is a duller reason the record matters, and it may be the most important one for companies. When something goes wrong with customer data, someone will eventually ask for proof. What exactly changed? Who asked for it? When was it fixed? Was anything else touched?

An audit log that can be exported, that keeps old entries for a known time, and that can show it hasn't been edited after the fact, answers those questions without a week of detective work. This matters more as rules around AI at work get stricter, and auditors start asking for a record of what automated systems did with company data. Building that record after the fact is close to impossible. Keeping it from day one is cheap.

Keeping it small enough to read

There's a trap in all of this: a record of everything can turn into a list nobody reads. Log files are complete and useless for the same reason.

An audit log for people has to be written for people. Plain words instead of API names. "Changed the amount on Northwind from 48,000 to 0", not a JSON diff. Grouped by request, so sixty changes from one run are one line until you open them. Searchable by system, by agent, by person, by whether it can be rolled back. And quiet: the things that need a look rise to the top, and the rest stays out of the way.

Getting this right is most of the design work. The data is easy compared with making it something a busy person opens in the morning and closes a minute later, satisfied.

What the audit log shouldn't show

A record of everything also has to know who gets to see it. The audit log holds real data from real systems: customer names, deal amounts, the text of messages. Not everyone who can see that an agent made a change should see what it changed.

Some rules follow. People see the changes in systems they already have access to. Old entries can have their contents cleared after a set time while the fact that a change happened remains. And when Backa runs inside another company's product, that company sees counts, never its customers' records. An audit log that leaks would roll back the trust it was built for.

How Backa does it

Backa is built around the audit log. Every change an agent makes through it, in any connected system, is recorded before it happens: who asked, which agent, which system, what was there before and what it became. Changes from one request are grouped into a run. Each entry says whether it can be rolled back. Reliability adds it all up per agent, system and kind of change, and suggests where an agent can run on its own. Rollback is the button on each line. The line is the product.