FRENES

Coding agents · AI agent

OpenCode: review, pricing, security and alternatives

OpenCode is an open-source AI agent published by Anomaly, in the coding agents family. An open source coding agent that reads and edits project files and runs commands to perform software development tasks. Its repository has 221,008 stars and its last commit is from October 24, 2026.

Open sourceSelf-hostableActively maintainedHigh risk

What OpenCode does

OpenCode belongs to the coding agents family: they read a repository, edit files, run the tests and fix things until everything passes, in a terminal or an editor. On our grid it ranks #1 of the 74 projects of this family listed in the directory.

You use it from: terminal (CLI), code editor (IDE), and desktop app. Usable models: Claude (Anthropic), GPT (OpenAI), Gemini (Google), local models (Ollama, llama.cpp, vLLM…), OpenRouter, and any OpenAI-compatible model. It can run on your own machine or server.

Who is OpenCode for?

It is aimed at developers and technical teams who want to hand off part of the work on their codebase while keeping the final review. Typical tasks people give it:

  • fix a bug from an issue or an error message
  • write or extend tests
  • migrate code to a new library version
  • explain an unfamiliar codebase

It is a good candidate if you are comfortable in a terminal, you want the AI right inside your code editor, your data must stay on your machines, and you want the option of a local model, with no API fees.

Access and human control

According to its documentation, OpenCode can:

  • run commands in a terminal
  • read and edit files
  • call online services and APIs

We could not establish whether it asks for human approval before sensitive actions: test it first on an unimportant account or folder.

Run commands in a terminalRun commands in a terminal : 59 %59 %Read and edit filesRead and edit files : 73 %73 %Drive a web browserDrive a web browser : 12 %12 %Call online services and APIsCall online services and APIs : 34 %34 %Read and send messagesRead and send messages : 1 %1 %Control the screen, keyboard and mControl the screen, keyboard and m : 3 %3 %
Share of the 74 agents in the family that have each access, according to their documentation. In orange, OpenCode's access.

OpenCode pricing

The code is free, under the MIT licence.

Getting started with OpenCode

  1. Install it: the project ships as a Node.js package (install with npm, or run directly with npx). The exact command is in the repository README.
  2. Pick the model: an API key from a provider, or a local model if your machine has enough graphics memory (the VRAM calculator tells you).
  3. Give it a first playground with nothing at stake: a test folder, a secondary account or a throwaway project. Only open your real accounts once you have seen how it behaves.
  4. Give it a short, checkable task, review the result and its action log, then raise the difficulty step by step.

Security: risk level

A coding agent runs commands on your machine: work on a Git branch, review the changes and isolate it in a container for long tasks.

Points found for OpenCode:

  • Sensitive access: it can run commands in a terminal, with no established default human approval.
  • Outside content: it reads web pages or API responses, which may contain booby-trapped instructions (prompt injection).

Three habits: least privilege (minimal rights, dedicated keys), human approval for irreversible actions, a sandbox for code execution. The AI agent security check reviews your setup in a few minutes.

Project activity and releases

Created on April 30, 2025, the anomalyco/opencode repository has 221,008 stars, 29,547 forks and 2,506 open issues, with 20,853 commits in total. It received changes this month.

Over the last 52 weeks: 14,702 commits, an average of 282.7 per week.

Nov 2, : 233 · Nov 2, 2025Nov 2,Nov 9, : 265 · Nov 9, 2025Nov 16, : 196 · Nov 16, 2025Nov 23, : 302 · Nov 23, 2025Nov 30, : 293 · Nov 30, 2025Dec 7, : 259 · Dec 7, 2025Dec 14, : 623 · Dec 14, 2025Dec 21, : 464 · Dec 21, 2025Dec 28, : 308 · Dec 28, 2025Dec 28,Jan 4, : 368 · Jan 4, 2026Jan 11, : 383 · Jan 11, 2026Jan 18, : 506 · Jan 18, 2026Jan 25, : 640 · Jan 25, 2026Feb 1, : 523 · Feb 1, 2026Feb 8, : 365 · Feb 8, 2026Feb 15, : 312 · Feb 15, 2026Feb 22, : 369 · Feb 22, 2026Feb 22,Mar 1, : 168 · Mar 1, 2026Mar 8, : 255 · Mar 8, 2026Mar 15, : 268 · Mar 15, 2026Mar 22, : 173 · Mar 22, 2026Mar 29, : 215 · Mar 29, 2026Apr 5, : 215 · Apr 5, 2026Apr 12, : 220 · Apr 12, 2026Apr 19, : 573 · Apr 19, 2026Apr 19,Apr 26, : 280 · Apr 26, 2026May 3, : 312 · May 3, 2026May 10, : 309 · May 10, 2026May 17, : 479 · May 17, 2026May 24, : 325 · May 24, 2026May 31, : 255 · May 31, 2026Jun 7, : 312 · Jun 7, 2026Jun 14, : 209 · Jun 14, 2026Jun 14,Jun 21, : 65 · Jun 21, 2026Jun 28, : 381 · Jun 28, 2026Jul 5, : 262 · Jul 5, 2026Jul 12, : 142 · Jul 12, 2026Jul 19, : 174 · Jul 19, 2026Jul 26, : 130 · Jul 26, 2026Aug 2, : 112 · Aug 2, 2026Aug 9, : 121 · Aug 9, 2026Aug 9,Aug 16, : 68 · Aug 16, 2026Aug 23, : 115 · Aug 23, 2026Aug 30, : 99 · Aug 30, 2026Sep 6, : 77 · Sep 6, 2026Sep 13, : 42 · Sep 13, 2026Sep 20, : 288 · Sep 20, 2026Sep 27, : 368 · Sep 27, 2026Oct 4, : 325 · Oct 4, 2026Oct 4,Oct 11, : 334 · Oct 11, 2026Oct 18, : 306 · Oct 18, 2026Oct 25, : 316 · Oct 25, 2026Oct 25,
Commits per week on the main repository, last 52 weeks (GitHub API, checked October 25, 2026).

882 releases in total; 30 in the last twelve months. Latest release: v1.19.4, on October 22, 2026.

v1.18.21 · Aug 21, 2026v1.18.21Aug 21, 2026v1.18.22 · Aug 24, 2026v1.18.23 · Aug 25, 2026v1.18.25 · Aug 28, 2026v1.18.24 · Aug 28, 2026v1.18.26 · Sep 1, 2026v1.18.27 · Sep 2, 2026v1.18.29 · Sep 4, 2026v1.18.28 · Sep 4, 2026v1.18.30 · Sep 9, 2026v1.18.31 · Sep 14, 2026v1.18.32 · Sep 21, 2026v1.18.33 · Sep 28, 2026v1.18.34 · Sep 30, 2026v1.18.35 · Oct 6, 2026v1.19.0 · Oct 11, 2026v1.19.1 · Oct 15, 2026v1.19.3 · Oct 16, 2026v1.19.2 · Oct 16, 2026v1.19.4 · Oct 22, 2026v1.19.4Oct 22, 2026
The latest 20 releases published on GitHub (hover a point for details).

OpenCode vs other coding agents

GitHub stars of the best-rated open-source projects in the coding agents family. Stars measure attention, not quality: a heavily promoted project collects them fast, a specialised tool will have few.

OpenCodeOpenCode : 221K221KClineCline : 70.8K70.8KOpenHandsOpenHands : 91.7K91.7KCodexCodex : 130.8K130.8KOpen InterpreterOpen Interpreter : 68.7K68.7KQwen CodeQwen Code : 28.7K28.7KKilo CodeKilo Code : 27.7K27.7KGemini CLIGemini CLI : 107.8K107.8K
Log scale; OpenCode in orange. Checked October 25, 2026.

OpenCode and other coding agents at a glance

The 7 best-ranked agents in the same family, 7 of them open source. The score out of 100 only applies to open-source projects; for proprietary services we show the published entry price. A dash marks information the documentation does not state.

Quick comparison: coding agents
AgentModelScoreStars or entry priceSelf-hostableHuman approval
OpenCodeopen source95221K ★yes–
Clineopen source9470.8K ★yesyes
OpenHandsopen source9191.7K ★yes–
Codexopen source89130.8K ★yesyes
Open Interpreteropen source8968.7K ★yes–
Qwen Codeopen source8928.7K ★yesyes
Kilo Codeopen source8927.7K ★yesyes
Gemini CLIopen source88107.8K ★yesyes

How we rated it

Score: 95/100, computed only from public, verifiable data, with no subjective testing or partnership:

  • Adoption 40/40: 221,008 stars on a log scale (40 points from about 200,000).
  • Activity 30/30: last commit less than a month ago, 30 releases in six months, 14,702 commits in a year.
  • Framework 25/30: licence, default human approval, self-hosting, model choice and documentation site.

The score does not say whether the agent will succeed at your tasks: it measures how solid the project is. The full grid is on the method page.

Verdict

OpenCode is one of the most solid projects in its family: followed, active and well framed.

Strengths

  • Widely followed: 221K stars
  • Very active development
  • Frequent releases (30 in a year)
  • Can run on your side: data under control
  • Free choice of model

Limitations

  • Broad access without default approval
  • 2,506 open issues

Avoid if…

  • You cannot isolate it (container, virtual machine)

Frequently asked questions

Is OpenCode free?

The software is free (MIT licence). You still pay for the model calls, unless you use a local model.

Is OpenCode safe?

Our risk level: high. Points found: sensitive access and outside content. Give it minimum rights and approve irreversible actions.

Which models does OpenCode use?

According to its documentation: Claude (Anthropic), GPT (OpenAI), Gemini (Google), local models (Ollama, llama.cpp, vLLM…), OpenRouter, and any OpenAI-compatible model.

Can OpenCode be installed on your own server?

Yes, from the anomalyco/opencode repository. Data then stays with you, but security and updates are your job.

What are the alternatives to OpenCode?

In the same family: Cline, OpenHands, Codex, and Open Interpreter.

OpenCode or Cline: what is the difference?

Both belong to the coding agents family. OpenCode has 221K stars against 70.8K for Cline. The right choice mostly depends on the access you are willing to give it.

Related articles

Neutrality. No affiliate links. No vendor pays to be reviewed, rated or ranked. Reviews are directed by François Chollet, neutral and factual, and every data point is dated and sourced. How we score