Open source coding agent for 75+ model providersAlternative toOpen source alternatives to CodeGPT
4 open source tools do the job of CodeGPT. The most starred is OpenCode, with 226k stars. Verified on GitHub. About CodeGPT

CodeGPTFree
OpenCode226k stars · MITGitHubAll 4 alternatives
Questions about alternatives to CodeGPT
What is the best open source alternative to CodeGPT?
By GitHub stars it is OpenCode, with 226,673 stars and a commit on 13 Nov. Choose OpenCode when you want open source code you can run and change yourself. Next come OpenHands (93,429 stars) and Tabby (33,936 stars).
Is there a free alternative to CodeGPT?
Yes. The code of all 4 is public under MIT, Apache 2.0 or BSD 3-Clause, so you can use them with no licence fee. Running one yourself costs the server and your time to look after it, and some makers also sell a hosted plan.
How do I choose between them?
Start from the job you use CodeGPT for. Choose OpenHands when you want to host it yourself and keep your data on your own server. Choose Refact.ai when you want a free, self-hosted coding agent so your code and models stay on your servers.
Which CodeGPT alternatives can I host on my own server?
3 of the 4: OpenHands, Tabby and Refact.ai. Each tool's page says what it needs to run.
Which ones are still being worked on?
2 of the 4 we track had a commit in the last 30 days, among them OpenCode and OpenHands. The quietest is Refact.ai, last changed on 30 May. A recent commit shows the project is kept up, not that it will stay that way.
What licences do they use?
MIT (2), Apache 2.0 (1), BSD 3-Clause (1). MIT, BSD and Apache let you change and reuse the code freely.
What do I lose by leaving CodeGPT?
The hosting. CodeGPT's maker runs the servers for you; with an open source tool the updates, backups, security fixes and support are yours, unless you take the maker's hosted plan. Features differ too, so check what each one imports and exports before you move your data.


