Quickstart

Run Robotelos on your machine with the robotelos command-line tool, and chat with an agent in about five minutes.

This guide gets a complete Robotelos instance running on your machine and shows you how to talk to it. You need Go 1.27, and Docker for the full instance. If you do not have Docker, run the Server SDK and Client SDK examples instead. They keep conversations in memory.

Step 1: Get the tools

Clone the repository and build the two command-line programs:

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

On Windows, the files are called robotelos.exe and robotelos-chat.exe, and you run them as .\robotelos.exe.

Step 2: Check your machine

./robotelos dev doctor

The command checks Docker, the configuration folder and the ports Robotelos uses. It lists every problem at once. If something fails, fix it and run the command again.

Step 3: Start the instance

./robotelos dev up

This starts a PostgreSQL database in Docker, applies the database setup, and starts the gateway with a built-in mock agent. Leave this terminal open. The gateway is listening on:

  • 127.0.0.1:8787 for HTTP and WebSocket
  • 127.0.0.1:8788 for gRPC

The command also saves a connection called dev and makes it the current one. Check it in a second terminal:

./robotelos context list

The line marked * is the current instance.

Step 4: Chat with the agent

In the second terminal, connect with the development token that dev up saved:

./robotelos-chat --transport sse --url http://127.0.0.1:8787 --token "$(cat ~/.robotelos/dev/token)"

On PowerShell, use --token (Get-Content ~\.robotelos\dev\token) instead.

Type a message and the mock agent answers. Now type:

run ls -la

The agent asks for your approval before it runs the command. To answer approvals in your own program, see the Go client example.

Step 5: Stop, and clean up

Press Ctrl-C in the first terminal to stop the gateway. The database keeps running, so the next dev up is quick. To stop the database too:

./robotelos dev down

Add --volumes to also delete the data.

Next steps