opensourcestartups

> /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.

// 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.