Banger paper from Microsoft on prompt optimization.
(bookmark it)
The claim that a coding agent reading your logs beats GEPA at prompt optimization
The overall finding is that you want to give a coding agent your full set of agent logs and let it write the analysis code, instead of running a search loop over small batches of trajectories.
CASD has an off-the-shelf coding agent compute statistics over the whole trajectory corpus, find recurring failure modes, read representative episodes and write the findings as rules in one prompt. It needs no environment access and no validation data.
Across ALFWorld, tau2-bench retail and telecom, and Spreadsheet Bench-Verified, one pass improves the unoptimized baseline by 16.6 points on average. GEPA improves it by 10.9 and SkillOpt by 5.3.
Each optimized prompt costs about $1.60, more than 22x cheaper than validation-gated search.
Paper: https://academy.dair.ai/papers/coding-agents-are-strong-prompt-optimizers-2609.26261