Agentic Transaction: Towards ACID-Compliant Agent Systems
Zhaoyan Sun, Xiaoxiao Wang, Guoliang Li
cs.DB, cs.AI, cs.CL, cs.LG
2026-08-14
A Tsinghua database group reinterprets ACID as four semantic guarantees for agent execution (commit-or-retry cycles, confidence-divergence validation, dependency-aware isolation, transactional memory) and beats Claude Code by 10.6% on KramaBench with the same backbone, while a local 0.6B model supplies the confidence signal.
Once agents stopped being chat assistants and started running dozens of steps over real environments, they hit problems databases solved four decades ago: reliable execution, consistent outcomes, safe concurrency, recoverable state. In practice, one agent running the same task three times can swing 30 points; a failed step poisons later reasoning with dirty state; growing context eventually overflows the window and crude summarization buries what mattered. Today this is handled by bespoke engineering patches, with no shared abstraction.
The proposal: import ACID semantics, invented for databases in the 1970s, and rewrite them for agent execution.
An agentic transaction is a bounded sequence of model-environment interactions that commits only if validation passes, otherwise rolls back or compensates. Each classic property maps to a mechanism:
The architecture has a pragmatic split: strong API models do the reasoning and coding while a cheap local model measures how trustworthy the output is.
KramaBench: 104 natural-language tasks over 1,700 real data files across 6 domains.
| Harness | Backbone | Overall score |
| Claude Code | Qwen3.5-397B-A17B | 64.0 |
| Claude Code | GLM-5.2 | 74.2 |
| ACID-Agent | Qwen3.5-397B-A17B | 74.6 |
| ACID-Agent | GLM-5.2 | 77.4 |
Same backbone, ACID-Agent beats Claude Code by 10.6 points, and the smaller-backbone ACID-Agent overtakes the larger-backbone Claude Code, so the gain comes from harness design rather than model scale, at the price of more code steps and tokens from exploration and retry.
Consistency is the more striking number. Across three independent runs on the Environment domain, Claude Code scores 63.9 ± 30.9 while ACID-Agent scores 88.9 ± 18.6, variance roughly halved. Removing failed-step isolation drops the ablation from 90.0 to 78.3 (-11.7). Against three-run majority-vote Claude Code (75.2 at 1121K tokens, $0.21), ACID-Agent hits 90.0 on 444K tokens and $0.13, so the gain is not bought with inference budget.
For agent-infrastructure teams this offers a ready conceptual frame: define transaction semantics once instead of hand-rolling retries and state management per project. The confidence-divergence signal is the most portable piece: a 0.6B local model gives any API model a self-doubt mechanism at near-zero cost, transplantable to data or coding agents. Run-to-run inconsistency finally has both a metric (per-task variance) and a treatment.
Keep the positioning in view: this is a first validation on data agents only, far from ACID for general-purpose agent systems.
The authors call it an initial proof of effectiveness and leave four open problems: scalable skill ecosystems, consistency-oriented benchmarks and alignment, multi-agent coordination over shared context, and transactional memory infrastructure for lifelong agents.
Three more concerns from a close read. The ablation isolates only failed-step isolation, so the individual contribution of confidence validation versus knowledge-graph memory is unmeasured. Consistency numbers cover a single domain out of six. All confidence thresholds (0.25, 0.45, 0.50) are hand-tuned with no evidence they transfer across model families or task types. And mean log probability is itself a contested proxy for certainty in RLHF-trained models.