You tell an agent: “A table for two at seven, and a taxi there.” The model replies with a tidy plan: book the restaurant for 7:00, book a taxi for 7:00. Every step names the right action, the JSON is valid, and the answer sounds sure of itself. It is also wrong. A table at seven is not a departure at seven, and you will arrive late.
This article is about what stands between a model’s plan and the world. It argues that the model should propose and code should decide, and it shows the pieces Robotelos puts in between. You do not need to know Robotelos. You need to have seen an LLM produce something that looked right.
Why a model cannot check itself
The failure above is one of five I use as examples. A plan can also lose a condition you stated, such as “no deposit”. It can attach a true fact to the wrong goal, treating your approval of one table as consent to another. It can claim “I checked” when no lookup ran. And it can give a different answer when you ask again. These are constructed illustrations, not measurements of any model. The pattern in the published evidence is that outside checks help where self-checks do not:
- PlanBench reports that plan generation falls well short even for strong models, and a position paper argues that models cannot plan or verify plans by themselves.
- GPT-4 critiquing its own plans did worse than an external verifier, and as a verifier it called invalid plans valid many times.
- In tau-bench, the chance of succeeding on all eight repeated trials of a task was below 25% in retail. An agent that succeeds 70% of the time, independently on each trial, passes eight in a row only about 6% of the time.
- A study with simulated users found performance on average 39% lower when a request arrived over several turns than in one.
Those studies used benchmarks and mostly older models, and several are preprints. They do not measure your agent. They suggest where to put checks: outside the model, in code.
The path from proposal to action
In Robotelos the planner’s output is only a proposal. The package says so in its first lines: planner output must pass runtime admission before use. Four things happen before a step can be sent.
1. Validate. A pure function checks the proposal against the plan format, size limits and the capability catalog. It reports every issue: an unknown capability, a duplicate step key, a dependency on a step that does not exist, a cycle. A model cannot invoke a tool that is not in the catalog, because the plan is refused.
2. Ground the numbers. Where invented values do harm, such as a party size or a quantity, the model must show where each value came from. It labels the source and copies the words of your request that give the number. The code then checks that those words are in the request. A number written in digits is its own proof. A number with neither is a guess, and a guess is asked about with the number offered, as in “Is it four people?”. The check stops a number nobody wrote. It does not stop a model that quotes real words and reads them wrongly. That remains the model’s reading, and only you can correct it.
3. Admit. For each capability in the plan, a policy decides whether the account may use it. The plan is pinned to the capability versions it was admitted against, and steps whose capability requires approval are marked. Then the plan is compiled deterministically: the same proposal gives the same steps and the same digest, whatever order the model listed them in.
func Admit(ctx context.Context, accountID string, p Proposal, cat Catalog, pol Policy) (Plan, error) {
if err := Validate(p, cat); err != nil { return Plan{}, err }
for _, s := range p.Steps {
if err := pol.Authorize(ctx, accountID, s.Capability); err != nil {
return Plan{}, fmt.Errorf("admit %s: %w", s.Capability, err)
}
// pin the capability version; remember whether it requires approval
}
return compile(p, pins, approvals)
}
4. Verify on load. The admitted plan is stored with its digest and never changes. A new plan is a new revision. When a worker loads a run, it recomputes the digest, so the plan it executes is known to be the plan that was admitted.
Inputs get the same treatment. A capability’s input schema has additionalProperties: false and typed formats such as a date. A step whose values are still the planner’s placeholders waits for you with an explicit “await input” node, so a step is never sent with a value nobody gave.
The model is never asked twice
Recovery is where models cause quiet damage. If a restarted worker asked the model for the plan again, it might get a different one and present it as the old one. Robotelos records each model call in the same ledger as every other operation, under a key like m1. A call whose result was recorded is never asked again. A call that was in flight when the worker died had no effect on the world, so it is simply asked again. The stored plan, not a fresh answer, is what recovery reads. Goal criteria are evaluated by code over recorded facts, and a wrong spoken “confirmed” cannot release a step that waits for a recorded outcome.
What this does not fix
- A check finds only what it encodes. The taxi at 7:00 is a well-formed step. Catching it needs a validator that compares pickup, ride time and table time, or a planner that computes the pickup in code. Robotelos validates structure, catalog, authority and grounding today. Domain rules like this one belong in capability definitions or procedures that you write.
- Misunderstanding. If the model hears “eleven” for “seven”, the pipeline will faithfully protect a table for eleven. Interpretation and confirmation have to happen before the work is accepted.
- Spoken claims. Nothing yet stops a model from saying “I checked”. The remedy I recommend is to render status words from saved facts or templates and let the model phrase only the words around them.
- Small plans. The goal strategy handles plans of up to three steps today, and it is experimental. See What you can use today.
Takeaways
- Treat model output as a proposal and give it a typed schema, a catalog and a validator.
- Make the model show its sources for values that can do harm, and check the sources in code.
- Compile deterministically, store the digest, and verify it on load.
- Record model calls like any other effect, and never ask again for a recorded answer.
How the goal, plan and tree fit together is in Goals, tasks and planning.
