mlsanityData to 7 Oct 2026

EnCompass: Enhancing Agent Programming with Search Over Program Execution Paths

arXiv 2512.03571 ↗First posted 3 Dec 2025cs.AI cs.LG cs.PLcited by 3

On the map: LLM agents and tool use → Software engineering coding agents

Abstract (arXiv)

We introduce a new approach to agent programming, the development of LLM-based agents. Current approaches to agent programming often entangle two aspects of agent design: the core workflow logic and the inference-time strategy (e.g., tree search). We introduce "probabilistic angelic nondeterminism" ("PAN"), a programming model that disentangles these two concerns, allowing the programmer to describe the agent workflow and independently experiment with different inference-time strategies by simply changing a few inputs. We provide an implementation of PAN in Python as the EnCompass framework, which uses a Python decorator to compile agent workflow programs into a search space. We present three case studies that demonstrate how the framework lets the programmer quickly improve the reliability of an agent and easily switch between different inference-time strategies, all with little additional coding.

Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). Placed in Software engineering coding agents, one of 16 directions in LLM agents and tool use. Builds on 8 of its 41 references that are in the map. First posted on arXiv 3 Dec 2025.

Builds on

8 of 41 references.

References · 8

  1. 2021Training Verifiers to Solve Math Word Problemscited by 9,743
  2. 2024The AI Scientist: Towards Fully Automated Open-Ended Scientific Discoverycited by 1,002
  3. 2024Large Language Monkeys: Scaling Inference Compute with Repeated Samplingcited by 946
  4. 2025The AI Scientist-v2: Workshop-Level Automated Scientific Discovery via Agentic Tree Searchcited by 375
  5. 2024Accessing GPT-4 level Mathematical Olympiad Solutions via Monte Carlo Tree Self-refine with LLaMa-3 8Bcited by 156
  6. 2024Tree Search for Language Model Agentscited by 148
  7. 2019On the Measure of Intelligencecited by 129
  8. 2024Syzygy: Dual Code-Test C to (safe) Rust Translation using LLMs and Dynamic Analysiscited by 16

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 3.

3 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026HyEvo: Self-Evolving Hybrid Agentic Workflows for Efficient Reasoning
  2. 2026LLM-as-Code: Agentic Programming for Agent Harness
  3. 2025Taming Uncertainty via Automation: Observing, Analyzing, and Optimizing Agentic AI Systems
  4. 2026AgentFactory: Towards Automated Agentic System Design and Optimization
  5. 2025Difficulty-Aware Agentic Orchestration for Query-Specific Multi-Agent Workflows
  6. 2025MermaidFlow: Redefining Agentic Workflow Generation via Safety-Constrained Evolutionary Programming
  7. 2025AgentSwift: Efficient LLM Agent Design via Value-guided Hierarchical Search
  8. 2026AgentXRay: White-Boxing Agentic Systems via Workflow Reconstruction