// comparison

Open source coding agents compared

OpenHands, Aider, Cline, Goose, OpenCode and Continue are open source coding agents that can use a local model through Ollama or an OpenAI-compatible server; they differ in interface, approval defaults, sandboxing and git handling.

Updated

Published

  • OpenHands
  • Aider
  • Cline
  • Goose
  • OpenCode
  • Continue

Disclosure: 9owls publishes the OpenHands Coding Agent on Nemotron Launchable, which runs OpenHands. No 9owls Launchable runs the other five agents. No project paid for or reviewed this page. Every cell below comes from the project's own README or docs, read on 2026-12-03. We ran no coding task, so the page quotes no benchmark and names no overall winner.

On this page

How do the six open source coding agents compare at a glance?

They split first by where you work: a browser app, a terminal, an IDE or a desktop app.

How do the six open source coding agents compare at a glance?
AgentLicenceInterfaceChanges need approval?Isolation in its docsLocal model route
OpenHandsMITWeb app (Agent Canvas), or Docker imageNot stated in the READMENone, one Docker sandbox, or a Docker container per conversationLM Studio, Ollama, vLLM, SGLang as OpenAI-compatible endpoints
AiderApache-2.0Terminal chatEach edit becomes a git commit you can undoNot described on the pages we readOllama, LM Studio, OpenAI-compatible APIs
ClineApache-2.0VS Code extension, JetBrains plugin, CLI, desktop appYes by default; auto-approve is optionalNot described on the pages we readOllama, LM Studio, any OpenAI-compatible API
GooseApache-2.0Desktop app and CLINo by default: Autonomous mode; Manual and Smart Approval modes existNot described on the pages we readOllama, LM Studio, Docker Model Runner, OpenAI-compatible endpoints such as vLLM
OpenCodeMITTerminal UI and a desktop app (beta)build agent has full access; plan agent denies edits and asks before bashNot described on the pages we readOllama, LM Studio and vLLM discovery, plus custom OpenAI-compatible providers
ContinueApache-2.0CLI, VS Code extension, JetBrains pluginAgent mode asks before each tool by defaultNot described on the pages we readOllama, with a self-hosting guide

Continue's README states that the continuedev/continue repository "is no longer actively maintained and is read-only for all users" (read 2026-12-03).

What does each project say it is?

Each line is the project's own one-line description.

  • OpenHands (Agent Canvas): "The self-hosted developer control center for coding agents and automations."

  • Aider: "AI pair programming in your terminal."

  • Cline: "The open source coding agent in your IDE, terminal, & desktop!"

  • Goose: "an open source, extensible AI agent that goes beyond code suggestions - install, execute, edit, and test with any LLM"

  • OpenCode: "The open source coding agent."

  • Continue: an "open-source coding agent" with "a CLI, VS Code extension, and JetBrains plugin".

Which agents ask before they run a command?

Approval defaults differ, so check them before you point an agent at a real repository.

Which agents ask before they run a command?
AgentDefaultOther modes named in its docs
Cline"Every file edit and terminal command requires your approval"Plan mode and Act mode; auto-approve
Continue"Agent mode will ask permission when it wants to use a tool"Chat, Plan (read-only tools), tool policies
OpenCodebuild agent: "full-access agent"plan agent: "Denies file edits by default", "Asks permission before running bash commands"
Goose"Autonomous Mode is applied by default"Manual Approval, Smart Approval (/mode approve, /mode smart_approve)
AiderEdits are applied and committed/undo, --no-auto-commits, --no-git
OpenHandsNot stated in the READMERun with no sandbox, one Docker sandbox, or one container per conversation

What does a local model need to work with a coding agent?

It needs tool calling and a context window far larger than the Ollama default; the projects say so in their own docs.

What does a local model need to work with a coding agent?
AgentTool callingContext
Continue"Some Ollama models support tools (function calling) which is required for Agent mode."Set with contextLength
Goose"goose relies heavily on tool calling capabilities"Raise Ollama's limit with OLLAMA_CONTEXT_LENGTH
OpenHands"some local models may struggle with reliable tool use"Ollama: "set OLLAMA_CONTEXT_LENGTH to at least 22000"
OpenCode"discovered vLLM models start with tools disabled"; set capabilities per modelSet limit per model
AiderNot stated on its Ollama page"Ollama uses a 2k context window by default, which is very small for working with aider"
ClineNot stated on its local-models pageEnable "Use Compact Prompt"; start a new task when context grows large
  1. Serve a model that supports tool calling, behind an OpenAI-compatible endpoint (vLLM, Ollama or LM Studio).

  2. Raise the context window above the server default before the first task.

  3. Tell the agent the model can use tools where it asks (Continue capabilities, OpenCode capabilities).

  4. Point the agent at the endpoint with an openai/ model name or the provider's own setting.

Ollama vs vLLM compares the two local servers, and serve an OpenAI-compatible API with vLLM shows the endpoint these agents call.

How does each agent handle git?

Aider is the only one of the six whose docs we read that commits for you by default.

  • Aider: "Whenever aider edits a file, it commits those changes with a descriptive commit message."

  • Cline: "All changes are tracked with checkpoints, so you can easily undo the agent's work."

  • OpenHands: works in its own workspace; in the 9owls Launchable projects live under /home/ubuntu/workspace/projects.

  • Goose, OpenCode and Continue: no git behaviour described on the pages we read.

How do I run an open source coding agent on a GPU with a local model?

The OpenHands Coding Agent on Nemotron Launchable on NVIDIA Brev runs OpenHands (Agent Canvas) 1.40.0 next to vLLM serving NVIDIA Nemotron 3.5 Lightning on one NVIDIA L40S 48GB (versions as of the 2026-11-15 fresh-deploy smoke).

  1. Deploy the Launchable and open OpenHands through its NVIDIA Brev link.

  2. In the OpenHands LLM settings, set the custom model openai/coder.

  3. Set the base URL to http://vllm:8000/v1.

  4. Follow how to run OpenHands with a local Nemotron model for the full steps.

The other five agents connect to an OpenAI-compatible endpoint by their own docs; we have not tested them against this Launchable.

Which open source coding agent should I choose?

Choose by where you want to work and how much the agent may do without asking; this page names no overall winner.

  • Browser app, with each conversation in its own Docker container: OpenHands.

  • Terminal, with every change reviewed as a git commit: Aider.

  • VS Code or JetBrains, approving each edit and command: Cline.

  • Desktop app or CLI with selectable autonomy: Goose (check the mode; Autonomous is the default).

  • Terminal UI with a read-only plan agent next to a full-access build agent: OpenCode.

  • More coding and multi-agent stacks: the coding and multi-agent topic.

Is there an open source alternative to Claude Code?

Yes: Aider, OpenCode, Goose and Cline all run from a terminal or CLI, are open source under MIT or Apache-2.0, and can use a local model. OpenHands' README also says Agent Canvas can run third-party agents such as Claude Code, Codex and OpenCode.

Is there an open source alternative to Devin?

If you want an agent that works through a task on its own in a browser app, OpenHands describes that setup: a self-hosted web app where conversations can run in their own Docker containers. It is MIT-licensed and can use a local model.

Can open source coding agents run fully on a local model?

Yes, all six document a local route through Ollama, LM Studio, vLLM or another OpenAI-compatible server. Their docs warn that the model must handle tool calling and that default context windows (2k to 4k tokens on Ollama, per Aider and OpenHands) are too small.

Which open source coding agent works in a sandbox?

Of the six, only OpenHands documents sandbox options on the pages we read: none, one Docker sandbox, or a Docker container per conversation (OH_CONVERSATION_RUNTIME=docker).

Sources: where do these facts come from?

All read on 2026-12-03.

How was this page made?

9owls published this page and publishes the OpenHands Launchable linked here. Each fact about the six agents comes from that project's own README or docs, read on 2026-12-03; projects change fast, so check the linked docs before you rely on a default. We have not measured how well any of them completes coding tasks, so the page makes no quality or speed claim. Found an error? Tell us on the company page.

All comparisons