Open-source alternatives to GitHub Copilot

codecompanion.nvim leads with 90, ahead of cline (87) and kilocode (86). Updated from public GitHub data.

The highest-scoring open-source projects in Coding agents and AI editors. They are picks, not exact replacements, so read the weaknesses before you switch. The same picks fit if you are leaving Copilot.

GitHub Copilot Business price: Business: $19 per user a month (vendor price page, read ). Self-hosting is priced by the server you run, not by seat; read each license first. All plans and a cost calculator for your team size.

Most stars
cline 71,914 stars
Try before you install
kilocode live demo
Open-source alternatives to GitHub Copilot
RankProjectScore
1codecompanion.nvimNeovim plugin for chatting with LLMs and ACP coding agentsCoding agents and AI editors7k stars+71 (+1.0%) in 30 daysApache-2.090 out of 100
2clineCoding agent for VS Code, JetBrains, terminal and desktop, with any model providerCoding agents and AI editors71.9k stars+1,191 (+1.7%) in 30 daysApache-2.087 out of 100
3kilocodeCoding agent for VS Code, JetBrains and the terminal with 500+ models Live demo ↗ (opens in a new tab)Coding agents and AI editors28.1k stars+475 (+1.7%) in 30 daysMIT86 out of 100
#4avante.nvimNeovim plugin that adds a Cursor-style AI chat and code-apply workflowCoding agents and AI editors18.2k stars+60 (+0.3%) in 30 daysApache-2.083 out of 100
#5opencursorAI coding agent extension for VS Code with bring-your-own modelsCoding agents and AI editors6.1k starsMIT73 out of 100
#6twinnyVS Code assistant for completion, chat and edits against your own model serverCoding agents and AI editors3.7k starsMIT70 out of 100
#7continueCoding agent as a CLI, VS Code extension and JetBrains pluginCoding agents and AI editors36.6k stars+294 (+0.8%) in 30 daysApache-2.063 out of 100
#8minuet-ai.nvimLLM code completion plugin for Neovim with FIM and chat-model supportCoding agents and AI editors1.5k starsGPL-3.058 out of 100
#9TabbySelf-hosted code completion and chat server for IDEs Live demo ↗ (opens in a new tab)Coding agents and AI editors33.9k starscustom license53 out of 100
#10proxyaiJetBrains plugin for AI chat, autocomplete and code editsCoding agents and AI editors1.9k starsApache-2.039 out of 100

Reviews

190 out of 100

codecompanion.nvim

Neovim plugin for chatting with LLMs and ACP coding agents

7k stars+71 (+1.0%) in 30 daysApache-2.0last commit Nov 2026

CodeCompanion is a Lua plugin that adds a chat buffer, inline code transformations and an action palette to Neovim. It talks to hosted and local LLMs (Anthropic, OpenAI, Gemini, Copilot, Ollama and others) and to CLI agents such as Claude Code, Codex and Gemini CLI through the Agent Client Protocol. It also supports MCP servers, skills, rules files and custom prompts.

Strengths

  • Built-in adapters for 13 LLM providers, plus a documented custom adapter API
  • ACP support connects Claude Code, Codex, Gemini CLI, Goose, OpenCode and others inside Neovim
  • Also supports MCP, skills, and rules files like CLAUDE.md and .cursor/rules
  • Review agent edits with comments and approve/reject; multiple chats; image and PDF input

Weaknesses

  • Neovim only; no standalone or other-editor version
  • Requires plenary.nvim and nvim-treesitter as dependencies
  • Contributions accepted at the maintainer's discretion; one primary maintainer
  • Install and configuration live in external docs, not the README
  • no GPU
  • Docker
  • Needs Neovim, plenary.nvim, nvim-treesitter
  • Models: Anthropic, OpenAI, Azure OpenAI, Google Gemini, GitHub Copilot
287 out of 100

cline

Coding agent for VS Code, JetBrains, terminal and desktop, with any model provider

71.9k stars+1,191 (+1.7%) in 30 daysApache-2.0last commit Nov 2026

Cline is a coding agent that edits files across a project, runs shell commands and reads their output, and asks for approval before each change unless auto-approve is on. It ships as a VS Code extension, JetBrains plugin, CLI (`npm i -g cline`), desktop app for macOS and Windows, and a Node.js SDK (`@cline/sdk`). It works with Anthropic, OpenAI, Gemini, OpenRouter, Bedrock, Vertex, Ollama, LM Studio and OpenAI-compatible endpoints.

Strengths

  • Plan and Act modes with per-edit approval, diffs and checkpoints to undo changes in VS Code and JetBrains
  • Many providers, including local models via Ollama and LM Studio and any OpenAI-compatible API
  • Headless CLI with JSON output for CI/CD, plus cron-scheduled agents and multi-agent teams
  • MCP support and an SDK plugin system for custom tools and lifecycle hooks

Weaknesses

  • JetBrains plugin source is not open-sourced
  • Diff review and checkpoints are described only for VS Code and JetBrains, not the CLI
  • Spans many surfaces (CLI, desktop, SDK, IDEs), so features differ by product
  • Needs a model provider API key or local model; no bundled model
  • GPU optional
  • Needs Model provider API or local runtime (Ollama, LM Studio), Node.js (npm install)
  • Models: Anthropic, OpenAI, Google Gemini, OpenRouter, Vercel AI Gateway
386 out of 100

kilocode

Coding agent for VS Code, JetBrains and the terminal with 500+ models

Live demo ↗ (opens in a new tab)28.1k stars+475 (+1.7%) in 30 daysMITlast commit Nov 2026

Kilo Code is a coding agent that runs as a VS Code extension, a JetBrains plugin, a CLI (`kilo`) and a hosted cloud agent. It has Code, Plan, Ask and Debug agents, inline autocomplete, terminal and browser control, and a marketplace for skills, MCP servers and plugins. The CLI is a fork of OpenCode, and `kilo run --auto` supports non-interactive CI use.

Strengths

  • Same agent in VS Code, JetBrains, CLI and a web cloud agent
  • Separate Code, Plan, Ask and Debug agents, plus custom agents
  • Model switching mid-task; provider pricing with no markup, per README
  • `kilo run --auto` enables unattended runs in CI pipelines

Weaknesses

  • `main` accepts only bug fixes; new features go to the `v2` branch
  • `--auto` auto-approves permissions unless denied; only safe in trusted environments
  • Cloud agent and code reviews depend on a Kilo account
  • CLI is an OpenCode fork, so it tracks upstream changes
  • no GPU
  • Needs VS Code, JetBrains IDE or terminal, LLM provider or Kilo account
  • Models: 500+ models via providers, OpenAI GPT, Anthropic Claude, Google Gemini, xAI Grok
#483 out of 100

avante.nvim

Neovim plugin that adds a Cursor-style AI chat and code-apply workflow

18.2k stars+60 (+0.3%) in 30 daysApache-2.0last commit Nov 2026

avante.nvim is a Lua Neovim plugin that lets you ask an LLM about the current file and apply suggested edits to your source with one command. It defaults to an agentic mode that uses tools, supports ACP agents such as codex and gemini, and reads project instructions from an avante.md file. Providers include Claude, OpenAI, Azure, Gemini, Cohere, Copilot, Mistral, DeepSeek, Ollama and llama-cpp.

Strengths

  • Many providers: Claude, OpenAI, Gemini, Ollama, llama-cpp, Copilot and others
  • Supports ACP agents (codex, gemini) alongside its own agentic mode
  • Per-project instructions via avante.md in the repo root
  • Installs through lazy.nvim, Pack, rocks.nvim, vim-plug, mini.deps, Nix

Weaknesses

  • README badge says Neovim 0.12+, the install note says 0.11+
  • Build step needs make with curl and tar, or cargo to build from source
  • Auto-approves all tool permissions by default in agentic mode
  • Auto-suggestions are experimental and costly; RAG needs extra setup
  • no GPU
  • Needs Neovim 0.11+, plenary.nvim, nui.nvim, mega.cmdparse, make, curl, tar (or cargo to build from source)
  • Models: claude, openai, azure, gemini, cohere
#573 out of 100

opencursor

AI coding agent extension for VS Code with bring-your-own models

6.1k starsMITlast commit Oct 2026

OpenCursor is a VS Code extension that adds an agent chat able to read and edit files, search code, run terminal commands and check browser behavior. It connects to subscription accounts, API keys, custom OpenAI- or Anthropic-compatible endpoints, or local Ollama and llama.cpp models. Edits can be reviewed per hunk and kept or undone, with permission controls for actions.

Strengths

  • Many providers: OpenAI, Anthropic, Gemini, OpenRouter, DeepSeek, plus Claude Code and Copilot accounts
  • Local inference via Ollama or llama.cpp with GGUF download, plus local embeddings for code search
  • Per-hunk change review with Keep All and Undo All, and Ask, Plan and Agent modes
  • Supports MCP servers, hooks, skills, subagents and Git worktrees; MIT licensed

Weaknesses

  • Runs only inside VS Code 1.96 or newer; no standalone editor or CLI
  • Account-based providers depend on third-party login flows that may change or be restricted
  • Some features download native runtimes or models on first use, which breaks offline setup
  • Web search, doc fetching, browser tools and remote workers need external services
  • GPU optional
  • Needs VS Code 1.96+, Node.js 22 and pnpm (build from source), Ollama or llama.cpp (optional, local models), Chrome or Edge (browser tools), Docker (optional, command execution)
  • Models: OpenAI, Anthropic, Google Gemini, OpenRouter, xAI
#670 out of 100

twinny

VS Code assistant for completion, chat and edits against your own model server

3.7k starsMITlast commit Nov 2026

twinny is a VS Code extension that provides fill-in-the-middle completion, inline diff edits, chat with @-attached context, an experimental agent mode, workspace indexing and code review. It connects to local servers (Ollama, LM Studio, llama.cpp), paired devices, hosted APIs, or a shared twinny-server gateway for teams. It has no telemetry or sign-in; the gateway is free for five developers and paid per seat beyond that.

Strengths

  • Works with Ollama, LM Studio, llama.cpp, OpenAI-compatible servers, and hosted APIs like OpenAI and Anthropic
  • No telemetry and no account; prompts go only to the server you configure
  • Inline edits shown as diffs with per-hunk accept or reject
  • Team gateway runs via npx with per-developer keys and usage metrics

Weaknesses

  • VS Code only (1.93 or newer); no other editors mentioned
  • Agent mode is labelled experimental
  • Team policy, recording, plugins and SSO need a paid licence ($15 per seat per month)
  • Maintained by one person; README says provided as is
  • GPU optional
  • Needs VS Code 1.93+, Model server (Ollama, LM Studio, llama.cpp, or hosted API)
  • Models: Ollama, LM Studio, llama.cpp, OpenAI-compatible servers, OpenAI
#763 out of 100

continue

Coding agent as a CLI, VS Code extension and JetBrains plugin

36.6k stars+294 (+0.8%) in 30 daysApache-2.0last commit Jul 2026

Continue is a coding agent distributed as an npm CLI, a VS Code extension (Marketplace and OpenVSX) and a JetBrains plugin. The repository is read-only and no longer actively maintained; the final 2.0.0 release removed anonymous telemetry and authentication. The README does not list supported models or providers and points to docs.continue.dev for configuration.

Strengths

  • Ships as CLI, VS Code extension and JetBrains plugin from one codebase
  • Final 2.0.0 release removed anonymous telemetry and authentication
  • Apache-2.0 license; extension available on OpenVSX as well as Marketplace
  • Source for each extension lives in its own directory (vscode, cli, intellij)

Weaknesses

  • Repository is read-only and no longer actively maintained
  • README recommends the CLI over the JetBrains plugin
  • README does not list supported models or providers; docs needed
  • No Docker or compose setup
#858 out of 100

minuet-ai.nvim

LLM code completion plugin for Neovim with FIM and chat-model support

1.5k starsGPL-3.0last commit Nov 2026

Minuet is a Neovim plugin that requests code completions from LLM providers (OpenAI, Claude, Gemini, Codestral, Ollama, llama.cpp and OpenAI-compatible endpoints) using curl via vim.system. Results appear through virtual text, nvim-cmp, blink.cmp, or an in-process LSP server for built-in completion. It also has an experimental next-edit prediction mode called duet.

Strengths

  • Works with hosted APIs and local servers such as Ollama and llama.cpp
  • Supports fill-in-the-middle and chat-model prompts for completion
  • Frontends: virtual text, nvim-cmp, blink.cmp, built-in LSP completion
  • No background binary; requests go through curl, with streaming support

Weaknesses

  • Neovim only; needs 0.10+, and 0.11 or 0.12 for built-in and inline LSP completion
  • Requires an API key or a self-run local model server
  • Duet next-edit prediction is described as highly experimental
  • Built-in completion can mis-indent multi-line suggestions, notably in Python
  • GPU optional
  • Needs Neovim 0.10+, curl, LLM provider API key or local server (Ollama, llama.cpp), nvim-cmp or blink.cmp (optional)
  • Models: OpenAI, Claude, Gemini, Codestral, Mercury Coder
#953 out of 100

Tabby

Self-hosted code completion and chat server for IDEs

Live demo ↗ (opens in a new tab)33.9k starscustom licenselast commit Jun 2026

Its own README calls it an alternative to GitHub Copilot.

Serves code completion and chat to VS Code, Vim and JetBrains extensions from one self-contained binary with no external database. Runs local models such as StarCoder-1B and Qwen2-1.5B-Instruct on CUDA or Apple Metal, exposes an OpenAPI interface on port 8080, and adds an Answer Engine, repository and GitLab merge-request indexing and LDAP auth. For teams that want an on-premises Copilot alternative.

Strengths

  • Single binary with embedded storage; no DBMS or cloud service required
  • One docker run command starts a server with completion and chat models
  • Repository context indexing, GitHub and GitLab integration, LDAP auth, usage reports
  • Live demo instance and documented extensions for VS Code, Vim and IntelliJ

Weaknesses

  • Last commit June 2026; recent news points to the separate Pochi agent
  • License is non-standard (GitHub reports NOASSERTION); check terms before deploying
  • Model list and hardware guidance live only in the external docs
  • Building from source needs Rust, protobuf and OpenBLAS
  • GPU optional
  • Docker
  • Models: StarCoder-1B, Qwen2-1.5B-Instruct, CodeLlama 7B, CodeGemma, CodeQwen
  • port 8080
  • README: alternative to GitHub Copilot
#1039 out of 100

proxyai

JetBrains plugin for AI chat, autocomplete and code edits

1.9k starsApache-2.0last commit May 2026

Its own README calls it an alternative to GitHub Copilot.

ProxyAI is a Kotlin plugin for JetBrains IDEs that adds chat, inline autocomplete, next-edit suggestions and natural-language code edits. It connects to hosted providers such as OpenAI, Anthropic, Azure and Mistral, or to a self-hosted model for offline use. Suggested changes stream into the editor and can be reviewed in diff view before applying.

Strengths

  • Chat can reference project files, folders, git history, web docs and images
  • Auto Apply streams edits into the editor with diff preview and accept or reject
  • Works with hosted providers or a self-hosted model for offline use
  • Also generates commit messages and name suggestions

Weaknesses

  • Runs only inside JetBrains IDEs; no VS Code or standalone editor
  • Collects anonymous usage data, with user consent
  • README does not name supported self-hosted backends or model formats
  • Building from source needs git submodules and Gradle runIde
  • Needs JetBrains IDE, Gradle (build from source)
  • Models: OpenAI, Anthropic, Azure, Mistral, self-hosted models
  • README: alternative to GitHub Copilot