Choosing a design

Choose the smallest strategy that works

A fixed workflow, ReAct, a goal with a plan or a full planner: pick by the failure you can see, and compare strategies on one ledger so the comparison is fair.

Robert Winkler · 2 December 2026 · 5 min read

The Robotelos Gopher showing an open guidebook

Should your agent follow a fixed workflow, let the model choose every step (ReAct), keep an explicit goal with a plan, or use a full planner with a Behavior Tree? Every option has a convincing demo. The trouble is that the demos compare designs that do not get the same protections, so a “smarter” planner can look better only because it also got approvals and recovery that the baseline lacked.

This article gives a way to choose that I use for Robotelos: protect the effects once, underneath every strategy, then climb from the simplest option only when you can name a failure. It is written for people who design or evaluate tool-using agents. Terms are explained as they appear.

Protect the effects once, under every strategy

Before you compare strategies, give each the same facts, the same capabilities, the same permission rules and the same recovery. If a lost reply can lead to a second reservation, fix dispatch and reconciliation first. No planner settles what a restaurant did, and a ReAct agent that asks again has the same problem as a planner that retries.

Robotelos puts this layer in the engine, and a strategy is only a way of deciding the next step. A run’s strategy is a field of its request: empty for a goal and plan, react for a ReAct run. A ReAct strategy is in development on the same foundation. It decides from a view of the operation ledger and returns a request, and the engine carries it out:

// steps: the message set a strategy answers with, and the view of the ledger it decides from.
type Ledger struct{ Ops []Op }   // key, capability, state, attempt, result

// A strategy answers with one of these. It does no I/O.
Model{}    // ask the model for step k
Invoke{}   // run a tool
Emit{}     // post the final answer
Advance{}  // take an unfinished operation further
Stop{}     // end the run with a report
Done{}     // complete the run

Because every model call and tool call is an operation in the ledger, both strategies get the same record-before-acting rule, the same fencing, the same reconciliation of unknown outcomes and the same approvals. The engine settles an unfinished dispatch before it asks the strategy anything, so a restart never makes the strategy repeat an effect. That is what makes a comparison fair: whatever differs in the results comes from how the next step was chosen.

Climb only when you can name the failure

I read the options as a ladder. Start at the top and move down when you see the failure in the left column.

What you seeTryWhat it addsWhat you must maintain
The work always follows the same stepsA fixed procedureAn explicit order with predictable waitsA branch for each supported variation
Each result suggests a different next actionProtected ReActFlexible choices from current evidenceBounded model calls and reliable context
A dependency, such as the taxi after the table, is dropped across callsA goal with a flat, model-written planVisible steps and dependenciesValidation, revisions and retained work
The same replacement procedure is improvised again and againA reusable method (hierarchical planning)A tested methodCoverage and current conditions
The steps are known but interruptions are handled badlyA Behavior Tree or statechartExplicit modes, guards and fallbacksWait, wake and cancellation rules

A worked example. Your first version handles “Book the table, then get me a taxi quote.” A fixed sequence is enough: ask for approval, wait for confirmation, request the quote. Then the reply goes missing and you say “German instead, and I still want the quote once the new table is confirmed.” Suppose a ReAct agent finds a replacement restaurant and drops the quote when it changes destination. That visible failure is your reason to try an explicit plan. It is not the lost reply, which the engine already handles. So you keep the goal and the quote as separate outcomes, let the model propose the steps, and have code check that the plan covers both and puts the quote after the confirmation. That is the goal strategy in Robotelos: a model proposes, code validates and compiles, and a Behavior Tree runs the steps and orders them by what can be undone.

You add a reusable method only if the same replacement procedure keeps being improvised. You compare a Behavior Tree only if the same wait, guard and fallback recur across procedures.

What to measure

Model tokens are the smallest cost. Count total effort: latency, methods to write and maintain, migrations, inspection and recovery work. Waiting needs careful accounting. A conservative UNKNOWN outcome can leave a person blocked, so it must not count as completed work, and a quick confident reply with an unsupported result must not look efficient because a timer stopped.

Run the strategies on the same requests, provider failures and permission rules, and compare:

  • how often each finishes with a verified result, including across repeated trials,
  • what unintended effects it causes,
  • how it recovers after a lost reply,
  • time to the first useful update, and time and cost to a verified outcome,
  • how much repair it needs.

Test the promises first

Before comparing anything, restart the worker after the first booking is sent and before its reply is saved. The agent should find the accepted work, report the unresolved table, leave the quote waiting and send no conflicting booking. When valid evidence arrives, it should update the right operation. That test costs far less than any planner, and every strategy has to pass it. In Robotelos it is a fault test that kills the engine process after the provider acted.

Where this stands

The goal-oriented strategy and the engine are experimental. Plans of up to three steps are supported today, and the ReAct strategy is in development. I do not know yet which strategy wins on which work. The aim of building both on one ledger is to find out with measurements instead of demos. What you can use today says which parts are ready.

Takeaways

  • Fix dispatch, recovery and approvals under every strategy before you compare strategies.
  • Start with the simplest option that does the job and move only when you can name the failure.
  • Compare on the same requests, failures and permission rules, and count unknown outcomes honestly.