Coding assistants and agents4 projects, checked September 17, 2026

Open-source alternatives to GitHub Copilot

The open-source alternatives to GitHub Copilot are Tabby, twinny, Kilo Code, Cline and Zed. For Copilot's core, inline completion in the editor, twinny does it in VS Code from a local model under MIT, Tabby serves it to VS Code, JetBrains and Vim from a self-hosted server, and Kilo Code and Zed add ghost text alongside an agent. Cline covers the agent and chat side with any model. A team switches when completions must not leave its network, or when it wants to choose the model behind them.

A self-hosted Copilot server for a team
Tabby
Ghost text in VS Code from a local model
twinny
Completion and an agent in one extension
Kilo Code

3 of 4 carry an OSI licence. 4 of 4 run on your own machines. Figures read from GitHub on September 17, 2026.

Pick by need

One project per need, with the reason from its own README and the one thing to know before you choose it.

A self-hosted Copilot server for a team

Tabby

Its README calls it an open-source, on-premises alternative to GitHub Copilot: a server with no database or cloud service, on consumer GPUs, serving VS Code, JetBrains and Vim.

Know firstThe web server and team layer need a paid enterprise licence in production; the last release was January 2026.

Source available33,884 stars

Ghost text in VS Code from a local model

twinny

MIT, fill-in-the-middle completion and chat, defaulting to a local Ollama-compatible endpoint, offline, free.

Know firstVS Code only and no agent.

OSI3,648 stars

Completion and an agent in one extension

Kilo Code

MIT, inline autocomplete with tab to accept plus five agent modes, in VS Code and JetBrains, with 500+ models at the provider's rate.

Know firstNo local models described in the README.

OSI27,344 stars

The chat and agent side, any model

Cline

Apache-2.0, with reviewable diffs, approval on every action, MCP, and Ollama or LM Studio for local models.

Know firstNo autocomplete described.

OSI68,575 stars

What to take away

  • Tabby is the one built specifically as a Copilot replacement for teams, and it says so.
  • twinny is the simplest free path to Copilot-style ghost text with nothing leaving the machine.
  • Only Tabby's enterprise directory costs money; everything else is free under its licence, with the model as the cost.
  • Copilot's spread across GitHub itself, pull requests and issues, is not something an editor extension replaces.

The projects, side by side

The facts that decide most choices. Each project's page carries the full panel.

ProjectBest forOpennessLicenceRuns asOwn machinesStars
TabbyA self-hosted Copilot server for a teamSource availableSee LICENSEDocker (server), Built from source with Rust, VS Code, JetBrains and Vim pluginsYes33,884
twinnyGhost text in VS Code from a local modelOSIMITVS Code extensionYes3,648
Kilo CodeCompletion and an agent in one extensionOSIMITVS Code extension, JetBrains plugin, CLI, Web (Cloud Agent)Yes27,344
ClineThe chat and agent side, any modelOSIApache-2.0VS Code extension, JetBrains plugin, CLI, Desktop app, Node.js SDKYes68,575

Licence and star figures read from GitHub on September 17, 2026. Stars are shown as a dated fact and were not used to rank this page.

Each project, in turn

Tabby

Source availableA self-hosted Copilot server for a team

A self-hosted coding assistant server with an Apache-2.0 core and a proprietary ee directory for the web server and team features, serving code completion and chat to VS Code, JetBrains and Vim from models on your own GPU.

Its README calls it an open-source, on-premises alternative to GitHub Copilot: a server with no database or cloud service, on consumer GPUs, serving VS Code, JetBrains and Vim.

Know firstThe web server and team layer need a paid enterprise licence in production; the last release was January 2026.

Licence
See the LICENSE file
Weights
None bundled; models such as StarCoder, CodeLlama, CodeGemma and Qwen are downloaded separately under their own licences
Runs as
Docker (server), Built from source with Rust, VS Code, JetBrains and Vim plugins
Platforms
Docker with NVIDIA CUDA, macOS with Apple Metal, Ubuntu and Debian from source
Hosted option
Sold by the maintainers
Last release
v0.32.0, Jan 25, 2026

twinny

OSIGhost text in VS Code from a local model

An MIT VS Code extension for fill-in-the-middle code completion and sidebar chat that defaults to a local Ollama-compatible endpoint and works offline, with nine providers and no paid tier.

MIT, fill-in-the-middle completion and chat, defaulting to a local Ollama-compatible endpoint, offline, free.

Know firstVS Code only and no agent.

Licence
MIT
Runs as
VS Code extension
Platforms
Visual Studio Code
Hosted option
None from the maintainers
Last release
v4.0.3, Sep 8, 2026

Kilo Code

OSICompletion and an agent in one extension

An MIT coding agent for VS Code, JetBrains and the CLI with inline autocomplete, Code, Plan, Ask, Debug and Review modes, an MCP marketplace, access to 500+ models with no API key to start, and a hosted cloud agent.

MIT, inline autocomplete with tab to accept plus five agent modes, in VS Code and JetBrains, with 500+ models at the provider's rate.

Know firstNo local models described in the README.

Licence
MIT
Runs as
VS Code extension, JetBrains plugin, CLI, Web (Cloud Agent)
Platforms
VS Code and JetBrains IDEs, CLI binaries for Windows x64, macOS (Apple Silicon and Intel), Linux x64 and ARM
Hosted option
Sold by the maintainers
Last release
v7.7.3, Sep 17, 2026

Cline

OSIThe chat and agent side, any model

An Apache-2.0 coding agent for VS Code, JetBrains, the terminal and a desktop app that edits files as reviewable diffs, runs commands with your approval, works with any model provider including Ollama, and connects tools through MCP.

Apache-2.0, with reviewable diffs, approval on every action, MCP, and Ollama or LM Studio for local models.

Know firstNo autocomplete described.

Licence
Apache-2.0
Runs as
VS Code extension, JetBrains plugin, CLI, Desktop app, Node.js SDK
Platforms
VS Code and JetBrains IDEs, Desktop app for macOS and Windows, CLI anywhere Node.js runs
Hosted option
None from the maintainers
Last release
desktop-v0.0.32, Sep 18, 2026

How to choose

The questions that settle it, in the order they usually come up.

  1. Is the completion allowed to leave your network?

    No: Tabby on your own server, or twinny against a local model. Yes: any of the five.

  2. Do you need JetBrains or Vim?

    Tabby serves both, Kilo Code and Cline have JetBrains plugins, twinny is VS Code only, Zed is its own editor.

  3. Do you want an agent as well as completion?

    Kilo Code has both. Cline is the agent. Zed has both in a new editor. twinny and Tabby are completion and chat.

Where GitHub Copilot is still the better choice

GitHub Copilot, in the vendor's own words, is "your AI accelerator for every workflow, from the editor to the enterprise", with inline suggestions and chat in the IDE plus explanations and answers on GitHub, by its own description. github.com. The cases below are where that still wins.

  • You want completion that works the moment the extension installs, with no model to pick and no server to run.
  • You want the agent, chat and code review across GitHub itself: pull requests, issues and the web, as one product.
  • You have no GPU and no one to host a completion server; Tabby and twinny both assume you run the model.
  • You want an enterprise agreement with one vendor covering the editor and the platform.

How this page was checked

Numbers from GitHub, dated

Stars, licence, last commit and last release are read from the GitHub API by a script every week and carry the date they were read. Nobody types them.

Claims from the README

What each project does is written from its own README and LICENSE, read in full on the date shown, and phrased as the project's claim. The sources are listed at the end.

What is never said

That a project is faster, better or cheaper than GitHub Copilot. A price for anyone. A user count. A roadmap. If a fact is not on this page, it was not in the source.

OSI Open source (OSI licence)
The code, and the weights where the project is a model, carry a licence on the OSI approved list.
Source available Source available
The code is public, and the licence limits what you may do with it. Read the LICENSE file before commercial use.
Open weights Open weights
The model weights can be downloaded and run. The training data or code is closed, or the weights carry a restriction the code does not.

Questions people ask

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

For inline completion from a local model in VS Code, twinny (MIT). For a team completion server on your own GPU serving VS Code, JetBrains and Vim, Tabby (Apache-2.0 core, paid enterprise directory). For completion plus an agent, Kilo Code (MIT) or Zed (GPL-3.0). For the agent and chat side with any model, Cline (Apache-2.0).

Is there a self-hosted Copilot alternative?

Tabby, whose README describes it as an open-source, on-premises alternative to GitHub Copilot. It runs as a server with no database or cloud service, on consumer-grade GPUs or Apple Metal, and its plugins deliver completion and chat. The web server and team features sit in its enterprise directory under a paid licence.

Which one gives Copilot-style ghost text?

twinny (fill-in-the-middle in VS Code), Tabby (inline completion with multiple choices through its plugins), Kilo Code (inline autocomplete with tab to accept) and Zed (edit prediction with the Zeta model). Cline is an agent and does not describe autocomplete.

Can these work offline?

twinny defaults to a local Ollama-compatible endpoint and lists offline operation as a feature. Tabby runs entirely on your server. Zed runs local models through llama.cpp, LM Studio or Ollama, though its Zeta prediction model needs sign-in. Cline uses Ollama or LM Studio. Kilo Code's README does not describe local models.

How do they compare on licence?

twinny and Kilo Code are MIT; Cline is Apache-2.0 with a closed JetBrains plugin; Zed is GPL-3.0-or-later with Apache-2.0 components. Tabby is split: Apache-2.0 outside its ee directory and a paid enterprise licence inside it, so this site labels Tabby source available.

Sources

  1. GitHub Copilot page, the vendor's own description, read September 17, 2026
  2. Tabby README and ee/LICENSE, read September 17, 2026
  3. twinny README, read September 17, 2026
  4. Kilo Code README, read September 17, 2026
  5. Cline README, read September 17, 2026
  6. Zed AI documentation, read September 17, 2026

Running one of these inside your own environment, with your own data and your own security rules, is the kind of work Reveneau does. Read how a forward deployed engagement works.