> /v1/alternatives/codegpt
Open source alternatives to CodeGPT[007]
CodeGPT brings AI code completion, chat and agents into VS Code and JetBrains, connected to your choice of model provider. Below are 7 self-hostable open source alternatives, ranked by GitHub popularity.
opencode
Open source terminal coding agent that works with any LLM provider, from the SST team.
★ STARS
190.0k
⑂ FORKS
24.1k
OpenHands
AI-Driven Development
★ STARS
72.9k
⑂ FORKS
9.2k
Cline
Autonomous coding agent right in your IDE, capable of creating/editing files, executing commands, using the browser, and more with your permission every step of the way.
★ STARS
61.5k
⑂ FORKS
6.4k
Aider
Aider is AI pair programming in your terminal
★ STARS
44.5k
⑂ FORKS
4.4k
Tabby
Self-hosted AI coding assistant
★ STARS
33.5k
⑂ FORKS
1.7k
SWE-agent
SWE-agent takes a GitHub issue and tries to automatically fix it, using your LM of choice. It can also be employed for offensive cybersecurity or competitive coding challenges. [NeurIPS 2024]
★ STARS
19.2k
⑂ FORKS
2.1k
kilocode
Kilo is the all-in-one agentic engineering platform. Build, ship, and iterate faster with the most popular open source coding agent.
★ STARS
19.0k
⑂ FORKS
2.5k
// EDITOR'S TAKE
kilocode is the closest replacement, a VS Code extension with chat, orchestrator and debug modes and your own choice of provider, which is essentially CodeGPT's pitch. Cline is the more focused in-editor agent with a larger community, Tabby is the one to run if you specifically want self-hosted autocomplete on your own GPU, and opencode and Aider move the work into the terminal.
// FREQUENTLY ASKED
What is the best open source CodeGPT alternative?
opencode is the most popular open source CodeGPT alternative by GitHub stars (190,000 stars). The other 6 options are ranked above.
Are these CodeGPT alternatives self-hostable?
Yes — every project listed here is open source and runs on your own infrastructure. Click into a project to see its license, stars, language, and current health status.
Are they free?
All projects shown are free and open source. Check each project's license page for the terms — most are MIT, Apache 2.0, or AGPL.