Skip to main content

Open source alternatives to GitHub Copilot

GitHub Copilot is hosted autocomplete in the editor. Open-source replacements are either a self-hosted model server or an editor agent that brings its own models.

Tabby is the self-hosted assistant. Cody and Roo attach models to the repo. Claude Code is an agent, not a GitHub Copilot ghost-text clone. This directory currently lists 10 mapped tools, led by Claude Code (112.6k GitHub stars).

Quick comparison

Open-source alternatives to GitHub Copilot, ranked by GitHub stars
#ToolStarsLanguageLicense
1Claude Code

Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.

112.6kShellโ€”
2Cline

Autonomous coding agent integrated directly into your IDE, offering capabilities like file creation and editing, command execution, and browser usage, all with your permission at every step.

60.2kTypeScriptApache License 2.0
3GPT-Pilot

GPT-Pilot is an advanced AI developer tool designed to automate and enhance the software development process.

32.5kPythonOther
4Tabby

A self-hosted AI coding assistant that enhances your development workflow with autocomplete and in-line code suggestions.

30.4kRustOther
5Context Engineering Intro

Explore the cutting-edge practice of context engineering, crucial for maximizing the effectiveness of AI coding assistants. This repository focuses on leveraging tools like Claude Code, but the strategies are applicable to any AI coding assistant.

13.1kPythonMIT License
6Developer

The pioneering library allowing the embedding of a developer agent into your application, enhancing interactivity and automation.

12.2kPythonMIT License
7Claude Engineer

Claude Engineer is an interactive command-line interface (CLI) that leverages the power of Anthropic's Claude-3.5-Sonnet model to assist with software development tasks. This framework enables Claude to generate and manage its own tools, continuously expanding its capabilities through conversation. Available both as a CLI and a modern web interface.

10.9kPythonโ€”
8CodeGeeX

CodeGeeX: An Open Multilingual Code Generation Model featured at KDD 2023, enabling generation and understanding of code across multiple languages.

8.4kPythonApache License 2.0
9Cody-public-snapshot

Cody is an advanced AI code assistant that leverages intelligent search and deep codebase context to help developers write, refactor, and fix code more efficiently. With AI-powered suggestions and context-aware capabilities, Cody accelerates development and helps reduce boilerplate and errors.

3.8kTypeScriptApache License 2.0
10Shotgun

A Spec Driven Development tool for writing codebase-aware specs that guide AI coding agents and prevent them from derailing. Enables automated, high-precision code generation and testing workflows with AI.

711PythonMIT License

How these GitHub Copilot alternatives differ

Star rank is useful for adoption, not for picking a job. Use the diffs below to match the slice of GitHub Copilot you actually need.

  1. Self-hosted autocomplete

    Tabby

    Inline suggestions on machines you control. Closest Copilot-shaped server in this catalog.

  2. Repo-aware chat

    Cody-public-snapshot

    Sourcegraph Cody answers from the codebase. Use it for chat and edits, not only ghost text.

All open-source alternatives to GitHub Copilot

Frequently asked questions

What is the best open source alternative to GitHub Copilot?

Tabby if you want self-hosted autocomplete. Cody if you want repo-aware chat. Roo or Claude Code if you want an agent instead of ghost text.

Can I self-host an alternative to GitHub Copilot?

Tabby is designed to be self-hosted. Other tools here often call a model you already run or buy.

Are these Copilot alternatives free?

The clients and servers listed here are open source. Model weights and GPU time are separate costs.

Stay Updated!

Get notified about new tools and updates to existing ones.