10 Open Source Alternatives to GitHub Copilot

There are 10 open-source alternatives to GitHub Copilot in this directory. The most popular is Claude Code with 112.6k GitHub stars, followed by Cline(60.2k stars). All are open source, free to use, and many can be self-hosted.

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

All open-source alternatives to GitHub Copilot

Frequently asked questions

What are the best open-source alternatives to GitHub Copilot?

The top three are Claude Code(112.6k stars), Cline(60.2k stars), GPT-Pilot(32.5k stars). All are open source and free to use.

Are these alternatives to GitHub Copilot free?

Yes. Every tool listed here is open source and free to use in your own projects. Many can be self-hosted on your own infrastructure, which means no subscription fees and full control over your data.

Can I self-host an alternative to GitHub Copilot?

Many of the alternatives listed are self-hostable. Each tool's page lists hosting details, system requirements, and licensing terms.

Stay Updated!

Get notified about new tools and updates to existing ones.