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 May 2026

1

Zed AI

Zed Industries

High-performance code editor with native AI features built for speed and multiplayer collaboration. Personal Free; Pro $10/mo with $5 tokens; Enterprise contact.

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

OpenHands

All Hands AI

Open-source autonomous software engineering agent that writes code, runs commands, and completes GitHub issues end-to-end. Free self-hosted (MIT), free cloud SaaS (BYOK), Enterprise custom. 73,700+ GitHub stars.

agentic-codingterminal-agentautonomous
3

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

git-nativeterminalopen-source
4

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 monthly billing.

subscriptionb2bai-coding-agents
agentic-codingcode-generationautocomplete
5

Plandex

Plandex

Open-source terminal-based AI coding agent designed for large projects with up to 2M token context. BYOK pricing — free open source; users pay for LLM API usage.

agentic-codingterminal-agentmulti-file-editing
6

OpenCode

Anomaly

Open-source AI coding agent for terminal, IDE, and desktop. Multi-session, GitHub Copilot login support, ChatGPT Plus/Pro login. 150K+ GitHub stars. Free + BYOK or use existing accounts.

agentic-codingmulti-file-editingcode-generation
7

GitHub Copilot

GitHub (Microsoft)

The most widely used AI coding assistant with deep GitHub ecosystem integration. Free tier; Pro $10/mo, Business $19/user/mo, Enterprise $39/user/mo. Moving to usage-based billing June 1, 2026.

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

Refact.ai

Refact

Open-source AI coding agent with self-hosted deployment, BYOK model support, and custom fine-tuning. Free open-source; Enterprise custom. NOTE: Refact Cloud shutting down — self-hosted/Enterprise only.

freeenterpriseai-coding-agents
autocompletecode-generationbyok
9

Roo Code

Roo Code

Open-source AI coding assistant with specialized modes (Code, Architect, Debug) and full model-agnostic BYOK. Free; 23.8K GitHub stars, 1.56M installs.

agentic-codingmulti-file-editingide
10

Continue

Continue

Open-source AI coding platform for IDE customization, agent creation, and team-wide AI workflow management. Starter $3/M tokens PAYG; Team $20/seat/mo; Company custom.

usage-basedb2bai-coding-agents
code-generationautocompletemulti-file-editing
11

Mainline

Mainline

Mainline is a Git-native memory layer for AI coding agents, surfacing abandoned approaches, superseded decisions, and reviewer constraints before agents edit code.

agentic-codingautonomousgit-native
12

Original open-source PR review agent (formerly Codium-AI/pr-agent, now The-PR-Agent/pr-agent). 11.1K GitHub stars. Free open-source; Qodo offers commercial tier separately.

agentic-codinggit-nativeopen-source
13

Kilo Code

Kilo Code

Open-source AI coding agent for VS Code, JetBrains, and CLI with parallel agents, multi-model comparisons, and 500+ models including Claude, GPT-5, and Gemini through transparent BYOK pricing.

freemiumb2bai-coding-agents
code-generationagentic-codingautonomous
14

SWE-agent

Princeton NLP

Open-source autonomous coding agent that fixes GitHub issues using your LM of choice. NeurIPS 2024 paper. 19.1K GitHub stars, 2.1K forks. Free + BYOK.

agentic-codinggit-nativeautonomous
15

Gemini CLI

Google DeepMind

Open-source AI agent by Google bringing Gemini directly into the terminal. Free open-source; users pay only for Gemini API usage. 103K+ GitHub stars, 13.5K forks.

terminal-agentagentic-codinggit-native
16

Cline

Cline (Open Source)

Open-source autonomous coding agent for VS Code with BYOK model access. Free open source; usage-based AI inference at cost or BYOK; Enterprise custom.

open-sourcebyokvscode
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. 38K+ GitHub stars.

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 Zed AI, OpenHands, Aider. 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.