Factory Droid
Factory's coding agent: the droid CLI runs it in your terminal with approvals, MCP tools and a headless exec mode, on the same runtime as Factory's desktop and web apps. Run it in EnvHaven from any browser, signed in once with your own account, and keep it working 24/7; or install it on your own machine.
Updated November 23, 2026 · Checked against Factory Droid 0.249.0 in EnvHaven v1.9.0
| At a glance | |
|---|---|
| Made by | Factory |
| Command | droid |
| Version checked | 0.249.0, in EnvHaven v1.9.0 |
| Documentation | docs.factory.com/droid-cli/overview |
Use Factory Droid in EnvHaven
- Open your workspace in any browser, on a laptop, a tablet or a phone.
- Tap Launch, choose Factory Droid and tap Sign in: it starts Factory Droid, which asks you to sign in the first time. For an API key, choose Set key instead and paste
FACTORY_API_KEY; the workspace keeps it write-only. - Start it with one tap: signed in, Factory Droid gets a green dot in the Launch menu and an icon in the workspace’s top bar. Support is built in (0.249.0), so there is nothing to install or update.
- Give it a task. Runs with the default autonomy; pick the level per run.
- Close the tab whenever you like. The workspace is an always-on Linux machine, so Factory Droid keeps working, and every device you open it from shows the same session.
Every agent signs in with your own account: EnvHaven never resells tokens or adds a markup.
Install Factory Droid on another machine
macOS, Linux:
curl -fsSL https://app.factory.ai/cli | sh
Homebrew:
brew install --cask droid
Sign in from the terminal
In a workspace the Launch menu does this for you. On any other machine, or when you would rather type it:
- Run
droidand sign in in the browser; the login screen also shows a device code with a link. - Or set
FACTORY_API_KEY(keys start withfk-), which wins over a signed-in user on the same machine. - Factory’s Pro, Plus and Max plans include its managed inference; the Free plan works with your own ChatGPT, GitHub Copilot or OpenRouter sign-in, or your own API keys. CLI sessions sync to Factory’s web app.
Run Factory Droid without permission prompts
Scripted runs, every permission:
droid exec --skip-permissions-unsafe "<prompt>"
Highest tiered autonomy:
droid exec --auto high "<prompt>"
As the default, in ~/.factory/settings.json:
{
"sessionDefaultSettings": { "autonomyLevel": "high" }
}
--skip-permissions-unsafe skips every permission prompt (block rules still apply) and cannot be combined with --auto. High is not prompt-free: an ask rule in your permission rules still prompts, and a block rule refuses with no way to approve. Without --auto, droid exec runs read-only. In the interactive app, Ctrl+L cycles autonomy from Off to High.
In EnvHaven: Runs with the default autonomy; pick the level per run. The details, and when full access is safe, are on the Factory Droid full-access page.
Instructions file
Factory Droid reads AGENTS.md, CLAUDE.md, .factory/AGENTS.md, ~/.factory/AGENTS.md. Searched from the working directory up to the git root.
Add MCP servers
droid mcp add <name> <command> [args...]
Add --env KEY=VALUE for variables and --type http for a remote server. Servers live in ~/.factory/mcp.json.
The MCP config converter writes the same server for every agent at once.
Run it from scripts
droid exec --auto medium "<prompt>"
Headless runs cannot stop to ask, so they need the full-access setting above.
Factory Droid away from your desk
Factory Droid keeps working only while the machine it runs on is awake. In EnvHaven that machine is the workspace, which never sleeps: start a task, close the laptop and check on it from a phone.
- Factory Droid in the browser
- Factory Droid on iPhone
- Factory Droid on iPad
- Factory Droid on Android
- Factory Droid on a Chromebook
- Factory Droid on Windows
- Factory Droid on a VPS
- Factory Droid in Docker
- Factory Droid on a Raspberry Pi
- Factory Droid 24/7
Factory’s own options:
- Remote Control (
droid daemon --remote-control) connects your own machine through Factory’s relay so sessions can be driven from the web. - Tasks can be delegated to Droid from Slack, Linear, Jira, Microsoft Teams and Google Chat.
Compare Factory Droid
When Factory Droid misbehaves
- Factory Droid: Authentication failed. Please log in using /login
- Is Factory Droid down? Live status of the providers it depends on.