R289 · Agent principles and patterns › Harness building blocks

Neural Agent Compiler: scheduling the information an agent could wait for

Read the original

harness-designorchestrationagent-architecturebenchmarksproduction-operations

Filed 2026-11-25. Source: Yan, Wang, Chen, Kan, Tan, Chen, Sun, Shao, Chen and Wang, "Neural Agent Compiler: Learning to Schedule Soft Dependencies", arXiv 2611.29262, submitted 22 November 2026.

The idea

Agent orchestration literature is mostly about hard dependencies: operation B cannot legally start until operation A returns, so the scheduler's job is to respect the graph. This paper names the thing that graph leaves out. A soft dependency is information that is not required for an operation to execute, but that would improve it if it arrived first.

Concretely: the agent is about to draft a reply, and a lookup is in flight that might change the draft. Nothing stops it drafting now. The question is whether waiting is worth it.

Current harnesses answer that question with a fixed policy baked into the loop — always proceed (the reactive default), or always wait for everything pending (the plan-and-execute default). The paper's claim is that this is a decision, it has measurable consequences in both quality and resource terms, and it can be learned.

Mechanism

At a designated point in the task — the scheduling boundary — the controller chooses among three execution modes:

For each legal mode the controller predicts a consequence vector: one coordinate for native task quality, plus four describing delay, work and revision consequences in the units of the task interface. Observation masks mark which coordinates are actually measured in each task family, so the model is not asked to predict what the interface cannot report.

Selection is a linear utility over that vector, with non-negative weights on the resource coordinates. The practical payoff of this shape is that the same trained controller serves different deployments: reweight the resource coordinates and a latency-sensitive service gets a different release policy from a cost-sensitive batch job, without retraining.

The value of waiting is priced as the difference between the continuation under WAIT and the continuation under ACT, including the cost of acquiring the information and the delay it imposes. That is the part worth stealing conceptually: waiting is not free patience, it is a purchase, and the thing being bought is the change in the work that follows.

SPEC exists because the ACT/WAIT pair is a false binary whenever part of the downstream work is invariant to the pending fact. The paper treats it as a third comparison rather than a fallback.

Results

The controller is small and cheaply fitted: 90 AppWorld training tasks, 6,000 WebShop training states, 178 tau-squared-bench training tasks. The generative actor is Gemma 4 31B IT, with a second AppWorld panel on GPT-OSS-20B.

AppWorld (417 challenge tasks, 139 scenarios, native assertions; TGC = task goal completion, SGC = scenario goal completion), Gemma 4 31B IT panel:

MethodTGC /417SGC /139Tokens (M)
ReAct1914864.6
Full-Code-Reflexion972013.7
Plan-and-Execute50430.4
CodeAct14042.9
IPFunCall1038.6
LLMCompiler002.9
NAC2766468.3

That is a 44% relative gain in completions over the strongest baseline at roughly comparable token spend. On the GPT-OSS-20B panel the ordering holds but the absolute numbers collapse for everyone (NAC 67, ReAct 55), which is a reminder that the scheduler does not rescue a weak actor.

WebShop (all 500 test tasks):

MethodScoreTokens (M)Calls (k)
LATS77.981,076.4222.8
NAC74.690.2220.377
PG-RNN51.260.6811.5
Rule45.2900

Read this one carefully, because it is the more interesting result and it is not a win on score. LATS beats NAC by 3.3 points while spending about 4,850 times the tokens and 590 times the calls. The claim NAC can support is quality per unit of resource, not best quality.

tau-squared-bench (100 held-out tasks: 20 airline, 40 retail, 40 telecom): NAC 59 successes against LLMAgent 41 and ReAct 36 — but at a 200-step allowance where the baselines ran at 30. The paper states the budgets plainly; it is not a matched comparison, and it should not be quoted as one.

Ablations compare adaptive release against fixed-mode controls and against a direct-utility controller fitted without full consequence-coordinate supervision. On TravelPlanner, adaptive release holds the completion rate while using less time than always-speculate. On WebShop, consequence-coordinate supervision improves utility over fixed SPEC and reduces the work actually selected. So both halves earn their place: choosing the release time matters, and predicting the consequence coordinates explicitly beats predicting utility directly.

Tradeoffs

Failure modes

  1. Quoting the step-allowance result as a matched win. The tau-squared-bench numbers come from 200 steps against 30. Anyone citing "59 vs 36" without that is reporting a budget difference as a method difference.

  2. Reading WebShop as a score win. It is a cost result. The score is lower than LATS.

  3. Speculating against a service that commits. SPEC without a holdable prefix means side effects you cannot retract when the observation contradicts the speculation.

  4. Stale calibration after an actor upgrade. The utility weights stay fixed while the consequence distribution moves, so the policy silently drifts toward the wrong mode.

  5. Mistaking the waiting price for latency. The value of waiting here is the change in the continuation, including acquisition cost. A scheduler that prices only the delay will wait too often for information that would not have changed the next step.

  6. Fitting on an interface that reports one coordinate. With only quality observable, the utility collapses to "always wait for anything that might help", which is the behaviour the paper is trying to improve on.

  7. Assuming the scheduler compensates for the actor. Both AppWorld panels show the gain riding on the actor's baseline competence.

Review checklist

Connections

See R289 on the knowledge map

Part of the Research notes on nowucca.com. Figures and claims are the source's own unless the summary says otherwise.