Rethink isolated fan-out.
Workflows that begin with independent solvers and one-shot aggregation (Star-first) score lower than alternative entry topologies.
Explore Principle 1From workflow search traces to reproducible
principles for multi-agent design.
α Dartmouth Collegeβ Allen Institute for AI
XC: system implementation & operator set, large-scale experiments, data analysis, and empirical write-up;
JC: project conception, theoretical framework & instruments, experimental design, and theoretical write-up.
Building multi-agent systems still relies on trial and error. Manual studies explore a handful of communication patterns; automated optimizers keep a task-specific winner and discard the rest.
Our system, APEX (Automatic Principle Exploration System), turns those intermediate designs into evidence. By retaining complete search trajectories, then mining workflow code and prompt templates, we identify design principles that persist on held-out searches.
Designing large language model (LLM) multi-agent systems (MAS) still relies on trial and error and informal “folk wisdom.” Manual studies test only a few communication structures or topologies (e.g., sequential, parallel, shared-memory, or debate), while automated optimizers discard search trajectories after selecting a task-specific workflow. We present a two-phase pipeline for mining reproducible design principles from workflow code and execution traces. We repurpose AFlow’s MCTS optimizer across six composable operators and 26 deterministically verified Enigmata tasks, retaining all intermediate rounds to build a corpus of 28,568 executable workflows. A sandboxed AutoResearch loop then mines orchestration code and prompt templates under an L₀-penalized validation objective and tests candidate principles on held-out searches. Across 300 feature-mining trials, we identify effects that persist on held-out searches across three levels of workflow design: workflows beginning with independent solvers and one-shot aggregation (Star-first) perform worse (Δ = −0.045); persistent shared documents (SharedMemory) outperform debate (Δ = +0.135); and prompt specificity and placeholder-based context routing yield gains comparable to communication-structure selection (Δ = +0.118). More broadly, our pipeline and results show the feasibility of turning discarded search trajectories into a statistical testbed for discovering and validating multi-agent workflow design principles.
Workflow entry points, communication state, and the structure inside the prompts all carry predictive information.
Workflows that begin with independent solvers and one-shot aggregation (Star-first) score lower than alternative entry topologies.
Explore Principle 1Workflows using a persistent written document (SharedMemory) outperform workflows without it in the held-out comparison.
Explore Principle 2Richer prompt templates predict gains comparable to topology selection. Named placeholders also carry a positive signal for context routing.
Explore Principle 3Δ is the median per-puzzle score contrast between high and low feature arms. These are observational associations under the study’s sampling policy; task-specific magnitudes have finite-sample uncertainty.
Two phases connect executable designs to statistically testable patterns.
AFlow composes six operators over 20 MCTS rounds, across five independent runs per condition. Deterministic Enigmata verifiers evaluate fixed bundles of reasoning problems.
A sandboxed AutoResearch loop proposes interpretable features under an L₀-penalized validation objective. Entire searches are kept together across training, validation, and test splits.
Star uses one round of independent answers.
Ready. Step through the workflow.
Workers solve independently. A single aggregator sees their outputs and synthesizes the final answer. Workers do not see each other’s proposals.
Adding prompt-template features improves validation R² from 0.521 to 0.638.
The paper, implementation, and LaTeX source in one place.
arXiv:2610.31709 [cs.SE]
@misc{cadet2026miningdesignspacemultiagent,
title = {Mining the Design Space of Multi-Agent Workflows},
author = {Xavier Cadet and Junyan Cheng and Peter Chin
and Kyle Richardson},
year = {2026},
eprint = {2610.31709},
archivePrefix = {arXiv},
primaryClass = {cs.SE},
url = {https://arxiv.org/abs/2610.31709}
}