Ingest: AGL-SKILL: Coding Harnesses as Agentic Optimizers
Type: types/ingest-report.md
Classification
Ryan Tsui, Yuge Zhang and Yuqing Yang report a Microsoft Research Asia benchmark study in an arXiv preprint. They give the optimizer prompts, held-out scores and model-call costs for their experiments; the skill-optimizer comparison scores come from prior work.
Summary
A coding agent gets labeled examples, an evaluation command and a dollar budget to improve a separate target agent. It can edit prompts, tools and runtime code, but must preserve the target’s command-line interface; a separate evaluator scores the frozen result on unseen cases. Without a prescribed optimization procedure, these agents beat the best published skill-optimization scores on all five benchmarks. The wider editing permission matters: on ALFWorld a deterministic controller often replaced model-driven action selection entirely. Within that same whole-target setup, giving the optimizer its own skill, prescribing separate accuracy and cost phases, or directing parallel or worktree search did not consistently improve scores.
Contribution assessment (our opinion)
The strongest contribution is a practical baseline: before crediting a specialized search procedure, test what a coding agent can achieve with the same task, feedback and editing permissions. The five held-out comparisons make that baseline worth taking seriously. They do not identify a better algorithm for writing skills. The reported changes to the targets make the distinction observable: a spreadsheet execution retry repairs a failure, while a LiveMath shortcut based on answer choices can raise accuracy without improving mathematical reasoning.
Quotes
No source quotes have been retained yet.
Connections Found
SkillOpt edits one skill document while keeping the harness fixed. AGL-SKILL is a useful comparison precisely because its optimizer can replace the behavior that the document would otherwise guide. LiveMath illustrates why an improvement does not validate the fixed parts of an experiment: editing the solver while retaining the multiple-choice scorer exposed a way to earn credit without solving some problems. It does not show that a better solver was unreachable.
Learning Claims (our opinion)
The optimizer chooses training cases, inspects outputs and scores, edits the target, and can run it again. The optimizer and its workspace, not the frozen target by itself, are the candidate theory builder. The edited procedures have identifiable content, and their use is observable: on ALFWorld the new controller actually selects actions instead of calling the model. Evidence for content-directed criticism is weaker. Adding a retry after an execution failure is consistent with a diagnosis, but neither the edit nor a higher score records the optimizer’s reason for blaming a particular rule. The worktree prompt asks for a hypothesis per candidate; that is a prescription, not evidence that each run tested its stated reason. Iteration is visible within runs in the repeated edits and evaluations. A final edit survives into held-out use, but each optimization run starts afresh. Better scores than the unedited target support improved capacity on new cases under the same scorer, not an optimizer that gets better at later optimization jobs.
Extractable Value
- Match what each optimizer may change. For a KB skill experiment, compare procedures with both restricted to the skill text before allowing either to edit its caller or tools. The published SkillOpt comparison combines both changes; it cannot attribute the score gap to search procedure alone. [experiment]
- Test whether the scored behavior still requires the intended capability. The LiveMath optimizer could use answer-choice structure even on unseen questions. Holding out examples does not remove a shortcut shared by the training and test formats. [quick-win]
- Separate editing cost from operating cost. A two-phase instruction explicitly asked the optimizer to cut inference cost after improving accuracy. Those runs spent less on optimization but did not produce cheaper targets on average. For recurring KB work, measure the cost of using a revision, not just the cost of producing it. [quick-win]
Limitations (our opinion)
The published baselines were not rerun from the same starting agents. Neither the starting scores nor the editing permissions match. The internal guidance comparisons are better controlled, but use one target model, at most three repeats per condition, and only the $10 budget for subagents and worktrees. Claude Code also uses a different optimizer model from Codex and Copilot. Failure to find a consistent guidance advantage is not evidence that harnesses or instructions are interchangeable. All five tasks provide labeled examples and an automatic scalar score. None tests whether edits improve a KB judgment for which the evaluator itself may need revision.
Recommended Next Action
Add the LiveMath answer-choice shortcut as a worked example in Learning inside a fixed decomposition inherits its mistakes, distinguishing success on unseen cases from evidence that the scorer measures the intended capability.