Bayesian control for coding agents
On the map: LLM agents and tool use → General LLM agent frameworks and benchmarks
Abstract (arXiv)
Modern coding agents pair LLM generators with various tools, including cheap diagnostics and expensive verifiers. The tool-use decisions are typically governed by orchestrators that often use fixed rules and ignore uncertainty. We formulate orchestration as cost-sensitive sequential hypothesis testing: a Bayesian controller maintains a belief over candidate correctness and dynamically decides whether to gather more evidence, refine the candidate, verify it, or stop. Across six generators and nine coding benchmarks, Bayesian control proves to be most valuable when verification is costly and critics are informative but imperfect. Beyond control, the belief state yields an interpretable correctness score that outperforms token-probability and raw tool-success baselines for uncertainty quantification.
Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Placed in General LLM agent frameworks and benchmarks, one of 16 directions in LLM agents and tool use. Builds on 10 of its 23 references that are in the map. First posted on arXiv 23 Jun 2026.
Builds on
10 of 23 references.
Closest ancestors · 3
Same direction, newest first
- 2026Position: agentic AI orchestration should be Bayes-consistent1 May
- 2025Structured Uncertainty guided Clarification for LLM Agents11 Nov
- 2023Language Agent Tree Search Unifies Reasoning Acting and Planning in Language Models6 Oct
Other references · 7
- 2023Self-Refine: Iterative Refinement with Self-Feedbackcited by 3,442
- 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,373
- 2024LiveCodeBench: Holistic and Contamination Free Evaluation of Large Language Models for Codecited by 2,004
- 2023Is Your Code Generated by ChatGPT Really Correct? Rigorous Evaluation of Large Language Models for Code Generationcited by 1,391
- 2024OpenHands: An Open Platform for AI Software Developers as Generalist Agentscited by 1,002
- 2022CodeT: Code Generation with Generated Testscited by 384
- 2025BED-LLM: Intelligent Information Gathering with LLMs and Bayesian Experimental Designcited by 24
Built on by
Citing papers per year: 2026: 1.
1 paper.
Similar, not cited
Close in wording, no citation either way
- 2026Belief-Calibrated Optimization: An Explicit World Model for Agentic Optimization
- 2026Calibrate-Then-Act: Cost-Aware Exploration in LLM Agents
- 2026How to Speculate about Uncertainty in Agentic Coding? A Draft-Model Gate Method
- 2026Bayesian-Agent: Posterior-Guided Skill Evolution Across LLM Agent Harnesses
- 2026Preventing Premature Commitment in Coding Agents with an Evidence-Conditioned Execution Layer
- 2026Measuring Harness-Induced Belief Divergence in Multi-Step LLM Agents
- 2026Bayesian Orchestration of Multi-LLM Agents for Cost-Aware Sequential Decision-Making
- 2026Assurance Envelopes for Autonomous Coding Agents: Minimum-Cost Evidence for Software Change