head to head · open source

OpenCode vs codegraph

OpenCode has 223,899 GitHub stars, 30,104 forks, 5,727 open issues and last shipped yesterday. codegraph has 76,175 stars, 5,062 forks, 233 open issues and last shipped 2 days ago. OpenCode leads on adoption by 194% (223,899 vs 76,175 stars). OpenCode is written in TypeScript under MIT; codegraph is written in TypeScript under MIT. OpenCode has attracted 13% as many forks as stars, codegraph 7%. OpenCode was the more recently maintained of the two, and both are self-hostable with no licence fee.

Two open source projects, one decision. Both are free and self-hostable — the differences are community size, license terms, language stack and release pace.

OpenCode ★ 224K codegraph ★ 76K category Developer Tools

← all 20902 open source comparisons

Side by side

OpenCode codegraph
GitHub stars ★ 224K ★ 76K
License MIT MIT
Written in TypeScript TypeScript
Last push 2026-11-02 2026-11-01
Forks ⑂ 30K ⑂ 5.1K
Self-hosting Yes Yes
Data ownership Your server Your server

pick OpenCode if

  • You weight community size — 224K stars and counting
  • You want the MIT license terms
  • Your stack matches TypeScript
  • You value the larger contributor base for long-term maintenance

full OpenCode profile →

pick codegraph if

  • You want the codegraph feature set and don't need the biggest community
  • You prefer the MIT license terms
  • Your stack matches TypeScript
  • You evaluated both and codegraph fits your workflow better

full codegraph profile →

About OpenCode

The open source AI coding agent. English 简体中文 繁體中文 한국어 Deutsch Español Français Italiano Dansk 日本語 Polski Русский Bosanski العربية Norsk Português (Brasil) ไทย Türkçe Українська বাংলা Ελληνικά Tiếng Việt Installation [!TIP] Remove versions older than 0.1.x before installing. Desktop App (BETA) OpenCode is also available as a desktop application. Download directly from the releases page or opencode.ai/download. Installation Directory The install script respects the following priority order for the installation path: 1. $OPENCODE INSTALL DIR Custom installation directory 2. $XDG BIN DIR XDG Base Directory…

read the full OpenCode overview →

About codegraph

CodeGraph Already installed? Run codegraph upgrade Follow @getcodegraph on X for updates. Supercharge Claude Code, Cursor, Codex, OpenCode, Hermes Agent, Gemini, Antigravity, Kiro, GitHub Copilot, and more with Semantic Code Intelligence The fastest complete code graph · surgical context · built for how agents actually work · 100% local Kernel powered by Rust Documentation & Website → The CodeGraph platform is coming — for every PR, know exactly what to test, what could break, which flows are affected, and whether business logic is compromised. Get early beta access to the hosted product · getcodegraph.com…

read the full codegraph overview →

More in Developer Tools

Related comparisons

More AI Assisted Coding projects

Compare either of these against the rest of the AI Assisted Coding field.

Frequently asked questions

Is OpenCode or codegraph more popular?

OpenCode has 223,899 GitHub stars and codegraph has 76,175. OpenCode has the larger community by that measure.

Are OpenCode and codegraph free?

Both are open source. OpenCode is licensed under MIT and codegraph under MIT. Neither carries a licence fee.

What is the difference between OpenCode and codegraph?

OpenCode is written in TypeScript and codegraph in TypeScript. The practical differences are community size, licence terms, language stack and release cadence — all compared in the table above.

Which should I choose, OpenCode or codegraph?

Choose OpenCode if you want the larger community (223,899 stars) or its MIT licence terms. Choose codegraph if its feature set, stack or MIT licence fits better. Both are self-hostable.