CLI
reflex agent
Run the resident device agent for dashboard-driven robot control.
reflex agent runs a long-lived device agent on the robot machine. It polls
Reflex for start / stop / e-stop commands issued from the dashboard and drives
reflex connect locally when a session starts. Polling is
outbound-only, so it works behind NAT with no inbound ports.
reflex agent --config reflex.yaml --robot-id robot_xyz789The agent stays attached and logs each command it receives. Stop it with Ctrl-C.
Flags
| Flag | Default | Description |
|---|---|---|
--config | required | Path to the reflex.yaml that reflex connect runs on start. |
--robot-id | deployment.robot_id in config | Robot id to bind this agent to. |
--poll-interval | 1.0 | Seconds between cloud polls for queued commands. |
--api-key | REFLEX_API_KEY / saved login | API key override. |
--convex-url | production | Backend URL override; only set if you've been told to. |
--json | off | JSON output. |