Ledger: A Path-Validated, Database-Grounded Benchmark for Enterprise Web Agents

Xiao Yang, Mo Sha, Yiran Li, Chengjin Tian, Sheng Wang, Fangyuan Zhou, Feifei LiNeurIPS 2026 Evaluations and Datasets Track Poster 2026

TL;DR

If an AI web agent clicks around an enterprise system and lands on a screen that looks like a posted invoice, did it actually do the job right? Ledger argues that for enterprise software, correctness lives in the database, not on the screen. The authors introduce a 424-task benchmark on a real open-source ERP (Odoo 19) that scores browser agents by diffing the underlying PostgreSQL database and auditing server-side operation traces—no LLM judges required.

What Problem Does This Paper Address?

Most web-agent benchmarks judge success using surface-level proxies: checking if a URL changed, matching DOM elements, or asking a vision-language model to eyeball a final screenshot. That works fine when the webpage itself is the product.

Enterprise Resource Planning (ERP) systems—which handle a company's sales, inventory, accounting, and HR—are a different beast. In an ERP, two completely different click paths can end on the exact same-looking invoice screen while leaving behind very different database records, broken accounting links, or silently modified customer data. Worse, ERP interfaces are full of dense editable tables, status-bar state machines, and stacked modals where a wrong click can be a silent no-op. Ledger bridges this gap by evaluating agents on what they actually committed to the transactional ledger and how they got there.

Methods

Ledger wraps a production-grade open-source ERP (Odoo 19) in a deterministic, judge-free evaluation pipeline. Agents operate under a strict browser-only contract (they can click, type, scroll, and read the DOM or screenshots, with no direct database access).

Figure 1: Ledger overview: task suite, browser-only agent, and dual-layer (state + trace) evaluator.

To make scores auditable and reproducible, every episode follows three core mechanisms:

  1. Per-Episode Snapshot Isolation: Before each task, the evaluator spins up a fresh, ephemeral PostgreSQL database using pg_restore, seeds the initial state, and boots a dedicated ERP process on a dynamic port. Concurrent runs never interfere with one another.
  2. State-Level Scoring (Atomic Edit Sets): Rather than checking raw UI text, Ledger reads the database before and after the run via XML-RPC, normalizes the values, and computes a field-level diff called an Atomic Edit Set ((model, key, field, op, value)). It then computes precision, recall, and $F_1^{\text{st}}$ against an oracle edit set. Over-editing unrelated records hurts precision; missing required edits hurts recall.
  3. Operation-Level Scoring (Canonical Operation Tracing): A lightweight server-side addon instruments Odoo's request dispatchers to log canonical operations (like sale.order.action_confirm). Tasks declare sparse sets of required operations ($\mathcal{C}^+$) and forbidden operations ($\mathcal{C}^-$)—for instance, deleting an order instead of canceling it. This checks process compliance without forcing agents onto a single rigid click path.

Datasets

The authors introduce Ledger, a suite of 424 oracle-certified task instances spanning 54 functional modules of Odoo 19 (including order-to-cash, procure-to-pay, HR, manufacturing, and Website/PoS).

Every task ships with a Playwright oracle script that proves the target state is reachable through the browser. Tasks are authored across five "failure-exposure" tiers: closed-loop cross-module workflows, policy-trap wizards, side-effect-trap surgical edits, recovery/rollback from locked states, and deep UI interactions. Unlike prior enterprise benchmarks (such as WorkArena or TheAgentCompany), Ledger jointly grounds its primary metrics in field-level database deltas and server-captured operation traces under per-episode database isolation.

Key Insights and Ideas

  • The harness matters as much as the model: Holding the LLM backend fixed (qwen3.6-plus), different agent harnesses—the scaffolding around the model—spanned 51.6 percentage points in Task Success Rate (TSR), from browser-use at 65.3% down to OpenBrowser at 13.7%.
  • State and trace catch different failures: Across 2,968 task–configuration pairs, the server trace flagged 15 episodes that triggered a forbidden operation—including 3 runs whose final database state was 100% exact and would have passed an outcome-only check. Conversely, most failed runs had no missing required operations and were caught only by the database state diff.
  • Long-horizon workflows remain a bottleneck: Even the strongest configuration drops from 81.6% overall TSR to 72.5% on multi-step tasks requiring two or more canonical operations, and the Cross-Module Workflow category shows a massive ~73-point spread between the best and worst agents.

Key Results

The authors evaluated seven contemporary browser-agent configurations (pairing harnesses with backends like claude-sonnet-4-6, qwen3.6-plus, kimi-k2.6, and gpt-4.1-mini):

  • Top performer: Magnitude (claude-sonnet-4-6) achieved 81.6% TSR, 84.5% mean $F_1^{\text{st}}$, and 95.9% required-operation recall, with a 7.3% side-effect violation rate (SEVR).
  • Mid-tier: browser-use (qwen3.6-plus) reached 65.3% TSR, followed by Notte (qwen3.6-plus) at 53.5%, and Agent-E (kimi-k2.6) at 50.7%.
  • Lower-tier: Skyvern (kimi-k2.6) scored 30.9% TSR, Stagehand (gpt-4.1-mini) 14.4%, and OpenBrowser (qwen3.6-plus) 13.7%.

Limitations and Future Work

Ledger is currently instantiated only on Odoo 19; porting it to other ERPs depends on what state-access and audit hooks those platforms expose. Because forbidden-operation lists ($\mathcal{C}^-$) are deliberately conservative, an agent could theoretically take an undeclared harmful shortcut without being flagged (though full traces are released for post-hoc auditing). Finally, the current suite uses English prompts, runs mostly as an admin user, and reports single-run headline numbers without estimating run-to-run variance—leaving role-restricted, localized, and multi-user enterprise scenarios for future work.

Summary updated

BibTeX
@inproceedings{yang2026ledger,
  author = {Xiao Yang and Mo Sha and Yiran Li and Chengjin Tian and Sheng Wang and Fangyuan Zhou and Feifei Li},
  title = {{Ledger: A Path-Validated, Database-Grounded Benchmark for Enterprise Web Agents}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=LUGEM2rYcv},
}
Figure