Bennett BeiResearch & inventions
Bennett Bei / Explore the research
Agents & learningPending review

Keep the workflow. Reuse the context.

Rethinking the Value of Multi-Agent Workflow: A Strong Single Agent Baseline

Does a multi-agent workflow need separate model instances to gain from its decomposition?

11 authors · including Sisong Bei

Jiawei Xu, Arief Koesdwiady, Sisong Bei, Yan Han, Baixiang Huang, Dakuo Wang, Yutong Chen, Zheshen Wang, Peihao Wang, Pan Li, Ying Ding

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.

Explore the idea

Watch the shared prefix grow

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.

Authored task One model, changing roles

Reply to a customer asking for a refund.

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.

Ready
Step 1 of 4

Plan input

Refund task
Initial prefix

Plan the reply. Check both the purchase age and the item’s condition before deciding eligibility.

Illustrative input tokens
Separate
calls
Continuing
conversation
This step200200
Total so far200200

Plan: both paths process the 200-token initial prefix.

Separate calls

Reprocess all visible input at each role.

1. Plan
Task + plan200 tokens

One continuing conversation

Keep the prefix cached; append the new input.

Task + plan200 tokens

The first call processes the task and planning instruction in both paths.

Task context processed 1 time in each path.

Choose illustrative token sizes

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.

Performance and estimated cost, together.

The same OneFlow-designed workflow is evaluated as separate calls and as one continuing conversation.

HumanEval · GPT-4o mini
MeasureSeparate callsContinuing execution
pass@1 (%)91.6± 0.892.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 idea.

Preserve the role sequence

Follow the workflow’s routing and tools while appending role instructions to a shared conversation.

Reuse the prefix

Keep cached attention states for the unchanged context; process newly appended content.

Optimize the workflow

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

What the work shows.

Preserve the workflow’s capability

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.

Source

Design and execution are separate choices

The 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.

Source

Compare performance with the cost assumption in view

For 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.

Source

The 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.

Go deeper.

Cite this work.

@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

Cite this work