AI Agent Index

Best AI Coding Agents for Open Source (2026)

We track and rank the best AI coding agents built for Open Source businesses. Every agent below is evaluated on pricing, deployment complexity, integrations, and capability depth — so you can choose the right tool to write, review, and ship code faster in Open Source.

17 agents indexed· Updated July 2026

1

Refact.ai

Refact

Open-source community-maintained AI coding agent with local-first BYOK deployment. Refact Cloud retired April 2026. VS Code, JetBrains, MCP. Free and open source.

freeenterpriseai-coding-agents
autocompletecode-generationbyok
2

OpenCode

Anomaly

Open-source AI coding agent for terminal, IDE, and desktop. 177k GitHub stars, 7.5M monthly developers. Free with BYOK, GitHub Copilot login, or ChatGPT Plus/Pro login. MCP support.

agentic-codingmulti-file-editingcode-generation
3

Roo Code

Roo Code

Open-source VS Code AI coding agent with Code, Architect, and Debug modes. Repo archived May 2026 as company pivoted to Roomote. Free, BYOK, Apache-2.0. 24.2k GitHub stars.

agentic-codingmulti-file-editingide
4

Aider

Aider (Open Source)

Open-source AI pair programming tool that runs in your terminal with BYOK model access. Free; users pay only for LLM API usage. 46K+ GitHub stars, 6.8M installs.

git-nativeterminalopen-source
5

Original open-source PR review agent (now The-PR-Agent/pr-agent). 11.7K GitHub stars. Free Apache 2.0 with BYOK LLM costs. Qodo offers commercial tier separately.

agentic-codinggit-nativeopen-source
6

Mainline

Mainline

Git-native memory layer for AI coding agents. Surfaces abandoned approaches, superseded decisions, and reviewer constraints before agents edit code. Free open source; Team tier planned.

agentic-codingautonomousgit-native
7

NOVA

Bridgeye

Open-source terminal coding agent with self-healing execution. Describe your goal, NOVA writes files, auto-fixes errors, and resolves dependencies. Free tier available, paid from $14/mo.

freemiumb2cai-coding-agents
code-generationterminal-agentautonomous
8

OpenHands

All Hands AI

Open-source autonomous coding agent that writes code, runs commands, and completes GitHub issues end-to-end. Free self-hosted (MIT), free cloud SaaS (BYOK), Enterprise custom. {{github_stars}} GitHub stars.

agentic-codingterminal-agentautonomous
9

Zed AI

Zed Industries

High-performance open-source code editor with native AI, MCP support, and multiplayer collaboration. Personal Free; Pro $10/mo; Business $30/seat/mo.

freemiumb2bai-coding-agents
autocompletecode-generationmulti-file-editing
10

Gemini CLI

Google DeepMind

Open-source AI coding agent by Google, now transitioning to Antigravity CLI. Free hosted tier ended June 18, 2026. Enterprise retains access. Apache 2.0 repo with 105k GitHub stars.

terminal-agentagentic-codinggit-native
11

SWE-agent

Princeton NLP

Open-source autonomous coding agent that fixes GitHub issues using your LM of choice. NeurIPS 2024 paper. 19.6K GitHub stars, 2.1K forks. Free MIT license with BYOK LLM costs.

agentic-codinggit-nativeautonomous
12

GitHub Copilot

GitHub (Microsoft)

The most widely used AI coding assistant with deep GitHub ecosystem integration. Free; Pro $10/mo, Pro+ $39/mo, Max $100/mo. AI Credits billing live June 2026.

freemiumb2cai-coding-agents
code-generationmulti-file-editingautocomplete
13

Kilo Code

Kilo Code

Open-source AI coding agent for VS Code, JetBrains, CLI, Cloud, and Slack with parallel agents and 500+ models. 25.4K GitHub stars, 3M+ users. Free tier; Kilo Pass from $19/mo.

freemiumb2bai-coding-agents
code-generationagentic-codingautonomous
14

Plandex

Plandex

Open-source terminal AI coding agent for large projects with 2M token context. Cloud service winding down. Self-hosted only. 15.5K GitHub stars. Free BYOK.

agentic-codingterminal-agentmulti-file-editing
15

Cline

Cline (Open Source)

Open-source autonomous coding agent available as a VS Code extension, CLI, and embeddable SDK. 63.6k GitHub stars. Free with BYOK or managed inference; Enterprise custom.

open-sourcebyokvscode
16

Trae

ByteDance

AI development platform with TRAE IDE and TRAE SOLO autonomous coding agent. Lite $3/mo; Pro $10/mo; Pro+ $30/mo; Ultra $100/mo. Up to 20 concurrent cloud tasks.

subscriptionb2bai-coding-agents
agentic-codingcode-generationautocomplete
17

Goose

Block

Open-source AI agent by Block (formerly Square) for code, workflows, and automation. Apache 2.0, BYOK model, desktop app + CLI + API. 49.9K GitHub stars, 500+ contributors.

agentic-codingterminal-agentautonomous

Frequently asked questions

What are the best AI coding agents for Open Source?

Based on our index, the top AI coding agents for Open Source are Refact.ai, OpenCode, Roo Code. These are ranked by rating and capability depth across 17 indexed agents.

How do I choose an AI agent for Open Source?

When evaluating AI coding agents for Open Source, consider pricing model (free vs subscription vs usage-based), deployment difficulty, integrations with your existing stack, and whether the agent specialises in Open Source workflows. Every agent on this page includes structured data on all of these dimensions.

Are there free AI agents for Open Source?

Yes — several AI coding agents offer free or freemium plans. Use the filter pills above to narrow by pricing, or browse the full AI Coding Agents index.