CLI
Look up the you-agent-factory command groups, how a factory is selected for a run, the global flags every command shares, and where the full published CLI contract lives.
Install
Install the you CLI with the published release entrypoint for your operating system, then configure a provider before the first run. The install page carries the OS commands, the provider step, and the packaged-factory install.Commands
Pick a command group by what you are trying to do, and check whether it needs a factory host already listening. Startup forms create the runtime. Session, work, and submit forms address a runtime that already exists. Everything else reads or writes local state.| Command group | Purpose | Factory must already be running? |
|---|---|---|
| you init | Configure the default provider and model, or install a packaged factory from the embedded catalog. | No |
| you run | Load a factory and run the engine. Batch by default; add --continuously to stay alive while idle. | No — this starts the runtime. |
| you server | Validate and serve the current factory from ./factory/factory.json, opening the dashboard once ready. | No — this starts the runtime. |
| you factory list / create / update / delete | Manage persisted named factories under one factory root at a time. | No |
| you factory config validate / expand / flatten | Validate a definition without persisting it, or convert between the single-file and split layouts. | No |
| you session list / show / create / delete / pause / resume / dispatches | Manage factory sessions and read their durable dispatches on a host. | Yes |
| you submit / you submit batch | Submit one work item, or upsert a canonical request batch, to a live session. | Yes |
| you work list / show / move / visualize | Inspect and move work items. Visualizing a batch file reads local JSON instead. | Yes, except visualize |
| you workers list / acp add / acp delete | Inspect selectable worker integrations and configure Agent Client Protocol providers. | No |
| you models list / inspect / pull / invoke | Read discovered models and their readiness, pull local models into the managed cache, or invoke one directly. | Yes, except invoke |
| you mcp serve | Start the Factory Session Model Context Protocol server over stdio for an MCP host. | No |
| you serve acp | Host you-agent-factory as an Agent Client Protocol agent over stdio for an editor. | No |
| you docs / you docs <topic> | Print packaged reference markdown from the installed binary. | No |