Divide, Diagnose, and Compose: Optimizing Agentic Pipelines and Harnesses
Divij Handa, Christopher Tensmeyer, Jihyung Kil, Vlad I. Morariu
Key points
From the paper's conclusion- Across a diverse suite of 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% compared to the best overall baseline.
Abstract
Building agentic pipelines that achieve high task performance while keeping cost and latency low requires jointly optimizing heterogeneous and coupled design choices, including prompts, topology, model selection, and tool policies. Manually searching this combinatorial design space is expensive and time-consuming, while existing automated optimizers typically operate within a predefined subset of this space, modify the pipeline monolithically, or provide little structured evidence for pipeline changes. To mitigate these challenges, we introduce the Decomposed Credit-Assignment Framework (DeCAF), which adapts the design space to the given benchmark and pipeline, optimizes each dimension separately, and generates reasoning traces for every decision. Given a task specification, benchmark examples, and a seed pipeline, DeCAF identifies relevant optimization dimensions and generates diverse experimental hypotheses for each. Independent coding-agent sessions then optimize each dimension under a restricted edit scope, jointly evaluating performance, inference cost, and latency while recording all hypotheses, edits, and outcomes of each experiment. A final synthesis session combines compatible findings across all dimensions and uses a component-level trajectory evaluator, which derives role-specific rubrics from each agent's instructions, to localize underperforming components and guide cross-dimension revisions. Across a diverse suite of 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% compared to the best overall baseline.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- EnvOpt: Automated Optimization for Agent EnvironmentsarXiv · 2026
- Beyond Prompts: Measuring and Optimizing LLM Tool-Agent HarnessesarXiv · 2026
- HarnessEvolve: Learning from Reference Trajectories for Reliable Agent Self-EvolutionarXiv · 2026
- HarnessPro: Recursive Harness Self-Improvement with Pareto Optimization for Performance-Cost Trade-offsarXiv · 2026
- System Optimizations for Cost-Efficient Agent HarnessesarXiv · 2026
- AGL-SKILL: Coding Harnesses as Agentic OptimizersarXiv · 2026