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

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
2

Roo Code

Roo Code

Open-source VS Code AI coding agent (Code, Architect, Debug modes). Archived May 15, 2026, frozen at v3.54.0 but still installable. Continued by the Zoo Code community fork; Cline is upstream. Apache-2.0, 24.3k stars.

agentic-codingmulti-file-editingide
3

SWE-agent

Princeton NLP

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

agentic-codinggit-nativeautonomous
4

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
5

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. 47K+ GitHub stars, 6.8M installs.

git-nativeterminalopen-source
6

Trae

ByteDance

AI development platform: TRAE IDE plus TRAE SOLO autonomous coding agent. Free tier; paid Lite $3/mo ($2.25 billed annually), Pro $10, Pro+ $30, Ultra $100. Up to 20 concurrent cloud tasks.

freemiumb2bai-coding-agents
agentic-codingcode-generationautocomplete
7

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

agentic-codinggit-nativeopen-source
8

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
9

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 106k GitHub stars.

terminal-agentagentic-codinggit-native
10

Cline

Cline (Open Source)

Open-source autonomous coding agent for VS Code, CLI, and SDK. 64.3k GitHub stars. Free with BYOK or managed inference; ClinePass adds open-weight models from $9.99/mo; Enterprise custom.

freemiumb2cai-coding-agents
open-sourcebyokvscode
11

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
12

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
13

OpenCode

Anomaly

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

agentic-codingmulti-file-editingcode-generation
14

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
15

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. 79.6k GitHub stars.

agentic-codingterminal-agentautonomous
16

Kilo Code

Kilo Code

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

freemiumb2bai-coding-agents
code-generationagentic-codingautonomous
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. 51k 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 Mainline, Roo Code, SWE-agent. 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.