“Local mode” means no roz-server in the middle — the CLI runs the agent directly. The agent still makes HTTP calls to your LLM provider (Anthropic API, OpenAI API, or Ollama on
localhost:11434) and connects to sim containers via MCP (HTTP) and the gRPC bridge. “Local” refers to the orchestration, not the network.How It Works
- roz-cli accepts your natural language input and renders the TUI.
- roz-local orchestrates the session in your process (no roz-server needed).
- roz-agent calls the LLM provider via HTTP, generates WASM controllers, and dispatches MCP tool calls.
- roz-copper executes WASM controllers at 100Hz and manages the channel interface.
- The target is either a sim container (Docker, for development) or a real robot (connected via MAVLink, ROS 2, or Zenoh).
Configure Your LLM Provider
roz is provider-agnostic. Set the API key for whichever provider you want to use.- Anthropic
- OpenAI
- Google
- Ollama (Local)
Select a Model
Create aroz.toml in your project directory (or ~/.config/roz/roz.toml for global config) to set the model:
roz.toml is present, roz defaults to Anthropic Claude Sonnet if ANTHROPIC_API_KEY is set, then falls back to OpenAI, Google, and finally Ollama in that order.
Connect to a Robot
Simulation (Docker containers)
For development and testing, use pre-built sim containers from Docker Hub. Each bundles Gazebo, the robot’s middleware, and an MCP server — no ROS 2 or Gazebo installation needed on your host.Real hardware
For real robots, roz connects directly — no Docker container needed:- Manipulators — connect via ROS 2 (MoveIt2) or your robot’s native API
- Drones — connect via MAVLink over serial or UDP to the flight controller
- Mobile robots — connect via ROS 2 Nav2 or Zenoh
Start a Session
Launch the simulation and start an interactive session:When to Use Local Mode
Local mode is ideal for:- Development and experimentation — fast iteration with no infrastructure to manage.
- Offline operation — pair with Ollama for fully air-gapped environments.
- Single-robot sessions — one operator, one robot, one machine.