Open source

Open source AI agents

Coding agents whose source is public, with the licence, the repo and what each one runs on.

19 listed

  • Agent Development Kit (ADK)

    Agent Development Kit, or ADK, is Google's open-source, code-first framework for building, evaluating and deploying agents.

    • Agent framework (code)
    • Open source
    • MCP

    Free · 22,051 stars

  • Aider

    Aider is an Apache-2.0 terminal coding agent that maps your repository and commits each change to git, so every edit can be reviewed or undone with ordinary git commands.

    • Terminal agent
    • Open source

    Free · 49,833 stars

  • Bolt

    Bolt, from StackBlitz, builds websites and apps from a chat prompt and offers Bolt Cloud hosting and databases.

    • App builder (vibe coding)
    • Open source

    Free tier + paid · 16,585 stars

  • Claude Agent SDK

    The Claude Agent SDK is Anthropic's library for building agents on the same loop that powers Claude Code.

    • Agent framework (code)
    • Open source
    • MCP

    Free · 8,394 stars

  • Cline

    Cline is an Apache-2.0 coding agent for VS Code, JetBrains, the terminal and a desktop app, built around a Plan and Act split: it proposes, you approve, then it executes.

    • Editor extension
    • Open source
    • MCP

    Free tier + paid · 71,081 stars

  • Codex CLI

    Codex CLI is OpenAI's Apache-2.0 coding agent for the terminal, signed in with a ChatGPT plan or an API key.

    • Terminal agent
    • Open source
    • MCP

    Subscription · 131,919 stars

  • Continue

    Continue is an Apache-2.0 coding agent available as a CLI, a VS Code extension and a JetBrains plugin, with MCP support.

    • Editor extension
    • Open source
    • MCP

    Free · 36,376 stars

  • CrewAI

    CrewAI is an MIT-licensed Python framework for teams of cooperating agents, with MCP support, plus a hosted product called AMP.

    • Agent framework (code)
    • Open source
    • MCP

    Free tier + paid · 60,313 stars

  • Gemini CLI

    Gemini CLI is Google's Apache-2.0 terminal agent.

    • Terminal agent
    • Open source
    • MCP

    Free · 108,636 stars

  • Goose

    Goose is an Apache-2.0 agent from Block, built in Rust, available as a desktop app, a CLI and an API.

    • Terminal agent
    • Open source
    • MCP

    Free · 55,977 stars

  • Kilo Code

    Kilo Code is an MIT-licensed coding agent for VS Code and JetBrains with MCP support.

    • Editor extension
    • Open source
    • MCP

    Free tier + paid · 27,804 stars

  • LangGraph

    LangGraph is an MIT-licensed framework from LangChain for building agents as graphs with state, with MCP support through an adapter we could not confirm in detail.

    • Agent framework (code)
    • Open source
    • MCP

    Free tier + paid · 44,183 stars

  • OpenAI Agents SDK

    The OpenAI Agents SDK is an MIT-licensed Python framework for multi-agent workflows, with a JavaScript and TypeScript version alongside.

    • Agent framework (code)
    • Open source
    • MCP

    Free · 30,399 stars

  • OpenClaw

    OpenClaw is an MIT-licensed assistant you host yourself and reach through chat apps, so it sits closer to a personal agent than to an editor-based coding tool.

    • Desktop assistant
    • Open source
    • MCP

    Free · 393,474 stars

  • OpenCode

    OpenCode is an MIT-licensed coding agent for the terminal, a desktop app and IDEs.

    • Terminal agent
    • Open source
    • MCP

    Free · 223,319 stars

  • OpenHands

    OpenHands is an MIT-licensed project that now centres on Agent Canvas, a self-hosted control centre where you start conversations and automations with the OpenHands agent or with other agents such as Claude Code, Codex, Gemini CLI, Pi and OpenCode.

    • Cloud / background agent
    • Open source
    • MCP

    Free tier + paid · 92,286 stars

  • Pydantic AI

    Pydantic AI is an MIT-licensed Python agent framework from the team behind Pydantic.

    • Agent framework (code)
    • Open source
    • MCP

    Free · 20,962 stars

  • Qwen Code

    Qwen Code is an Apache-2.0 terminal coding agent from Alibaba's Qwen team, with MCP support, available for macOS, Linux and Windows.

    • Terminal agent
    • Open source
    • MCP

    Free · 28,840 stars

  • Roo Code

    Roo Code was a Cline fork known for its modes, and it shut down on 15 May 2026, with the repository archived.

    • Editor extension
    • Open source
    • MCP

    Free · 24,253 stars

Open source AI agents are coding assistants whose source code you can read, run and fork. As of 31 October 2026 the active ones are OpenCode (MIT), Cline, Goose, Codex CLI, Gemini CLI and Zoo Code (all Apache-2.0), OpenHands and OpenClaw (MIT), plus Continue and Aider. Roo Code is shut down and Flowise is archived. The software is free; the model is not.

The agents, side by side

Every figure below comes from the project's GitHub repository on 31 October 2026. Stars are a rough signal of attention, not of quality.

Agent

License

Stars

Last push

Latest release

Main surface

OpenCode

MIT

about 223,000

30 Oct 2026

v1.19.5 (28 Oct)

Terminal, desktop, IDE extension

OpenClaw

MIT

about 393,000

30 Oct 2026

v2026.10.9 (29 Oct)

Chat apps on your own computer

Codex CLI

Apache-2.0

about 132,000

30 Oct 2026

rust-v0.166.0 (29 Oct)

Terminal

Gemini CLI

Apache-2.0

about 109,000

30 Oct 2026

v0.66.0 (27 Oct)

Terminal

OpenHands

MIT

about 92,000

30 Oct 2026

v1.34.0 (27 Oct)

Self-hosted control center, cloud

Cline

Apache-2.0

about 71,000

30 Oct 2026

v4.1.26 (26 Oct)

VS Code, JetBrains, CLI, desktop

Goose

Apache-2.0

about 56,000

30 Oct 2026

v1.57.0 (28 Oct)

Desktop app, CLI, API

Aider

Apache-2.0

about 50,000

22 May 2026

v0.86.0 (9 Aug 2025)

Terminal

Continue

Apache-2.0

about 36,000

30 Oct 2026

v2.0.0-vscode (19 Jun 2026)

IDE extension

Roo Code

Apache-2.0

about 24,000

15 May 2026

v3.54.0 (15 May 2026), archived

Shut down

Zoo Code

Apache-2.0

about 2,000

30 Oct 2026

v3.92.0 per README

VS Code extension (Roo fork)

Two rows deserve a second look. Roo Code is archived: the README states "The Roo Code Extension was shut down on May 15th." Aider still has a large user base, but its last tagged release is from August 2025 and the last merge on the main branch we saw was on 22 May 2026. That is not dead, and it is not busy either.

OpenAI's and Google's agents are open source in the licensing sense, yet each is designed for its maker's models. That distinction matters later in this page.

What "open source" means here

Three different things get called open source in this market, and mixing them up costs people time.

  1. Open code. You can read the repository, build it and change it. Everything in the table above passes this test, because each repository carries an OSI-style license (Apache-2.0 or MIT) in its LICENSE file.
  2. Open models. The model weights are published, so you can run them yourself. This is a separate question from the agent, and it is covered in open vs closed models and the list of open source LLMs.
  3. Open governance. Who decides what goes in. Goose now sits under the Linux Foundation's Agentic AI Foundation, and its README says so. OpenClaw is run by a foundation. Most others are controlled by a single company or team.

An agent can be open code and still send your files to a closed model. Open code does not by itself keep your data on your machine. For that you need an open model running locally, covered in run an LLM locally and Ollama.

Agent by agent

OpenCode

An MIT-licensed terminal, desktop and IDE agent with the largest star count among the coding-first tools. It reaches 75+ providers through Models.dev and can also sign in with a Copilot or ChatGPT account. Read the full OpenCode guide for install lines and the Zen service. It is the closest open source answer to a general-purpose Claude Code, and the Claude Code vs OpenCode page compares the two.

Cline

Cline describes itself as "the open source coding agent in your IDE, terminal, & desktop". Its README lists a CLI (npm i -g cline), a desktop app for macOS and Windows, a VS Code extension, a JetBrains plugin and an SDK (npm install @cline/sdk). One detail from the repository index: the JetBrains plugin is not open source, since the README says "Currently we are not open-sourcing JetBrains plugins". Everything else in the index points to code in the repo. Plan and Act modes, .clinerules files and MCP support are all documented. See Cline.

Goose

Goose is a general-purpose agent, not only a code tool. The README describes "a native desktop app for macOS, Linux, and Windows", a CLI and an API, built in Rust, working with 15+ providers and 70+ MCP extensions. It can also use existing Claude, ChatGPT or Gemini subscriptions through ACP. The repository moved from the Block organisation to aaif-goose, and the docs moved to goose-docs.ai, so older links may redirect. See Goose.

OpenHands

OpenHands changed shape. The repository README now leads with "Agent Canvas", a self-hosted control center that runs the OpenHands agent and also drives Claude Code, Codex, Gemini CLI, Pi and OpenCode through the Agent Client Protocol. It installs with npm install -g @openhands/agent-canvas. Its README warns that the no-sandbox option gives the agent full access to your filesystem. See OpenHands.

Codex CLI and Gemini CLI

Both are Apache-2.0 and both are open on GitHub. Codex CLI is OpenAI's terminal agent, and Gemini CLI is Google's. They are best read as open front ends for one vendor's models. Gemini CLI has an extra caveat in 2026: it is now tied to Code Assist enterprise, and individuals moved to Antigravity CLI on 18 June 2026. Details are on Codex CLI and Gemini CLI.

OpenClaw

OpenClaw is an MIT-licensed assistant that runs on your own computer and talks to you through chat apps. Coding is one of several jobs it can do. It is the most-starred project in the table by a wide margin, but it is a different kind of tool from a terminal coding agent. See OpenClaw.

Aider

Aider is the veteran: "AI pair programming in your terminal". Install with python -m pip install aider-install then aider-install. It builds a map of your repository, edits with git commits, and works with almost any model, including local ones. The README's badges claim 6.8M installs and 15B tokens per week; those are the project's own numbers. The slowdown in releases is the thing to weigh. See Aider.

Continue

Continue is an Apache-2.0 IDE extension and CLI project. We did not write a standalone page for it. Check its repository before relying on it: the latest tagged release we saw was v2.0.0-vscode on 19 June 2026, though the repo was pushed to on 30 October.

Roo Code and Zoo Code

Roo Code started as a fork of Cline and was popular for its modes (Code, Architect, Ask, Debug and custom modes). The company wound down the extension on 15 May 2026 to focus on Roomote, according to the Zoo Code README. Zoo Code is a fork by former contributors, Apache-2.0, with a migration guide from Roo. It is young: about 2,000 stars against Roo's 24,000. If you used Roo, the choice is between Zoo Code (closest) and Cline (the original). See Roo Code.

What open source buys you

  • No lock-in to one model vendor. OpenCode, Cline, Goose, Aider and Continue let you swap providers. Your habits and your rules files stay.
  • Readable behaviour. When an agent does something odd, you can read the prompt and the tool code. Closed agents give you a changelog.
  • Pinning. You can stay on one version while a vendor ships changes you do not want.
  • Self-hosting. OpenHands is designed to run on your machine, in Docker or on a server you control. For company use, that can matter more than any feature.
  • Forking as an exit. Roo Code's shutdown shows why this matters. The community forked the code and kept going. A closed product that shuts down leaves you with nothing.

What it does not buy you

  • Free usage. The model bill is still there. A heavy day on a frontier model through an API key can cost more than a flat subscription, and the flat plans from closed vendors are often subsidised. See AI coding agent pricing compared.
  • Privacy by default. Cloud models see your code. Read each provider's terms. OpenCode's site says it does not store your code, with an exception for its free models.
  • Polish. Closed agents such as Claude Code and Cursor tend to have tighter editor integration and faster releases of vendor-specific features. Open agents catch up, but not on the same day.
  • Support. There is no account manager. For a team, check whether the maintainer offers a paid plan.
  • Safety. An agent that can run commands can damage your machine. Open code lets you audit it; it does not sandbox it for you. Use a container or a dev VM for risky tasks.

Costs in practice

The agents themselves cost nothing, so costs come from four places.

Route

What you pay

Example agents

Your own API key

Per token to the model provider

Aider, Cline, OpenCode, Goose

A subscription you already have

The subscription, within its usage limits

OpenCode (ChatGPT, Copilot logins), Goose (via ACP)

The maker's own gateway

Per token, sometimes with a processing fee

OpenCode Zen

A local model

Hardware and electricity

Any agent that accepts an OpenAI-compatible endpoint

Using a subscription login in a third-party tool depends on the provider allowing it. Anthropic, OpenAI and GitHub have each changed such terms over time.

Local models are the only route with no per-token bill and no outside data flow. The tradeoff is quality and speed on ordinary laptops. A guide to hardware is on GPU requirements for LLMs, and local coding agent with Ollama walks through the setup.

MCP, rules files and moving between agents

All of the active agents above speak MCP, the open standard for connecting tools. The details differ: OpenCode takes an mcp key in its config, Cline has an MCP marketplace, Goose calls them extensions. Because MCP is shared, a server you set up once is cheap to move. Start with the MCP server list and best MCP servers.

Project instructions are less uniform. OpenCode reads AGENTS.md. Cline reads .clinerules. Claude Code reads CLAUDE.md. If you want portability, write one AGENTS.md and point the others at it. Our guide to writing a good AGENTS.md explains the format.

Choose by situation

You want

Start with

Why

A terminal agent, any model

OpenCode

MIT, 75+ providers, active releases

An agent inside VS Code or JetBrains

Cline

Active, Plan/Act modes, CLI as well

A general agent, not only code

Goose

Desktop app, extensions, Linux Foundation home

Self-hosted agents for a team

OpenHands

Runs on your servers, multiple backends

Git-centred pair programming

Aider

Repo map, commits, but slowing releases

To keep using Roo's workflow

Zoo Code

Direct fork, migration guide

OpenAI or Google models in an open client

Codex CLI, Gemini CLI

Open code, vendor models

If you only want to pay nothing, see free AI agents. For a wider look including closed tools, see AI coding agents.

Risks to check before you commit

  1. Is it maintained? Look at the release date and the last push. Roo Code and Flowise show that a popular project can stop.
  2. Who owns it? A foundation, a company or a hobbyist? A company can shift focus; Roo did.
  3. Are all parts open? Cline's JetBrains plugin is closed. Some projects keep cloud features proprietary.
  4. What leaves your machine? Prompts, file contents and sometimes telemetry. Read the privacy section of the README.
  5. What can it run? Check the approval model. Prefer agents that ask before commands, and run them in a container.

Our take

This is an editorial reading of repositories and READMEs, not a test.

Open source is a good reason to choose an agent only if you name which benefit you want. If it is model freedom, the shortlist is OpenCode, Cline, Goose and Aider. If it is self-hosting for a team, OpenHands. If it is just a lower bill, the answer depends more on the model than the agent.

The 2026 lesson is about durability. Two well-known projects stopped in the same year, and one of them (Roo Code) was saved by a fork only because the code was open. So open source is less a guarantee that the tool lives and more a guarantee that you are not stuck if it stops. Pick one that is actively released, keep your rules in portable files, and avoid building a workflow around a single maintainer.

Checklist

  • Decide what you want from open source: model freedom, self-hosting, audit or cost
  • Check the latest release date and last push on GitHub
  • Confirm the LICENSE file for the exact repo you install
  • Choose how you will pay for the model: key, subscription or local
  • Write a shared AGENTS.md so you can switch tools
  • Run the agent in a container for anything touching production data
  • ] Review [how we rate before treating any list as a ranking

Questions

What is the best open source AI coding agent?

There is no single winner. OpenCode has the most stars of the coding-first tools and works with 75+ model providers, Cline is the most active IDE extension, Goose is a general agent from the Linux Foundation, and Codex CLI and Gemini CLI are open source but built around one vendor's models.

Is open source AI agent software free?

The software is free to download and run. You still pay for the model: per token with your own API key, through a subscription some tools can sign in with, or nothing if you run a local model.

Is Roo Code still maintained?

No. The Roo Code README says the extension was shut down on 15 May 2026 and the repository is archived. A community fork, Zoo Code, continues the project under Apache-2.0.

Is Claude Code open source?

No. Its GitHub repository is public but the license reserves all rights. See the Claude Code page for the exact wording.

Part of the Wbcom Designs family

The all-in-one WordPress community stack

Also ours: wbcomdesigns.comvapvarun.combrndle.com