GitHub Copilot alternatives compared
| Project | Licence | Type | Self-host | Cloud option | GitHub stars |
|---|---|---|---|---|---|
| Cline | Apache-2.0 | Developer tool | — | — | ★ 72.1k |
| Continue | Apache-2.0 | Developer tool | — | — | ★ 36.6k |
| Tabby | Apache-2.0 | Self-hosted | ✓ Yes | — | ★ 33.9k |
| Aider | Apache-2.0 | Developer tool | — | — | ★ 50.4k |
The 4 open source alternatives to GitHub Copilot
Cline is an AI coding agent for VS Code that can create and edit files, run terminal commands and use the browser, asking for your approval at each step. You bring your own model API key or local model.
- Plans and edits across your codebase
- Runs commands with your approval
- MCP tool support
- Any model provider
Continue adds chat, autocomplete, edits and agents to VS Code and JetBrains IDEs, with any model you choose: local models through Ollama or any cloud API.
- Chat, autocomplete and agent mode
- Any model, local or cloud
- VS Code and JetBrains extensions
- Custom rules and context providers
Tabby is a self-hosted alternative to GitHub Copilot: a code completion and chat server that runs on your own GPU, so code never leaves your infrastructure. It indexes your repositories for better suggestions.
Note: The core is Apache-2.0; enterprise features are under a separate licence.
- Runs on your own GPU
- Code completion and chat
- Repository indexing for context
- IDE extensions for VS Code, JetBrains and Vim
Aider edits code in your local Git repository through a chat in the terminal. It maps your codebase, works with most cloud and local models and commits each change with a sensible message.
- Git-aware edits and auto-commits
- Repository map
- Most cloud and local models
- Voice coding
How to choose an open source alternative to GitHub Copilot
Check editor support, model choice (local or any API), codebase context and whether your code leaves your machine.
If you want your data on your own server, look at Tabby.
Not sure where to start? Browse all ai & llm tools projects, or see our microsoft alternatives list.
GitHub Copilot alternatives: FAQ
What is the best open source alternative to GitHub Copilot?
Cline is the most complete open source alternative to GitHub Copilot on our list, followed by Continue and Tabby. The best choice depends on what you need: Check editor support, model choice (local or any API), codebase context and whether your code leaves your machine.
Is there a free alternative to GitHub Copilot?
Yes. Every alternative listed here is open source, so the software itself is free to use.
Can I self-host an alternative to GitHub Copilot?
Yes: Tabby can be installed on your own server, so your data stays on infrastructure you control.
Why switch from GitHub Copilot to open source software?
GitHub Copilot is proprietary software owned by Microsoft (GitHub): you can't see the code, and pricing, features and terms can change at any time. Open source alternatives publish their code under licences such as Apache-2.0, can be audited by anyone, and can't lock you in, because the software can always be forked or self-hosted.