← Insights

The ledger: explainability and audit for autonomous work

If you cannot say why an agent did something, you cannot defend it, improve it or stop it doing it again. A decision ledger turns autonomous work into something you can explain.

Tame Mehrabi · October 31, 2026

When a person makes a consequential decision at work, we expect them to be able to explain it: what they knew, what they considered, why they chose what they did. When software makes a decision, we have usually relied on the software being deterministic: the same input gives the same result, so the code is the explanation.

AI agents are neither. Their decisions depend on a model's reading of a situation, which varies, and the model cannot reliably recall afterwards why it did what it did. If you want explainable autonomous work, you have to record the explanation at the moment of decision. That record is a ledger.

Logs, transcripts and ledgers

Most teams already have two kinds of record, and neither is enough.

System logs record what happened at a technical level: requests, errors, timings. They are essential for engineers and nearly useless for a manager asking "why did we email those customers?".

Chat transcripts record what the model said. They are readable, but they mix reasoning with chatter, they are long, and they record the model's account of its actions, not the actions themselves. A transcript can say "I updated the price" when the update failed.

A decision ledger is different. It is an append-only sequence of structured entries, one per decision, each answering the same questions:

  • What was decided or done (the tool and its exact arguments, or the plan chosen).
  • Why: the reasoning given at the time, and the evidence it relied on.
  • Under what authority: the policy that applied, the risk class, who approved.
  • With what effect: the result returned, and later the measured change.
  • At what cost: model usage, time, calls against budget.

What belongs in the ledger

For an outcome-driven agent, a useful ledger records at least:

  1. The contract: the target, deadline, budget and boundaries agreed before work started, and any changes to it.
  2. Each plan and re-plan, with the reason the previous plan was replaced.
  3. Each proposed action, its risk class and the policy decision: ran, waited, denied.
  4. Each approval or rejection, by whom, of exactly what.
  5. Each measurement and verdict, with the evidence, as described in Measured, not self-reported.
  6. Stops: budget reached, kill switch, target met, target abandoned, and why.

The discipline is that entries are written by the platform as things happen, not composed afterwards by the model.

Who uses it

Auditors and compliance teams use the ledger to answer "who authorised this, under what rule?". Regulation is moving in this direction. The EU AI Act requires high-risk AI systems to allow automatic recording of events over their lifetime (Article 12 of Regulation (EU) 2024/1689, published on EUR-Lex), and the US National Institute of Standards and Technology's AI Risk Management Framework stresses documentation and traceability (nist.gov). Whether or not your use is in scope, those are a fair description of what a careful board will ask.

Managers use it to understand progress and to decide whether to widen or narrow an agent's authority. A ledger that shows a month of correct, approved writes is the evidence for letting that class run alone; see Letting agents act without losing control.

Engineers use it to fix things. A failed run with a ledger shows the exact decision that went wrong and the evidence that misled it. Without one, you are re-running and hoping.

An example question, answered

Suppose a manager asks on a Monday: "Why did the product page for our best seller change on Saturday?" Without a ledger, someone searches the content history, finds the edit was made by an agent's service account, and starts reading chat transcripts. With one, the answer is a short chain: the outcome to raise conversion on top products was agreed on Thursday by a named person; on Friday the engine's second plan proposed rewriting the description; the call was classed as Publish and waited; a named approver accepted that exact text on Saturday morning; the page has since been measured twice, with the readings attached. The manager can then decide whether to keep the change, reverse it, or tighten the rules, from evidence.

Designing for explanation

A few choices make the difference between a ledger people read and one they ignore:

  • Structured first, prose second. Fields that can be filtered (tool, class, approver, outcome), with the reasoning as text alongside.
  • Linked records. Each entry points to the run journal, the audit trail of the content it changed, and the approval request. Explanation often spans systems.
  • Append-only. Corrections are new entries, never edits.
  • Readable by tools. If agents and people can query the ledger through the same tools, an agent can be asked to explain a past run, and its answer will cite entries rather than memory.
  • Mind what you store. A ledger that copies sensitive data into reasoning text becomes a liability. Record references, not contents, where the data is sensitive.

Where this leads

In Saledge every outcome run writes a ledger: the contract, each plan, each tool call with its risk class and policy decision, each approval, each measurement and verdict, each stop, with reasoning and cost. It links to the workflow run journal and the content audit trail, and agents can read it through a tool, so "why did this happen?" has an answer from the record.

GovernanceOutcomes