Reflex Docs
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_xyz789

The agent stays attached and logs each command it receives. Stop it with Ctrl-C.

Flags

FlagDefaultDescription
--configrequiredPath to the reflex.yaml that reflex connect runs on start.
--robot-iddeployment.robot_id in configRobot id to bind this agent to.
--poll-interval1.0Seconds between cloud polls for queued commands.
--api-keyREFLEX_API_KEY / saved loginAPI key override.
--convex-urlproductionBackend URL override; only set if you've been told to.
--jsonoffJSON output.

On this page