AI tools, scored for your job
Get paid to train AI
🤝 You're in the Free & Open Source library — community-built tools you can use without paying. A different concept from our scored AI directory.
Home › Free & Open Source › Software › OpenCode
✦ Free & open sourceSoftware

OpenCode

Open-source AI coding agent for terminal, desktop and phone that works with 200+ model providers.

An open-source coding agent for any model

OpenCode runs in your terminal or desktop app and connects to 200+ providers, including local models.

Free forever · open source · MIT
✓ Light setup✓ Browser-based✓ Real-time collaboration
8.6
ZEKAI
Open agent, any model
Free & open source · Software
Ease of setup7
Usefulness8
Maintenance9.5
Community9.8
★ 226,473
GITHUB
Nov 2026
UPDATED
MIT
LICENSE
🛠 Don't want to self-host? We can set it up →
⚡ Quick answer

OpenCode is an open-source coding agent you use from a terminal UI, a desktop app, a phone or an SDK. It suits developers who want to pick their own model and provider instead of being tied to one vendor's agent.

Runs on
Cross-platform
Hosting
Desktop
Languages
TypeScript
License
MIT

What it is

It installs from a one-line script, npm, Homebrew and other package managers and runs a terminal UI with two built-in agents: build for full-access development work and plan, a read-only agent for exploring code. A general subagent handles complex searches. You choose from 200+ providers through Models.dev, including local models.

Who it's for

It suits developers who are comfortable approving what an agent does in their repo. It does not suit anyone who wants a no-install web tool, and you still pay your chosen model provider unless you use free models.

Key features

Build and plan agents

Switch with Tab between a full-access build agent and a read-only plan agent that asks before running bash.

200+ model providers

Connect to providers via Models.dev, including local models, instead of one fixed vendor.

Terminal, desktop and mobile

A terminal UI, a beta desktop app for macOS, Windows and Linux, and a mobile app to steer sessions.

Subagents

A general subagent can be invoked with @general for multistep searches and tasks.

SDK

Drive OpenCode from your own scripts, CI jobs and tools.

Many install routes

curl script, npm, Homebrew, Arch, mise and Nix are all listed in the README.

How to start

Up and running in 3 steps

1
Install: curl -fsSL https://opencode.ai/v2/install | bash (or npm i -g @opencode/cli, or brew).
2
Open a project folder in your terminal and run opencode, then connect a model provider.
3
Press Tab to switch between the build and plan agents, and read the docs at opencode.ai/docs for configuration.
Real talk

Our honest verdict

What's great

  • Model-agnostic: the site says start with free models or bring any of 200+ providers.
  • The plan agent is read-only and asks permission before bash, which suits exploring an unfamiliar codebase.
  • Works from terminal, desktop app, phone or SDK, so it fits scripts and CI as well as interactive use.
  • MIT licence with a very large user base claimed on the site.

Where it falls short

  • You must supply model access: free models are limited, and other providers charge through your own account or a subscription.
  • The default build agent has full access to your files and commands, so you need to watch what it does.
  • The desktop app is labelled BETA in the README.
  • The README says to remove versions older than 0.1.x before installing, and the repo's README now points to a different GitHub organisation for builds and brew taps, which can confuse installs.
Cost

Pricing & license

OpenCode is free under the MIT license. opencode.ai/go shows an optional Go subscription at $10 per month and Go Plus at $40 per month for access to curated models; otherwise you pay your own model provider.

Paid work

Open remote AI-training roles

768 open remote AI-training roles, updated November 14, 2026; most pay $20–$175 an hour. Zekai lists them free; the application goes to the employer’s platform.

See all open roles →
Compare

Alternatives

🎁 Free & open-source alternatives

These reviewed AI tools do the same job instantly — from our scored directory.

Get more

Use it, or have us set it up

📄 Free PDF: OpenCode for Software
A plain-language guide to getting your first result. Sent to your inbox.
🔔 64 people want a full video tutorial — add your vote
🛠 Don't want to set it up yourself?
We'll install, host & configure OpenCode for you — and train your team.
Get it done for you ↗
Questions

FAQ

Is OpenCode tied to one AI provider?

No. The site says it supports 200+ providers through Models.dev, including local models.

What does it cost?

The software is free under MIT. opencode.ai/go shows an optional Go subscription at $10 per month and Go Plus at $40 per month for curated open-weight models.

Can it edit files without asking?

The build agent has full access; the plan agent denies file edits by default and asks before running bash commands.

Radar

Latest AI news

✉️ The weekly free toolkit
The best new free & open-source tools for Software — one short email a week, in your language.
Free · 1 email/week · unsubscribe anytime
Get paid to train AI →

See Zekai first in Google