// 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.
| Agent | Licence | Interface | Changes need approval? | Isolation in its docs | Local model route |
|---|---|---|---|---|---|
| OpenHands | MIT | Web app (Agent Canvas), or Docker image | Not stated in the README | None, one Docker sandbox, or a Docker container per conversation | LM Studio, Ollama, vLLM, SGLang as OpenAI-compatible endpoints |
| Aider | Apache-2.0 | Terminal chat | Each edit becomes a git commit you can undo | Not described on the pages we read | Ollama, LM Studio, OpenAI-compatible APIs |
| Cline | Apache-2.0 | VS Code extension, JetBrains plugin, CLI, desktop app | Yes by default; auto-approve is optional | Not described on the pages we read | Ollama, LM Studio, any OpenAI-compatible API |
| Goose | Apache-2.0 | Desktop app and CLI | No by default: Autonomous mode; Manual and Smart Approval modes exist | Not described on the pages we read | Ollama, LM Studio, Docker Model Runner, OpenAI-compatible endpoints such as vLLM |
| OpenCode | MIT | Terminal UI and a desktop app (beta) | build agent has full access; plan agent denies edits and asks before bash | Not described on the pages we read | Ollama, LM Studio and vLLM discovery, plus custom OpenAI-compatible providers |
| Continue | Apache-2.0 | CLI, VS Code extension, JetBrains plugin | Agent mode asks before each tool by default | Not described on the pages we read | Ollama, 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.
| Agent | Default | Other 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 |
| OpenCode | build 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) |
| Aider | Edits are applied and committed | /undo, --no-auto-commits, --no-git |
| OpenHands | Not stated in the README | Run 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.
| Agent | Tool calling | Context |
|---|---|---|
| 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 model | Set limit per model |
| Aider | Not stated on its Ollama page | "Ollama uses a 2k context window by default, which is very small for working with aider" |
| Cline | Not stated on its local-models page | Enable "Use Compact Prompt"; start a new task when context grows large |
Serve a model that supports tool calling, behind an OpenAI-compatible endpoint (vLLM, Ollama or LM Studio).
Raise the context window above the server default before the first task.
Tell the agent the model can use tools where it asks (Continue
capabilities, OpenCodecapabilities).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).
Deploy the Launchable and open OpenHands through its NVIDIA Brev link.
In the OpenHands LLM settings, set the custom model
openai/coder.Set the base URL to
http://vllm:8000/v1.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.
- OpenHands on GitHub (external site) and OpenHands local LLM docs (external site): description, MIT licence, sandbox options, context and tool-use notes.
- Aider on GitHub (external site), Aider Ollama docs (external site) and Aider git docs (external site): description, Apache-2.0 licence, context default, commits.
- Cline on GitHub (external site) and Cline local models docs (external site): description, Apache-2.0 licence, approvals, checkpoints, local servers.
- Goose on GitHub (external site), Goose providers docs (external site) and Goose permission modes (external site): description, Apache-2.0 licence, modes, tool calling.
- OpenCode on GitHub (external site) and OpenCode providers docs (external site): description, MIT licence, build and plan agents, local discovery.
- Continue on GitHub (external site), Continue agent quick start (external site) and Continue Ollama guide (external site): description, Apache-2.0 licence, maintenance notice, tool calling.
- OpenHands Coding Agent on Nemotron Launchable README (external site): versions as of the 2026-11-15 smoke.
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.