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

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.
“Tabby is a self-hosted AI coding assistant, offering an open-source and on-premises alternative to GitHub Copilot.”

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.
“It is a great alternative to GitHub Copilot, AI Assistant, Codiumate, or any other extension on the JetBrains marketplace.”
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.
“Perfect for developers seeking a powerful alternative to GitHub Copilot or Cursor.”
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.

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
“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.”

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.
“Codex CLI is a coding agent from OpenAI that runs locally on your computer.”
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.
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.
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.