AgenticOS Workshop @ NeurIPS 2026

Recoverability-Conditioned Concurrency Control

A transactional layer for agents that share state

Arizona State University

When several LLM agents write to one database, an agent rolled back after it already did something irreversible leaves the shared state silently wrong. AC-Saga locks exactly the operations that cannot be undone and undoes everything else deterministically, with no LLM in the loop.

The problem

Agents read, think for seconds, then write. If one is rolled back after appending to a ledger, the rollback undoes what it can and leaves the rest. The agent reports success; the data is wrong. We call this a catastrophe.

Locking everything (2PL) stalls every other agent while one thinks. Running optimistically (OCC) risks the catastrophe. Learned concurrency control ignores recovery; compensation frameworks ignore concurrency.

Running example: (a) under OCC, agent B's write invalidates agent A, whose abort undoes s1 but leaves s2's ledger row behind; (b) AC-Saga locks s2 and every later step, so B waits and nothing needs undoing.
(a) Under OCC, agent A aborts after its ledger append, leaving that row behind. (b) AC-Saga locks the step it cannot undo, and every step after it, so A never aborts once it is exposed.

The idea

Before each operation, AC-Saga asks how recoverable it would be, not only how contended it is.

ρ
Undoable?
Does the operation have a deterministic inverse?
κ
Undo cost
How expensive is that inverse?
ε
Exposed?
Has something irreversible already committed?

Result: no abort can happen while a saga is exposed (for conflict-induced aborts, with each lock acquired within its retry budget), so every abort that does happen leaves only undoable steps behind.

Results

Real PostgreSQL · 6 agents · 4-step sagas · 30% irreversible steps · 10 seeds, 95% CI.

0 / 5,400
catastrophes for AC-Saga across the full contention sweep
10.0%
catastrophe rate for OCC at high contention
0 tokens
spent on recovery, at ~0 ms; no LLM in the undo path
Catastrophe rate versus contention: OCC rises to 10%; a recoverability-blind heuristic peaks at 3.1%; AC-Saga stays at 0.
Catastrophe rate vs. contention. AC-Saga stays at 0; OCC climbs to 10%; a recoverability-blind heuristic fails at low and mid contention.
End to endCorrect final stateRecovery tokensRecovery time
OCC + deterministic undo79.7%0~0 ms
OCC + LLM-written undo98.4%~120~1.4 s
AC-Saga100%0~0 ms

Even when handed the exact pre-image, LLM-written compensation gets 86–100% of 4-step sagas right across four open models.

Honest notes

Cite

@inproceedings{jadhav2026acsaga,
  title     = {Recoverability-Conditioned Concurrency Control:
               A Transactional Layer for Agents That Share State},
  author    = {Jadhav, Kunal and More, Siddhesh},
  booktitle = {NeurIPS 2026 Workshop on Co-designing Systems and ML
               Foundations of an OS Layer for Agentic AI (AgenticOS)},
  year      = {2026}
}