# Factory Droid vs OpenCode

> Factory Droid is 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; OpenCode is an open-source coding agent with a terminal interface, a desktop app and IDE extensions, which works with models from many providers. Side by side, with every command checked.

_Updated November 23, 2026 · Checked against Factory Droid 0.249.0 and OpenCode 1.18.32 in EnvHaven v1.9.0_

|  | Factory Droid | OpenCode |
| --- | --- | --- |
| Made by | Factory | Anomaly |
| Kind | Coding agent | Coding agent |
| Open source | No | Yes, MIT |
| Models | Factory models | Many providers |
| Install | `curl -fsSL https://app.factory.ai/cli \| sh` | `curl -fsSL https://opencode.ai/install \| bash` |
| Full-access switch | `droid exec --skip-permissions-unsafe "<prompt>"` | `opencode --auto` |
| Instructions file | `AGENTS.md`, `CLAUDE.md` | `AGENTS.md`, `~/.config/opencode/AGENTS.md` |
| Add an MCP server | `droid mcp add` | `opencode mcp add` |
| Headless | `droid exec --auto medium` | `opencode run` |
| Version checked | 0.249.0 | 1.18.32 |

## How to choose

- Pick **OpenCode** if you want to read, audit or modify the agent itself: it is open source under MIT.
- Pick **OpenCode** to switch between model providers freely, and **Factory Droid** for the model family its vendor tunes it for.
- If you already pay for a plan from Factory, **Factory Droid** is the natural start: 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.
- If you already pay for a plan from Anomaly, **OpenCode** is the natural start: ChatGPT Plus or Pro, GitHub Copilot, GitLab Duo and SuperGrok sign in from `/connect`, and OpenCode Go is OpenCode's own plan.
- Not sure? Run both on the same task. An EnvHaven workspace has both built in: sign in to each once from the Launch menu, give them the same prompt in two terminal windows side by side, and compare, so the comparison costs one prompt each.

## Factory Droid in detail

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. `--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.

More: [Factory Droid setup and commands](https://envhaven.com/agents/factory-droid), [its full-access mode](https://envhaven.com/yolo/factory-droid).

## OpenCode in detail

An open-source coding agent with a terminal interface, a desktop app and IDE extensions, which works with models from many providers. `--auto` auto-approves every permission that is not explicitly denied; its help marks it "dangerous!". Deny rules still apply, and in 1.18 the default rules deny reading `.env` files.

More: [OpenCode setup and commands](https://envhaven.com/agents/opencode), [its full-access mode](https://envhaven.com/yolo/opencode).

## Keep reading

- [Factory Droid](https://envhaven.com/agents/factory-droid)
- [OpenCode](https://envhaven.com/agents/opencode)
- [Every agent compared](https://envhaven.com/compare)

Source: https://envhaven.com/compare/factory-droid-vs-opencode
