Start with a direct path

A fixed workflow is a sensible default when the steps are known. An agent is useful when the system must choose its next step from observations and tools. Anthropic's agent design guide separates workflows with predetermined paths from agents that dynamically control tool use. This distinction is more useful than counting agents.

Start with one agent, a narrow tool set and a testable completion condition. Add routing when tasks require clearly different paths, parallel work when independent tasks can be reconciled, and manager-worker delegation when the manager can verify each handoff. Every added actor creates ownership, cost and failure questions.

Know what the tree contains

Best-of-N compares completed answers. Tree of Thoughts explores intermediate thoughts and can backtrack. Monte Carlo Tree Search (MCTS) builds an action tree: select, expand, simulate or estimate a return, then propagate the result. UCT balances branches with promising observed returns against those with little exploration.

02One MCTS iteration
  1. SelectFollow a promising path through the current tree.
  2. ExpandAdd a possible next state or action.
  3. SimulateEstimate an outcome with a rollout or evaluator.
  4. BackpropagateUpdate the visited branches with that result.
Original teaching diagram based on UCT. The quality of the evaluator determines what the search can learn.

SYMPHONY uses heterogeneous language-model agents to propose and assess branches within an MCTS-style search. Its HotpotQA, WebShop and MBPP comparisons depend on the paper's selected model pools, feedback and budgets. SIFT changes the search object: it explores revised coding-agent harnesses, using pairwise judge rankings to choose candidates while task runs provide the real outcome evidence.

Worked example

A coding agent has three possible fixes for a failing parser. First run a direct baseline and the relevant test. If each partial patch can be compiled and tested, bounded branching may help. If only the final user experience is observable, several independent complete attempts may be simpler than maintaining an action tree.

Give search a budget and a stop rule

Search scores depend on the evaluator. A rollout backed by a real test differs from one backed only by another model's opinion. Define the maximum attempts, token spend, time and escalation point before the loop starts. Record the selected branch and why it passed an independent final check.

03Choose the smallest useful search
Known steps?Fixed workflow
Need one adaptive next step?Single agent
Only final answers can be checked?Sample complete attempts
Partial states can be checked?Consider a bounded tree
Editorial decision aid informed by agent workflow patterns and Tree of Thoughts. Validate the choice on your own task set.

Read the original work

These sources support the specific concepts above. Their task settings and publication status matter when applying a result.

Four approaches to problem solving: direct output, chain of thought, self-consistency, and branching Tree of Thoughts search.
Figure. The paper contrasts one path with branching over intermediate thoughts. It does not imply that search helps every task. Source: Yao et al. · Tree of Thoughts Figure 1 · CC BY 4.0.