Preserve the role sequence
Follow the workflow’s routing and tools while appending role instructions to a shared conversation.
Keep the workflow. Reuse the context.
Does a multi-agent workflow need separate model instances to gain from its decomposition?
Why this question matters
When every role uses the same base model, much of the shared task context is processed repeatedly. OneFlow asks how far a single continuing conversation can carry the same workflow.
Follow one customer reply through planning, drafting, critique and revision. The policy and customer facts stay the same; each later role adds an instruction or tool input.
Policy: refunds within 30 days, for unopened items only.
Customer: “I bought it 20 days ago and opened it. Can I get a refund?”
The initial prefix contains this task, its policy and the first planning instruction.
Plan the reply. Check both the purchase age and the item’s condition before deciding eligibility.
| Separate calls | Continuing conversation | |
|---|---|---|
| This step | 200 | 200 |
| Total so far | 200 | 200 |
Plan: both paths process the 200-token initial prefix.
Reprocess all visible input at each role.
Keep the prefix cached; append the new input.
The first call processes the task and planning instruction in both paths.
Task context processed 1 time in each path.
Selected input-token counts are illustrative and independent of the excerpts’ tokenization. Each later role adds instructions or tool inputs; generated responses are excluded. Both paths use one base model.
A designer and a critic revise workflow code during search. A single base model can then execute the chosen workflow’s task roles.
Its validation errors guide the next proposal.
Keep the initial workflow in the candidate pool alongside up to three leading workflows. Selection mixes exploration with score-based preference.
Original method diagram based on Algorithm 1 and Appendix A.2–A.3; the controls inspect stages, not a recorded search run. Published Figure 2 · Search procedure
The same OneFlow-designed workflow is evaluated as separate calls and as one continuing conversation.
| Measure | Separate calls | Continuing execution |
|---|---|---|
| pass@1 (%) | 91.6± 0.8 | 92.1± 0.4 |
| Cost estimate (USD) | $0.026± 0.000 | $0.020± 0.000 |
Reported benchmark values are means ± standard deviations over three runs. For closed-model single-agent execution, the paper estimates costs from final conversations under ideal KV-cache reuse, counting prompts as input and responses as output.
Table 1: performance · Table 10: reported cost estimates · Cost-estimation assumption. The simulation argument additionally holds model behavior, visible history, routing and tool conditions fixed.
Inside the method
Follow the workflow’s routing and tools while appending role instructions to a shared conversation.
Keep cached attention states for the unchanged context; process newly appended content.
Before execution, a designer proposes workflow-code changes and a critic refines them. Validation records performance, cost and failures to guide the next search step.
Evidence & insight
With GPT-4o mini, the same OneFlow workflow scores 91.6±0.8 HumanEval pass@1 as separate calls and 92.1±0.4 as single-agent execution, over three runs.
SourceThe study spans seven benchmarks and evaluates both workflow design and execution style. OneFlow’s designer–critic search balances task performance with the cost of the resulting workflow.
SourceFor HumanEval, the paper reports benchmark cost estimates of $0.026±0.000 for separate calls and $0.020±0.000 for single-agent execution, over three runs. The latter assumes ideal KV-cache reuse from final conversation tokens.
SourceThe idea to take away
Compare new multi-agent systems with a strong single-model execution of the same workflow before attributing gains to agent multiplicity.
@misc{oneflow2026,
title={Rethinking the Value of Multi-Agent Workflow: A Strong Single Agent Baseline},
author={Jiawei Xu and Arief Koesdwiady and Sisong Bei and Yan Han and Baixiang Huang and Dakuo Wang and Yutong Chen and Zheshen Wang and Peihao Wang and Pan Li and Ying Ding},
year={2026},
eprint={2601.12307},
archivePrefix={arXiv},
url={https://arxiv.org/abs/2601.12307}
}Keep exploring