qmetrics.net

Best Open-Source Alternatives to GitHub Copilot

GitHub Copilot by GitHub (Microsoft) is a commercial product. These open-source projects say they can replace it.

The most popular open-source alternative to GitHub Copilot is OpenCode, with 229.6k GitHub stars. Other open-source alternatives to GitHub Copilot are Codex, Aider, TabbyML Tabby and ProxyAI (1 more below). Most GitHub Copilot alternatives here are AI Assisted Coding tools. The first 3 say in their own README or website that they can replace GitHub Copilot (the quote is shown under each one); the other 3 do the same job, shown with their own description.

Stars and activity updated 27 November 2026.

Sort:Most starsRecentA–Z

TabbyML Tabby

Self-hosted open-source AI coding assistant

Tabby provides an on-premises AI coding assistant you can run with Docker. It offers code completion and team features without relying on a external DBMS or cloud service.

★ 34k⟳ 5 months agoApache-2.0 · open core
AI Assisted CodingSelf-hostable
Open Source Alternative to:CodiumateGitHub Copilot
“Tabby is a self-hosted AI coding assistant, offering an open-source and on-premises alternative to GitHub Copilot.”

ProxyAI

Open-source AI copilot for JetBrains IDEs

ProxyAI is a JetBrains plugin that connects to cloud or self-hosted language models for chat, autocomplete, and in-editor edits. It supports multiple providers and optional on-prem models.

★ 1.9k⟳ 6 months agoApache-2.0
AI Assisted CodingDesktop/CLI app
Open Source Alternative to:CodiumateGitHub Copilot
“It is a great alternative to GitHub Copilot, AI Assistant, Codiumate, or any other extension on the JetBrains marketplace.”

CodeMie Code

Unified CLI for multiple AI coding agents

CodeMie CLI installs and routes Claude Code, Codex, Copilot CLI, Gemini, and other agents through one command-line interface. It supports several auth providers, a built-in native agent, MCP proxy, and usage analytics.

★ 313⟳ todayApache-2.0
AI Assisted CodingDesktop/CLI app
Open Source Alternative to:CursorGitHub Copilot
“Perfect for developers seeking a powerful alternative to GitHub Copilot or Cursor.”

Also does the same job as GitHub Copilot

These projects don't call themselves a GitHub Copilot alternative, but two independent checks of their own description found they do the same main job.

OpenCode

Open source coding agent for any model

OpenCode is an open source coding agent for desktop, terminal, mobile, or SDK use with many LLM providers and built-in development and read-only planning agents

★ 229.6k⟳ todayMIT
AI Assisted CodingDesktop/CLI app
Open Source Alternative to:Claude CodeCodiumateCursor+2
“OpenCode is the open source coding agent that works where you do. Connect AI models from 200+ providers, including Claude, GPT and Gemini, or start free.”

Codex

Local terminal coding agent from OpenAI

Codex CLI is OpenAI's coding agent that runs on your computer from the terminal, with sign-in through ChatGPT plans or API keys.

★ 136.7k⟳ todayApache-2.0
AI Assisted CodingDesktop/CLI app
Open Source Alternative to:CodiumateGitHub CopilotJules
“Codex CLI is a coding agent from OpenAI that runs locally on your computer.”

Aider

Terminal-based AI pair programming with your codebase

Aider lets you pair program with large language models from the command line. It edits an existing project or helps start a new one using git-aware workflows.

★ 50.3k⟳ 6 months agoApache-2.0
AI Assisted CodingDesktop/CLI app
Open Source Alternative to:CodiumateGitHub CopilotReplit Agent
“aider is AI pair programming in your terminal”

Compare GitHub Copilot alternatives

Questions about GitHub Copilot alternatives

Is there an open-source alternative to GitHub Copilot?

Yes. 6 open-source projects can replace GitHub Copilot, for example OpenCode, Codex and Aider. 3 of them say so in their own documentation; the other 3 do the same job.

What is the best open-source alternative to GitHub Copilot?

OpenCode (229.6k GitHub stars) is the most popular open-source alternative to GitHub Copilot on GitHub. To run it on your own server, look at TabbyML Tabby (self-hostable). The best choice depends on your needs: compare them side by side, for example OpenCode vs Codex.

Are the open-source alternatives to GitHub Copilot free?

All of the 6 projects listed here are free to use under an open-source license, with no license fee: all permissive (such as MIT). Running software on your own server still costs hosting and upkeep, and many projects also sell a hosted version.

Related commercial products

Claude Code

Anthropic

11 open-source alternatives

Cursor

Anysphere

9 open-source alternatives

Codiumate

CodiumAI

7 open-source alternatives

Replit Agent

Replit

3 open-source alternatives

Jules

Google

2 open-source alternatives