Goals, tasks and planning
Experimental Model proposes a plan; code validates and compiles it. Plans of up to three steps today. What works today
The short version
A person states a goal. Robotelos breaks it into sub-goals, each with a success condition. A sub-goal is carried out by tasks, and a task calls operations, which are single actions. Each level answers one question.
The questions behind each term
| Term | The question it answers | Example |
|---|---|---|
| Domain | Where does this problem belong? | Dining, travel, billing |
| Goal | What should become true for the person? | A table is booked for 2 tomorrow |
| Sub-goal | What smaller outcome must hold on the way? | A restaurant is chosen and approved |
| Task | What work should be done now? | Search restaurants; ask the person to choose |
| Capability | Which ability is needed, independent of any vendor? | Restaurant search, table booking |
| Skill | How does a provider deliver that ability? | A search skill that queries two booking services |
| Operation | Which concrete call is executed? | search(), book() |
| Preference | What does the person prefer, without it being a rule? | Outdoor seating, a short walk |
| Constraint | What must hold, as a hard rule? | Budget under 60 € per person; no booking before 18:00 |
| Approval | May this concrete action run? | “Yes, book table 2 for 19:30” |
| Consent | May data or a capability be used at all? | Allow location for walking time |
Two definitions are easy to mix up. An approval permits one action. Consent permits the use of data or a capability for a purpose. A preference is a wish; a constraint is a rule that must be satisfied.
Sub-goal or task?
Use a sub-goal when the outcome has its own success condition and can be planned on its own, for example “restaurant chosen”. Use a task when the step is just work the planner created to reach the outcome, for example “search restaurants”. If you are unsure, ask whether the step can fail as an outcome of its own. If it can, it is a sub-goal.
A worked example: booking a table
The same flow, step by step:
| Step | What happens | Who does it |
|---|---|---|
| 1 | The person writes: “Book a table at an Italian restaurant for 2 tomorrow evening.” | The conversation |
| 2 | The goal is stored with its constraints: cuisine, party size, time, place | The goal manager |
| 3 | The planner derives sub-goals and tasks, and selects the skills that provide search and booking | The task planner |
| 4 | The search runs and returns candidates; the person is asked to choose | The agent, through approvals |
| 5 | Booking needs approval. The person approves “table for 2, 19:30” | The person; the server checks the approval |
| 6 | The booking runs. If it fails, the planner chooses a fallback, for example another restaurant | The execution engine |
| 7 | The confirmation is recorded and shown on every device the person follows the conversation on | The server, through the record |
If the person changes their mind halfway, for example “actually a French restaurant, and let’s walk”, the planner keeps the completed search, replaces the branch that depends on the old choice, and continues. Each change is recorded as an event, so nothing is lost.
Like a delivery robot: mission, route and control loop
A delivery robot does not act on one message. It has a mission (“deliver this parcel to floor 3 before 16:00”), a route (the lift, the corridor, the stairs), and a control loop that keeps checking the world and reacts when a door is locked. Robotelos uses the same three parts for agents:
| Part | Robot equivalent | What it does for you |
|---|---|---|
| Goal manager | Mission control | Keeps track of what you want, what it depends on, when it is done, and which goal comes first. A goal can last for days and move between channels. |
| Task planner | The route planner | Turns a goal into steps, works out which steps depend on others, and chooses the skills each step needs. Where a step needs your approval, it asks. |
| Behavior tree | The control loop | Runs the steps in order, checks the conditions as it goes, and switches to a planned fallback when a step is blocked. It reacts to change without starting the whole plan again. |
Why not let a language model decide every step? A model that decides everything is hard to predict, hard to stop and hard to audit. The planner gives the work a shape that people can read, and the control loop makes sure each step runs in order, with a planned fallback when something fails. Models still help: they understand your request and propose plans. The rules for what runs, and when, stay explicit.
How the pieces fit together
The conversation carries every result of this flow: messages, approvals with their details, outcomes, and the state of each participant. The goal manager, the task planner and the behavior tree decide what happens next, and the record shows what has happened so far.
Explore or act
Every goal is either exploring or acting. An exploring goal can look things up and compare options, but it cannot change anything in the world. An acting goal can propose changes, and every change still needs the person’s approval and the right permissions. Only the person, or an explicit choice in a trusted control panel, can switch a goal to acting.
Partly done is a real state
If a goal involves several bookings and only some of them can be cancelled, the goal is shown as partly cancelled, with each booking listed separately. A goal is never marked as done or cancelled only because the work that was running has stopped.
Next steps
- Execution model for how a booking survives a crash and does not run twice.
- Multiple clients and Groups and participants for several people and devices on the same goal.
- Specification for the exact rules of the parts that are available today.
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.