-
Notifications
You must be signed in to change notification settings - Fork 69
sections cli
Active contributors: Andy Taylor, Sagar Narayan, Eno Reyes
docs/cli/ is the largest section of the docs and covers Factory's command-line agent, droid. It's the entry point for most users — the install instructions on the landing page, the quickstart, the configuration reference, and the long tail of feature, BYOK, and account pages all live here.
docs/cli/
├── account/ # Security, droid shield, droid shield plus
├── byok/ # Bring-Your-Own-Key per provider
├── configuration/ # settings, AGENTS.md, skills, MCP, hooks, plugins, custom droids, custom slash commands, mixed models
├── droid-exec/ # Headless / non-interactive droid (overview lives here, recipes in guides/)
├── features/ # missions, code-review, droid-control, droid-computers, readiness-report, wiki/
│ └── wiki/ # overview, generate, web-viewer, auto-refresh
├── getting-started/ # overview, quickstart, common-use-cases, how-to-talk-to-a-droid, video-walkthrough
└── user-guides/ # become-a-power-user, specification-mode, auto-run, choosing-your-model, implementing-large-features
docs/cli/getting-started/overview.mdx is the page most users read first — it has the install snippets and a short pitch. quickstart.mdx is the 5-minute walkthrough. common-use-cases.mdx and how-to-talk-to-a-droid.mdx are the tone-and-pattern guides; video-walkthrough.mdx embeds a recorded walkthrough.
The configuration tree is the densest area of the docs. The settings page (docs/cli/configuration/settings.mdx) is one of the highest-churn files in the repo. Adjacent pages cover the major extension points:
-
agents-md.mdx— the project-level conventions file droid reads. -
skills.mdx— composable capabilities (with a parallel guide tree underdocs/guides/skills/). -
mcp.mdx— Model Context Protocol servers. -
custom-droids.mdx— bespoke droids with role-specific prompts/tools. -
hooks-guide.mdx— pre/post tool-call hooks (full reference atdocs/reference/hooks-reference.mdx). -
plugins.mdx— third-party packages of skills/hooks/droids. -
custom-slash-commands.mdx— repo-defined/commands. -
mixed-models.mdx— routing different tasks to different models.
docs/cli/features/ is where new product capabilities land:
| Page | What it covers |
|---|---|
missions.mdx |
Long-running scoped tasks droid plans and executes |
code-review.mdx |
The /review slash command and AI code review |
droid-control.mdx |
Orchestration of droid runs across machines |
droid-computers.mdx |
Managed cloud workspaces driven by droid |
droid-computers-byom.mdx |
The same, with a customer-supplied model |
readiness-report.mdx |
The CLI side of agent readiness |
wiki/ |
The wiki feature (overview, generate, web-viewer, auto-refresh) |
The wiki/ subdirectory documents the very feature that produced this wiki you're reading.
docs/cli/byok/ has a per-provider page for every supported LLM gateway: Baseten, DeepInfra, Fireworks, Google Gemini, Groq, Hugging Face, Ollama, OpenAI/Anthropic direct, OpenRouter. The overview.mdx is the routing/decision page. Each provider page is short and recipe-style.
docs/cli/droid-exec/overview.mdx introduces the headless mode and is the only file in this subdirectory — recipe-level content lives in docs/guides/droid-exec/ (see Guides).
docs/cli/account/ contains the security and Droid Shield pages that overlap with enterprise content. security.mdx is the public-facing security overview; droid-shield.mdx and droid-shield-plus.mdx describe the safety/guardrail tier.
docs/cli/user-guides/ has the power-user material:
become-a-power-user.mdx-
specification-mode.mdx— spec-then-implement workflow -
auto-run.mdx— when droid runs without per-action approval choosing-your-model.mdximplementing-large-features.mdx
| File | Purpose |
|---|---|
docs/cli/getting-started/overview.mdx |
Landing page for new CLI users |
docs/cli/getting-started/quickstart.mdx |
5-minute install + first task walkthrough |
docs/cli/configuration/settings.mdx |
Highest-churn config page |
docs/cli/configuration/agents-md.mdx |
Project conventions file format |
docs/cli/configuration/skills.mdx |
Skills system reference |
docs/cli/features/wiki/generate.mdx |
The feature that produced this wiki |
docs/cli/byok/overview.mdx |
BYOK provider routing |
docs/cli/droid-exec/overview.mdx |
Headless mode introduction |
- Linked from the main
README.mdfor the project. - Configuration pages are referenced by
docs/reference/cli-reference.mdxand vice versa. - BYOK pages cross-link with
docs/enterprise/models-llm-gateways-and-integrations.mdx. - Wiki pages link to the feature on the live product surface.
- New CLI feature → add a page under
docs/cli/features/and a navigation entry indocs/docs.json's "Capabilities" or "Configure & Extend" group. - New BYOK provider → copy an existing provider page in
docs/cli/byok/, add to the BYOK group indocs.json, and updateoverview.mdxif needed. - Settings changes →
docs/cli/configuration/settings.mdxis the source of truth for user-facing settings; pair edits withdocs/reference/cli-reference.mdx.