LibreAI / Dev Tools / OpenCode
// devtools · anomalyco/opencode

OpenCode

The open source coding agent

★ 211.6k stars⑂ 28.1k forksMITupdated 2026-10
▦ visual — this project's README ships no embeddable screenshot,
so here's a placeholder. The guide below is complete regardless.
// project facts

Project facts

OpenCode is an open-source dev tools project by anomalyco (anomalyco/opencode on GitHub). It has 211,612 GitHub stars and 28,116 forks, is released under the MIT license, and was last updated on GitHub on 3 October 2026.

GitHub stars
211,612
Forks
28,116
License
MIT
Last updated on GitHub
3 October 2026
Category
Dev Tools
Listing
Full install guide
Official site
Official site
// how it works

How it works

  1. Install it

    Editor extensions, terminal commands, or standalone apps — most install in under a minute.

  2. Point it at a model

    Use a hosted frontier API, or keep everything local with an open model backend.

  3. Open your repo

    The tool indexes your codebase so suggestions and edits are project-aware.

  4. Code together

    Ask for features, let it edit files, run tests, and review diffs before you accept.

// features

Why people love it

Agentic editing

Not just autocomplete — plans, edits multiple files, and runs commands.

Codebase awareness

Indexes your repo so answers respect your actual code, not guesses.

Terminal & IDE

Lives where you work: VS Code, JetBrains, Neovim, or the plain terminal.

Model flexibility

Swap between frontier APIs and local models per task.

Diff-first workflow

Every change is a reviewable diff — you stay in control.

Open & hackable

Customize prompts, tools, and behavior; no black box.

Advertisement
// run it

Run it yourself

  1. Step 1 — Clone the repo

    Download the source and move into the project folder.

    git clone https://github.com/anomalyco/opencode.git
    cd opencode
  2. Step 2 — Install dependencies

    Use the package manager the project specifies (check for pnpm or yarn lockfiles).

    npm install
  3. Step 3 — Start it

    Launch the dev server or build, per the README.

    npm run dev
// use cases

What you can build

Advertisement
// faq

Questions, answered

Will it replace developers?

It multiplies them — the best results come from developers directing, reviewing, and owning the design.

Local or cloud models?

Cloud frontier models code best today; local models keep everything private and free.

Who maintains OpenCode?

It is an open-source project at anomalyco/opencode with 28,116 forks. Check the repo's contributors and recent commits to see how active maintenance is.

Is my code sent anywhere?

With local models, no. With APIs, check the provider — many offer zero-retention modes.

Which editor does it support?

Coverage varies: VS Code and terminal are universal; check each tool for JetBrains/Neovim.

Is it free?

The tools are open-source; model usage may cost if you use paid APIs.

// keep exploring

Similar tools

Dev Tools

Continue

Open-source coding agent

★ 36.1k starsApache-2.0
View guide →
Dev Tools

Aider

Aider is AI pair programming in your terminal

★ 49.4k starsApache-2.0
View guide →
Dev Tools

Context7

Context7 Platform -- Up-to-date code documentation for LLMs and AI code editors

★ 62.6k starsMIT
View guide →
Dev Tools

cc-switch

Cross-platform desktop all-in-one manager for Claude Code, Codex, OpenCode and other coding agents

★ 141.3k starsMIT
View guide →
Dev Tools

cline

Autonomous coding agent available as an SDK, IDE extension and CLI assistant

★ 70.0k starsApache-2.0
View guide →
Dev Tools

oh-my-openagent

OmO: a batteries-included orchestration layer that turns OpenCode into a multi-agent master

★ 69.9k starsNOASSERTION
View guide →
// alternatives

Alternatives in Dev Tools

The most-starred other Dev Tools projects in the LibreAI catalogue — the realistic shortlist if OpenCode is not the right fit.

Get OpenCode

Free and open — grab the source, star the repo, and start creating.