Reusable ledgers improve efficiency of agent policy auditing
Write Once, Check Many: Reusable Ledgers for Post-Hoc Policy Compliance Auditing of Agent Trajectories
Computation and LanguageArtificial IntelligenceMachine Learning
Summary
Checking if AI agents follow safety rules can be slow because auditors must review entire action histories every time for each new rule. The authors propose making a single, rule-independent summary called a ledger for each agent’s actions. Then, auditors can quickly check different rules against this ledger without seeing the full history again. Tests show this approach uses fewer tokens and matches or beats traditional checking using the full records.
What this means in practice
- •For ai safety teams: Verify compliance of autonomous agent actions against multiple rules efficiently without rerunning full trajectory analysis.
- •For software quality assurance teams: Reuse summarized execution records to audit software agent behaviors against new policies without costly reprocessing of logs.
Authors
Ashwin Nagarajan, Gursimran Panesar, Alicia Yang, Mona T. Diab, Virginia Smith, Aashiq Muhamed
Abstract
Auditing LLM agents against policies is critical to ensure safety but requires rereading long trajectories once per policy. Can we instead record each trajectory once and reuse that record for policies not known in advance? We propose write once, check many, a framework in which a writer model converts each agent trajectory into a policy-independent ledger of the agent's actions and outcomes. A reader then checks each new policy against the ledger alone, without access to the original trajectory. On 900 trajectories from SHADE-Arena, $τ$-bench, and $τ^2$-bench, we show that a 12B reader of narrative ledgers can either match or in fact achieve higher AUC than the same 12B model reading full trajectories. On SHADE-Arena policies that combine several facts, our approach outperforms a 31B model reading the trajectory (.777 vs. .713 AUC). When checking eight SHADE-Arena policies separately, ledgers use about $5\times$ fewer tokens, including the cost of writing them. A deeper analysis shows that rule-based extraction performs better on some single-action policies, and ledgers can miss evidence in long tool outputs and message contents. Our results suggest that reusable, policy-independent records can make retrospective agent auditing more efficient and effective, and highlight important considerations in ledger design.