Why Robotelos exists

Your AI agent should outlive its process

A dinner booking shows what breaks when an agent acts for you, and the five rules Robotelos follows so that it can still tell you the truth.

Robert Winkler · 30 November 2026 · 7 min read

The Robotelos Gopher reconnecting a power link

It is a little before six. You are on the phone with a friend, and an AI concierge is on the call.

“Concierge, can you get us a table for two at seven?”

“I’ll take care of that.”

The call sounds the same as before, but something important has changed. The concierge has agreed to bring about an outcome in the world. From now on it owes you either a table or an honest account of why there isn’t one.

If you build agents that book, buy, switch or cancel things, this is the problem that decides whether people can trust them. It is not about getting a good answer from a model. It is about what happens after the agent has acted: the restart, the lost reply, the approval that arrives tomorrow. I have spent more than seventeen years designing distributed systems, and this article is the overview of how Robotelos handles it. Each rule below links to a deeper article with the code.

What goes wrong after the agent has acted

The concierge sends your approved table request to the restaurant. At 6:05 a new release goes live and the worker that sent the request stops. At 6:06 the restaurant’s reply arrives at an address nobody is listening on. You hang up, put your coat on and call back: “Are we all set for seven?”

One request, a lost reply The worker records its intent, sends the table request and the restaurant books the table. The reply is lost and the worker stops. The replacement worker finds a recorded request with no reply, so the outcome is unknown. Database Worker Restaurant 3 the table is booked 5 the worker stops A replacement worker finds a request with no replyThe outcome is UNKNOWN, not failed. Ask the restaurant about T-17. 1 record intent T-17 2 send request T-17 4 the reply is lost The restaurant lost nothing. Only the concierge did.
The restaurant booked the table. The reply was lost, and so was the worker that was waiting for it.

The conversation shows that you approved the table and that the concierge tried to book it. It cannot show whether the restaurant created a reservation. A better prompt does not help, because no wording of the question supplies a fact the agent does not have. The obvious fix, sending the request again, might leave you with two tables.

The right answer sounds like this: “Your taxi is booked, and I have the operator’s confirmation. I sent the table request you approved, but the restaurant hasn’t confirmed it yet. I’m checking before I book anywhere else, and I haven’t told Maria.”

Giving that answer reliably is a distributed systems problem, not a language problem.

Keep three things apart

Robotics and game AI have long built systems that pursue an outcome while the world changes. A warehouse robot finds its aisle blocked and takes another one. Both fields keep three things apart: the outcome you want, the route to it, and what has already happened. The route can change. The outcome and the history stay.

Mission, route and control loop A mission, a route and a control loop: the goal manager decides what should be true, the task planner works out the steps, and the behavior tree runs them and reacts when something changes. MISSION CONTROLGoal managerWhat should be true?When is it done?What comes first?Robot: “deliver the parcelto floor 3 before 16:00” ROUTE PLANNERTask plannerWhich steps, in which order?What depends on what?Which skills are needed?Robot: “lift, drive to the lift,ride up, unload” CONTROL LOOPBehavior treeRuns each stepChecks conditions every tickSwitches to a fallback when blockedRobot: “door locked? takethe stairs instead” sensors and results: what actually happened A robot does not replan every second. It follows the plan, and changes the plan only when the world changes.
A mission, a route and a control loop. The same split works for an agent.

Robotelos uses the same split. A Goal Manager keeps what you want and when it counts as done. A Task Planner turns the goal into steps. A Behavior Tree runs the steps in order and reacts when one fails. Planners and trees are mature techniques, so the interesting part is what an agent platform must add around them.

A robot can look through its own camera to see whether the cup is on the table. A concierge has no camera inside the restaurant. Only the restaurant’s reply says that the table exists, and only after the agent has checked which request the reply refers to and whether the details match. The agent also has to wait for a person’s consent, sometimes for hours, and keep going after the process running it restarts.

What a replacement worker needs

At 6:05 the replacement worker starts with nothing in memory. It rebuilds from three kinds of saved information, which change for different reasons.

Three kinds of saved state A replacement worker rebuilds from three records: what was agreed, what was sent, and where the machinery is. It does not ask the model again. GOAL STATEWhat you agreedtable for two at sevenno deposit, Maria hears lastchanges when you do EFFECT RECORDWhat was senttable request T-17outcome: UNKNOWNevidence that settled it EXECUTION STATEWhere the work isstep, timers, leasewhich reply is awaitedchanges constantly Replacement workerstarts at 6:05 with nothing in memory It reads the saved records. It never asks the model to make the plan again.
What you agreed, what was sent and where the work is. One database can hold all three.

What you agreed changes when you change your mind, and only then. Where the machinery is changes constantly. Between them sits a record of every request sent to the outside world: what was asked, under which key, with what outcome. In Robotelos these are goals and their facts, the run, and the operation ledger, all in PostgreSQL. The worker reads them. It never asks the model to make the plan again, because a model may answer differently the second time.

Five rules

1. Record before acting. Every external call is written to the ledger, under a key that never changes between attempts, before it is sent. The intent survives a crash, so a replacement worker knows a request may be in flight.

2. An unanswered request is unknown, not failed. The ledger has a state for “sent, outcome not known”. Recovery asks the provider what happened to the original request, and resends only when the capability is declared safe to repeat. See A lost reply is not a failed request.

3. Fence off the old worker. Each claim on a run takes a higher number, the epoch, and a write that carries an older number is refused. See How to stop a stalled worker from acting on old news.

4. Waiting is work. An approval that arrives tomorrow is a recorded wait with an expiry and an exact subject, and no process sleeps for it. See Approvals that cannot go stale.

5. Put the step nobody can undo last. Cancelling a taxi does not restore the past, so a plan orders its steps by what can still be taken back, and a step waits for the recorded outcome of the one before. See Do the step nobody can undo last.

Durability is not correctness

Durable execution keeps accepted work alive. It cannot make a wrong plan right. If the concierge heard “eleven” when you said “seven”, every mechanism above will faithfully protect a table for eleven. So Robotelos separates proposing from acting: a model proposes a plan, and code validates it, checks permission and compiles it. See Let the model propose and let code decide.

A hypothesis, not a verdict

I don’t assume the structured approach always wins. In a ReAct loop the model chooses each step. It is flexible and needs little up front, and with the same approvals, records and recovery it may be all a service needs. Robotelos is built to run both strategies on one foundation and compare them on the same work. How to choose is in Choose the smallest strategy that works.

The goal-oriented strategy and the engine are experimental today. What you can use today says which parts are ready. This article draws on my book Building Reliable and Durable AI Agents.