head to head · open source

pi vs codegraph

pi has 119,586 GitHub stars, 15,353 forks, 202 open issues and last shipped yesterday. codegraph has 76,235 stars, 5,066 forks, 233 open issues and last shipped 2 days ago. pi leads on adoption by 57% (119,586 vs 76,235 stars). pi is written in TypeScript under MIT; codegraph is written in TypeScript under MIT. pi has attracted 13% as many forks as stars, codegraph 7%. pi 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.

pi ★ 120K codegraph ★ 76K category Developer Tools

← all 20902 open source comparisons

Side by side

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

pick pi if

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

full pi 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 pi

New issues and PRs from new contributors are auto closed by default. Maintainers review auto closed issues daily. See CONTRIBUTING.md. Pi Agent Harness This is the home of the Pi agent harness project including our self extensible coding agent. @earendil works/pi coding agent : Interactive coding agent CLI @earendil works/pi agent core : Agent runtime with tool calling and state management @earendil works/pi ai : Unified multi provider LLM API (OpenAI, Anthropic, Google, …) To learn more about Pi: Visit pi.dev, the project website with demos Read the documentation, but you can also ask the agent to explain…

read the full pi 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 pi or codegraph more popular?

pi has 119,586 GitHub stars and codegraph has 76,235. pi has the larger community by that measure.

Are pi and codegraph free?

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

What is the difference between pi and codegraph?

pi 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, pi or codegraph?

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