CLI
reflex init
Scaffold a Reflex project — agentic hardware wizard when logged in.
reflex init scaffolds a project in the target directory. When you're logged
in (reflex login) and running interactively, it launches an agentic wizard
that asks about your hardware and writes a ready-to-run reflex.yaml.
Otherwise it writes a template scaffold from flags/defaults.
reflex init # scaffold into the current directory
reflex init my-robot # scaffold into ./my-robotFlags
| Flag | Default | Description |
|---|---|---|
DIRECTORY | . | Directory to scaffold into (positional argument). |
--model | — | Base model for the offline scaffold. |
--robot | — | Robot name for the offline scaffold. |
--task | — | Task / prompt for the offline scaffold. |
--cameras | — | Comma-separated camera names for the offline scaffold. |
--yes, -y | off | Non-interactive: scaffold from defaults/flags, no AI. |
--force | off | Overwrite existing files. |
--no-ai | off | Skip the AI wizard; just write the template scaffold. |
--no-knowledge | off | Skip writing AGENTS.md and the Cursor rule. |
--max-rounds | 30 | Cap on AI wizard tool-call rounds. |
The wizard writes a reflex.yaml you can run straight away with
reflex connect.