Divide, Diagnose, and Compose: Optimizing Agentic Pipelines and Harnesses
Divij HandaChristopher TensmeyerJihyung KilVlad I. Morariu
Divij Handa
Christopher Tensmeyer
Jihyung Kil
Vlad I. Morariu
+4
This paper introduces the Decomposed Credit-Assignment Framework (DeCAF), which optimizes agentic pipelines by adapting the design space to a given benchmark and pipeline, optimizing each dimension separately, and producing reasoning traces for every decision. From a task specification, benchmark examples, and a seed pipeline, DeCAF identifies relevant optimization dimensions and generates diverse hypotheses for each; independent coding-agent sessions then optimize each dimension under a restricted edit scope while tracking performance, inference cost, and latency. A final synthesis session combines compatible findings and uses a component-level trajectory evaluator with role-specific rubrics to localize underperforming components and guide cross-dimension revisions. Across agentic benchmarks, DeCAF improves average task performance by 2.58 percentage points while reducing inference cost by 4.30% and end-to-end latency by 42.45% relative to the best overall baseline.

arXiv ·
· November 5, 2026