droid) is Factory AI’s terminal AI software-engineering agent.
Protocol: OpenAI-compatible
- Base URL:
https://api.orcarouter.ai/v1(includes the/v1suffix)
Install
macOS/Linux:droid.
Configure
Config file:~/.factory/config.json.
orcarouter/auto for a specific model if you prefer, e.g. anthropic/claude-opus-4.8 or google/gemini-2.5-flash. Model IDs always use the vendor/model format.
Run
OK.
Notes
- Custom models go in the
custom_modelsarray. - Use
provider: "generic-chat-completion-api"for the OpenAI-compatible protocol. - The
base_urlmust include/v1. --auto <low|medium|high>controls autonomy (how much the agent may do unattended) — it is not the reasoning control. See below for thinking.
VS Code extension: Factory’s official VS Code extension shares the same
~/.factory/config.json as the CLI — the custom_models entry above applies to
both, with no separate in-editor endpoint setting. Two caveats: Factory only
fully tests and benchmarks against the official Anthropic/OpenAI APIs, and a
known issue can route subagents back to Anthropic instead of your custom model.Enable thinking / reasoning
Control reasoning effort with the-r / --reasoning-effort flag (separate from --auto):
low / medium / high (default is per-model — Anthropic models default off, GPT-5 defaults medium). You can also set it persistently in settings.json via reasoningEffort. Verified: -r high passes through to OrcaRouter. (Note: custom_models entries have no reasoning field — control it via -r or settings.json.)