head to head · open source

codegraph vs SWE-agent

codegraph has 76,441 GitHub stars, 5,077 forks, 244 open issues and last shipped 4 days ago. SWE-agent has 20,717 stars, 2,263 forks, 102 open issues and last shipped 3 days ago. codegraph leads on adoption by 269% (76,441 vs 20,717 stars). codegraph is written in TypeScript under MIT; SWE-agent is written in Python under MIT. codegraph has attracted 7% as many forks as stars, SWE-agent 11%. SWE-agent 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.

codegraph ★ 76K SWE-agent ★ 21K category Developer Tools

← all 20902 open source comparisons

Side by side

codegraph SWE-agent
GitHub stars ★ 76K ★ 21K
License MIT MIT
Written in TypeScript Python
Last push 2026-11-01 2026-11-02
Forks ⑂ 5.1K ⑂ 2.3K
Self-hosting Yes Yes
Data ownership Your server Your server

pick codegraph if

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

full codegraph profile →

pick SWE-agent if

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

full SWE-agent profile →

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 →

About SWE-agent

[!warning] Most of our current development effort is on mini swe agent, which has superseded SWE agent. It matches the performance performance of SWE agent, while being much simpler. See the FAQ for more details about the differences. Our general recommendation is to use mini SWE agent instead of SWE agent going forward. SWE agent enables your language model of choice (e.g. GPT 4o or Claude Sonnet 4) to autonomously use tools to fix issues in real GitHub repositories, find cybersecurity vulnerabilities, or perform any custom task. ✅ State of the art on SWE bench among open source projects ✅ Free flowing &…

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

codegraph has 76,441 GitHub stars and SWE-agent has 20,717. codegraph has the larger community by that measure.

Are codegraph and SWE-agent free?

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

What is the difference between codegraph and SWE-agent?

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

Which should I choose, codegraph or SWE-agent?

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