StageTune: staged prompt-and-topology auto-tuner for multi-agent pipelines
A service that takes your AI agent team's tasks, scoring metric, and current setup, then automatically rewrites both the agents' instructions and how they are wired together — using a three-stage search shown to beat hand-designed systems — and returns an optimized pipeline validated on your own tests.
Concept
StageTune is a build-time optimization service for teams running multi-agent LLM pipelines on frameworks like LangGraph, CrewAI, or AutoGen. The customer supplies three inputs: a set of representative tasks, an automatic evaluation metric, and their current (or skeleton) system — agent role prompts plus the orchestration graph. StageTune then runs the three-stage interleaved search demonstrated in the new paper: (1) block-level optimization of each individual agent's prompt; (2) search over the workflow topology — which agents exist and how they connect; (3) workflow-level (global) prompt optimization — with each stage conditioned on the iteratively improved outputs of the earlier stages. The deliverable is a tuned prompt set plus an optimized topology exported back into the customer's framework format, with a before/after comparison on the customer's own evals. The single wedge: replace hand-tuning of agent teams with a staged joint search over prompts AND topology — something prompt-only optimizers cannot do because they hold the orchestration structure fixed, and something manual design cannot do at acceptable cost.
Why now
The new paper [0] makes three things true at once: it shows that prompts and topologies jointly determine multi-agent system effectiveness; it demonstrates a concrete, staged recipe (local prompts, then topology, then global prompts, each conditioned on the last) that makes the complex design space tractable; and it reports that systems found this way outperform a spectrum of existing alternatives by a substantial margin. That is a demonstrated engine a product can wrap, not just an insight. Older corpus paper [4] reinforces the premise at scale — across 260 agent-system configurations, performance varies systematically with coordination structure and system factors — confirming that topology is a first-class design variable worth searching over rather than fixing by convention. Sizing to readiness: the paper demonstrates the optimizer on benchmark tasks with automatic metrics, so the commercial product's core job is binding the same search to a customer's own eval suite and framework config — exactly the interface this service provides.
Written by GLM · 4 Dec 2026
AI assessment
A highly focused, evidence-backed tool that solves a specific pain point in the multi-agent developer experience by automating the joint optimization of prompts and system topology.
- Evidence strength 5/5
- The idea directly implements the 'MASS' framework from paper [2], which provides a concrete three-stage recipe for joint prompt and topology optimization, supported by the scaling principles in paper [1].
- Market pull 4/5
- Engineering teams using complex frameworks like LangGraph or CrewAI face a significant 'tuning tax' and lack a systematic way to optimize agent interactions beyond trial-and-error.
- Novelty & moat 3/5
- While HarnessForge and QualityBar optimize scaffolding and configs, StageTune specifically targets the joint optimization of topology and prompts, filling a gap in automated MAS design.
- Feasibility 4/5
- The core algorithm is described as a search process over existing framework configurations, making it feasible to build as a wrapper service provided the customer has a reliable eval metric.
- Wedge clarity 5/5
- The wedge is sharp: replace manual agent-team design with a specific three-stage search process that outputs a validated, optimized configuration.
- Simplicity / focus 5/5
- The product is focused on a single, clear function—optimizing a pipeline—rather than attempting to be a general-purpose orchestration platform.
Scored by Gemma 4 · 4 Dec 2026. Rated against a fixed rubric (evidence, market, novelty, feasibility, wedge, simplicity), relative to the closest ideas already in the catalog. A prior estimate to compare ideas before real-world signal arrives.
Act on this idea
Ideas only matter if someone runs with them. Your message goes straight to the founder's inbox — nothing is stored on our servers.
Who benefits
- CrewAIcompany
CrewAI's product is literally agent role prompts plus team topologies; embedding a staged auto-tuner converts its users' biggest pain point — hand-tuning crews — into a one-click optimization, directly strengthening the platform's core value proposition.
- LangChaincompany
LangGraph users hand-wire orchestration graphs and guess at structure; offering joint prompt-and-topology optimization inside the platform differentiates it and lifts success rates for teams currently relying on trial and error.
- Sierracompany
Sierra ships enterprise conversational agents whose resolution quality depends on workflow structure; automated joint tuning against customer-specific metrics improves deployed agent performance without adding headcount.
- Decagoncompany
Decagon's customer-support pipelines are multi-step agent workflows; tuning prompts and handoff topology against support KPIs is a direct, measurable lever on resolution and containment rates.
Research it builds on
- Towards a Science of Scaling Agent SystemsYubin Kim, Gu, Ken, Park, Chanwoo et al. · 2025 · 257 citationsAll ideas from this paper →
- Multi-Agent Design: Optimizing Agents with Better Prompts and TopologiesAll ideas from this paper →