cs.MAOct 25, 2026

DynaFlow: Learning Free-Form Multi-Agent Orchestration

Authors: Ruhao Liu, Qi Li, Shizun Wang, Xinchao Wang

Organizations: National University of Singapore

Abstract

Multi-agent systems often rely on predefined collaboration structures, limiting their ability to adapt to diverse task requirements. We introduce DynaFlow, a framework that integrates free-form executable workflow synthesis into the action space of the main agent. The agent decides when collaboration is needed and generates task-specific programs that coordinate sub-agents through sequential or parallel execution, structured information exchange, and verification. Execution results and traces inform subsequent actions, enabling the agent to adapt collaboration as reasoning progresses. We train only the main agent through supervised fine-tuning on distilled trajectories, followed by refinement on examples filtered for unsupported premises, biased verification, and information-flow defects. All sub-agents remain fixed, separating orchestration learning from executor capability improvement. Across six benchmarks spanning mathematical reasoning, scientific question answering, and multi-hop retrieval, DynaFlow achieves 88.08% overall accuracy in Forced mode, outperforming the strongest evaluated baseline by 10.90 percentage points with the same Qwen3.5-27B backbone. Workflow analysis finds more explicit use, verification, and refinement of upstream outputs after training, highlighting cross-stage information flow as a key dimension of multi-agent orchestration.

Figures & tables

Appendix figures & tables8 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. WorkflowOps: Learning Agent Collaboration Priors for Multi-Agent Workflow Orchestration

    Oct 6, 2026Qi Cheng, Shengyu Chen, Wei Cheng +4LLM Agent OrchestrationLLM Agent Workflow Optimization

  2. Inference-Time Graph Engineering for Multi-Agent LLM Workflows

    Sep 4, 2026Katherine Tieu, Dongqi Fu, Yinglong Xia +3Multi-Agent LLM SystemsMulti-Agent Orchestration

  3. RoleFlow: Self-Evolving Multi-Role Agentic Collaboration via Structural Adaptation

    Oct 21, 2026Yi Ge, Pan Wang, Xuehao Cui +4Multi-Agent LLM SystemsLLM Agent Workflow Optimization