Why Search When You Can Transfer? Amortized Agentic Workflow Design from Structural Priors
Shiyi Du, Jiayuan Liu, Weihua Du, Yue Huang, Jiayi Li, Yingtao Luo, Xiangliang Zhang, Vincent Conitzer, Carl Kingsford

TL;DR
SWIFT is a framework that leverages structural priors and few-shot transfer to synthesize workflows for unseen tasks, significantly reducing computational costs compared to traditional search-based methods.
Contribution
The paper introduces SWIFT, a novel approach that amortizes workflow design into reusable priors, enabling efficient, zero-search synthesis of workflows across diverse tasks and models.
Findings
SWIFT outperforms state-of-the-art search-based methods on five benchmarks.
It reduces per-task optimization cost by three orders of magnitude.
Workflow topologies transfer effectively even with surface semantics replaced.
Abstract
Automated agentic workflow design currently relies on per-task iterative search, which is computationally prohibitive and fails to reuse structural knowledge across tasks. We observe that optimized workflows converge to a small family of domain-specific topologies, suggesting that this combinatorial search is largely redundant. Building on this insight, we propose SWIFT (Synthesizing Workflows via Few-shot Transfer), a framework that amortizes workflow design into reusable structural priors. SWIFT first distills compositional heuristics and output-interface contracts from contrastive analysis of prior search trajectories across source tasks. At inference time, it conditions a single LLM generation pass on these priors together with cross-task workflow demonstrations to synthesize a complete, executable workflow for an unseen target task, bypassing iterative search entirely. On five…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
