Open-source goal-driven agent infrastructure

Goal-driven agents. Durable. Connected.

Robotelos brings the way robots pursue goals to AI agents: plan the tasks, act, check what actually happened, adjust. The work keeps going across interruptions, devices and distributed environments.

Pre-release Apache-2.0. The protocol and SDKs are available; the durable engine and fleets are experimental. Status →

Robotelos = robotics + telos (τέλος), the ancient Greek word for goal or purpose. From robotics it takes plans, tasks, behavior and observed results; telos gives them a direction.

Robotelos, taken apartFive layers, from your infrastructure at the bottom to the clients at the top. Robotelos provides the three in the middle: the durable engine, the goals and tasks layer and the conversation gateway.Your infrastructurePOSTGRESQL · KUBERNETES · YOUR CLOUDDurable engineRECORDED BEFORE IT IS SENTGoals and tasksPLANS CHECKED BEFORE THEY ACTConversation gatewayONE STREAM FOR EVERY CLIENTClientsWEB · MOBILE · VOICE · AGENTSPROVIDED BY ROBOTELOS

Why Robotelos exists

Building agents is only the beginning.

Creating an AI agent is becoming easier. Running it reliably in the real world is still a distributed systems problem.

Connections drop. Processes fail. Users switch devices. Tasks take time. Approvals arrive later. A booking service stops replying at exactly the wrong moment.

Robotelos brings these concerns together so you can build intelligent applications instead of rebuilding the same infrastructure for every agent.

Why I built Robotelos: lessons from robotics and game AI →

Three capabilities, usually bought separately Durable execution, goal orchestration and real-time interaction overlap. Any two give you workflows, sessions or chat agents, each missing the third. Robotelos sits where all three meet. Durable execution SURVIVES RESTARTS AND FAILURES Goal orchestration PLANS CHECKED BEFORE THEY ACT Real-time interaction EVERY CLIENT, LIVE Workflows but not live Sessions but no goals Chat agents but not durable Robotelos all three
Many agent stacks combine two of the three, and each overlap is missing the third. Robotelos is built for all three at once.

Learned from robotics and game AI

Agents that pursue goals, not just prompts.

Autonomous robots and game characters have pursued outcomes through changing worlds for decades. Robotelos borrows their three-layer design and adds what an agent needs on top.

  1. Layer 1

    Goal Manager

    What should be true, and when is it done?

    In a robot
    Deliver the parcel to floor 3 before 16:00.
    In a game
    Escort the player safely to the gate.
    In Robotelos
    A table at 7 and a taxi, tracked as two goals. Each can be paused or abandoned on its own.
  2. Layer 2

    Task Planner

    Which steps, in which order?

    In a robot
    Pick up, take the lift, ride up, unload.
    In a game
    Main road first, then the bridge.
    In Robotelos
    The model proposes a plan. Code checks it against what you actually said, then compiles it.
  3. Layer 3

    Behavior Tree

    What happens now, and what if it fails?

    In a robot
    Door locked? Take the stairs.
    In a game
    Gate shut? Use the side passage, or wait.
    In Robotelos
    Runs one action at a time, waits for your approval and falls back to the next option.
Layer 1 · Goal Manager The goal says what should be true, and when it is done.
  • GoalDinner with Anna, tomorrow 7 pm, Italian, near the station
  • Done whenA table is confirmed and Anna has accepted
  • StatusAccepted. It can be paused or abandoned on its own.

Reports to you: the goal is Settled only when the receipt arrives.

Layer 2 · Task Planner The planner breaks the goal into steps. Code checks them against what you said.
  • GoalDinner with Anna, tomorrow 7 pm
  • Task 1Find a vegetarian-friendly table
  • Task 2Get your approval for this offer
  • Task 3Book the table
  • Task 4Tell Anna

Reports up: task 3 is unknown, so the goal stays open and the plan waits.

Layer 3 · Behavior Tree The tree does one action at a time and falls back when one fails.
  • Task 3Book the table
  • ActionRecord the request first
  • ActionSend it to the restaurant. The reply is lost.
  • FallbackAsk the restaurant what happened
  • FallbackTry the next restaurant, only if confirmed not booked

Reports up: booking outcome Unknown. Nothing is booked twice.

Illustrated with the dinner goal from the story below.

Results flow back up. The plan changes only when the world does.

What agents need that robots don't

  • A person's approval, sometimes hours later
  • Every action recorded before it runs
  • Proof from the provider instead of a camera

Experimental Runs today as an experimental execution strategy, with plans of up to three steps.

How a goal becomes tasks Read the story behind it

Platform

One foundation. From your first agent to distributed infrastructure.

Four things every production agent needs. Robotelos handles them in one place, so the second agent is as easy as the first.

  1. 01

    Build

    Define agents as files. Pin models and prompts.

    Learn more about Build →
  2. 02

    Run

    Record progress before acting. Recover after a restart.

    Learn more about Run →
  3. 03

    Connect

    One conversation, followed from every device.

    Learn more about Connect →
  4. 04

    Operate

    One control plane. Fleets out to the edge.

    Learn more about Operate →

01 · Build

Turn ideas into intelligent agents.

Define agents declaratively, pin models and prompts, and serve your own agent next to the built-in one.

Learn more about Build →

02 · Run

Execute reliably.

Record progress before acting, recover after a restart, and report an unanswered request as unknown instead of guessing.

Learn more about Run →

03 · Connect

Interact everywhere.

Follow one conversation from a browser, a phone and a watch at once. Each client resumes where it stopped.

Learn more about Connect →

04 · Operate

Stay in control.

Roll out versions from one control plane to fleets in any region, data centre or site. Each fleet runs on its own and catches up when the link returns.

Learn more about Operate →

Signature experience

Start anywhere. Continue everywhere.

You ask on your phone on the road, carry on at the laptop at home, and finish on your phone on the way to the restaurant. In between, a server fails at the worst moment. The goal lives in Robotelos, not in a browser tab, so it survives all of it.

  1. 1

    Phone · on the road

    Ask by voice call

    You call Robotelos while walking: “Dinner with Anna tomorrow at 7. Italian, near the station.”

    Robotelos: Accepts the goal

    It now owes you a table and Anna an invitation, or an honest reason why there is none.

  2. 2

    Laptop · at home

    Carry on in the app

    At home you open the app. The call is already there as a summary, with the goal and its tasks. You add: “Anna is vegetarian.”

    Robotelos: Keeps one record

    Call, phone and laptop read the same goal and tasks. Nothing is copied between apps.

  3. 3

    Laptop · at home

    Approve the offer

    Robotelos asks before it books. You tap Approve on this exact offer: Piazza Verde, 7:30, vegetarian set menu €38.

    Robotelos: Ties the approval to this offer

    If the price or the time changes, your yes no longer applies.

  4. 4

    Phone · in your pocket

    Close the laptop and leave

    No device is open. You head for the station.

    Robotelos: Writes it down, then books

    The request is recorded before it is sent.

  5. 5

    Phone · in the tunnel

    No signal on the train

    The app shows the last state it saw. You notice nothing.

    Robotelos: A server fails mid-booking

    The reply is lost. Robotelos asks the restaurant what happened instead of booking twice.

  6. 6

    Phone · on the way

    Check the app

    Back online, the app catches up. Table confirmed for two. Anna has accepted and is on her way too.

    Robotelos: Settles it with evidence

    The restaurant's receipt, not the model's guess, closes the goal.

The goal, from start to finish Dinner with Anna tomorrow at 7 pm, Italian, near the station

An illustrated scenario, not a recording of a live run.

Run it yourself How recovery works

Developer experience

Your first durable agent starts here.

Start locally. Connect your application. Define and ship your agent when you are ready.

From the Quickstart
git clone https://github.com/robotelos/robotelos.git
cd robotelos
go build -o robotelos ./runtime/cmd/robotelos
go build -o robotelos-chat ./protocol/cmd/robotelos-chat

./robotelos dev doctor   # checks Docker, ports and configuration
./robotelos dev up       # PostgreSQL, migrations, gateway with a mock agent

# second terminal: chat, then type "run ls -la" to see an approval
./robotelos-chat --transport sse --url http://127.0.0.1:8787 \
  --token "$(cat ~/.robotelos/dev/token)"

Steps one and two run on your laptop. Step three, defining and shipping an agent, needs a Robotelos control plane: see Ship an agent.

Follow the Quickstart Examples

Define once. Run anywhere. Interact everywhere.

Build the next generation of durable, connected AI agents with Robotelos.