All writing
  • open-source
  • coding-agents
  • cline

The Open-Source Agent Stack: Cline, OpenCode, OpenHands in 2026

Open-source coding agents exploded in 2025-2026. Here's when they beat proprietary tools — and when they don't.

Two years ago, “open-source coding agent” meant a hobby project you’d use until something better came along. In 2026 it means a tool with more GitHub stars than the proprietary product it competes with. OpenCode crossed 153K stars. OpenHands sits at 72K. Cline is at 57.9K, Aider at 40K, Continue at 26K. These are not toys filling a gap until the real tools arrive — for a large and growing class of teams, they are the real tools, and the gap they fill is one the proprietary vendors are actively widening for them. For Southeast Asian teams and cost-sensitive organizations everywhere, the case for the open stack is now strong enough to be the default starting point rather than the fallback.

This is not an argument that open-source has won. It’s an argument that the choice is now a real engineering decision with real trade-offs, instead of a foregone conclusion in favor of whoever has the slickest demo. Let’s map the landscape, then the decision.

The landscape: three shapes of agent

The open-source coding agent ecosystem isn’t one category. It’s three, distinguished by where the agent lives and how much rope it gets.

IDE extensions — Cline, Continue. These live inside VS Code (and its forks) and keep a human in the loop on most actions. Cline (57.9K stars) is the standout: it plans, edits across files, runs commands, and shows you a diff to approve before it touches anything. Its plan/act split and per-action approval make it the natural pick for teams that want agentic editing without surrendering the wheel. Continue (26K) leans more toward an open, customizable autocomplete-plus-chat layer you wire to your own models. The IDE extension is the gateway drug: it sits in a workflow developers already have and asks them to give up nothing.

Terminal agents — OpenCode, Aider. These live in the shell, which is exactly where serious automation wants to be. OpenCode (153K stars) is terminal-native, model-agnostic across 75+ providers, and built to be scripted and piped — the Unix-philosophy take on a coding agent. Aider (40K) is the battle-tested elder: tight git integration, automatic commits with sensible messages, and a sharp focus on editing existing repos rather than greenfield generation. Terminal agents are where the dual-agent and orchestrated workflows we’ve written about actually get built, because the terminal is the substrate everything else composes over.

Autonomous agents — OpenHands, Goose. These take a task and run a long way on their own — writing code, executing it in a sandbox, reading the output, iterating. OpenHands (72K stars, formerly OpenDevin) is the flagship: a full agent runtime with a sandboxed execution environment, aiming at the “give it a ticket, get a PR” workflow. Goose (from Block) is the extensible, MCP-native entrant built to be wired into whatever tools and systems you already run. Autonomous agents are the highest-leverage and highest-risk shape — which is exactly why sandboxing the agent stops being optional the moment you adopt one.

When open-source beats proprietary

Four conditions, and you only need one to tip the decision.

Data residency. If your code cannot leave your infrastructure — regulated industries, government work, or jurisdictions with data-localization rules that an increasing number of ASEAN markets are writing into law — an open-source agent you run against a self-hosted or in-region model endpoint is not a preference, it’s the only legal option. A proprietary agent that phones home to a US-hosted API is a non-starter regardless of how good it is. The open stack lets you keep the agent and the model inside a boundary you control.

Cost at scale. Per-seat pricing is linear in headcount; an open-source agent pointed at an API (or your own inference) is linear in usage, which for most teams is the smaller and more controllable number. When you have fifty developers and only a fraction are running agents heavily, paying fifty seats is paying for capacity you don’t use. The open stack lets you pay for tokens consumed, route cheap tasks to cheap models, and stop subsidizing seats that sit idle — the same metered-burn discipline that the June 2026 billing reset forced on everyone anyway.

Model choice. OpenCode’s 75+ providers is the headline feature, not a footnote. When the agent is decoupled from the model, you can route the frontier model to the reasoning that needs it and a budget tier to the boilerplate, swap providers when prices move, and run an open-weight model on-prem for the sensitive work. A proprietary agent welds you to its vendor’s model and its vendor’s margin. Decoupling is leverage, and the open agents are the ones that hand it to you.

Air-gap requirements. Some environments have no internet at all — defense, critical infrastructure, certain financial cores. A proprietary SaaS agent simply cannot run there. An open-source agent paired with a locally hosted model can. This is a small slice of the market, but for the teams in it, it is the entire decision.

When proprietary wins

Honesty about the trade-off is what makes the recommendation worth anything, so here is the other side.

UX polish. The proprietary tools — Claude Code, Cursor, Copilot — generally still have smoother onboarding, more considered defaults, and fewer sharp edges. The open agents have closed most of this gap, but “most” is not “all,” and for a team that wants to be productive on day one rather than day three, polish has real value. We compared the proprietary field in detail in AI coding tools in 2026; the short version is that the best proprietary tools are still excellent, and excellence-out-of-the-box is a feature.

Debugging experience. When an agent goes wrong, the proprietary tools tend to give you better trajectory visibility — clearer surfacing of what the agent did and why — out of the box. With the open stack you often have to build that yourself, which loops straight back to the observability discipline: the open agent is more configurable precisely because it ships fewer opinions, and one of the opinions it ships fewer of is “here’s how to see what I did.” That’s a cost you pay in setup time.

Enterprise support. A contract with a vendor means someone to call, an SLA, a security questionnaire someone has already answered, and a throat to choke when it breaks. For a regulated enterprise, that’s not bureaucracy — it’s risk transfer, and it’s worth paying for. The open stack gives you the code and a community; for some buyers that’s more than enough, and for others it’s a deal-breaker no feature list can fix.

The migration drivers: Copilot’s 2026 changes

The open-source case got a tailwind from an unexpected direction: the incumbents made their own products less comfortable. GitHub Copilot’s June 2026 billing change moved it onto token-based credits with no rollover — the metered-burn turn we documented across the whole field in the June 2026 billing reset. For a team that had treated Copilot as a flat predictable line item, a credit pool that resets monthly and meters programmatic use changes the math, and changing math is what prompts people to re-evaluate. On top of that, Copilot’s April 2026 opt-in training change put code-data-handling back on the table as a live question for teams that had stopped thinking about it. Neither change is fatal on its own. Together they do something subtler: they remove the inertia that kept teams on the proprietary tool by default. When the incumbent stops being the obviously-cheaper, obviously-safer choice, the open alternative gets a real hearing — often for the first time.

A practical recommendation for SE Asian teams

Skip the paralysis. Here is a default that works and a path off it.

For individual developers: start with OpenCode. Terminal-native, 75+ model providers, scriptable, and free. It drops into a workflow you already have, lets you point it at whatever model your budget and data rules allow, and composes with everything else in your shell. The 153K stars are not an accident — it hit the sweet spot of power and portability, and it costs nothing but the tokens you choose to spend. For a solo developer or a one-person consultancy in the region, it is the highest-leverage starting point on the board.

For teams needing governance: adopt Cline. When more than one person is running agents against shared repos, you need approval gates, visibility into what the agent changed, and a human checkpoint before destructive actions — and Cline’s plan/act model and per-action diffs give you exactly that without a procurement cycle. It keeps a person in the loop where teams need one, runs against the model endpoint you choose, and scales from one developer to a team without a per-seat meter. Pair either choice with the observability and sandboxing disciplines from day one, and you have a stack that’s cheap, compliant, and yours.

The deeper point is the one we keep returning to: the agent is not the moat, the harness is. Open-source agents hand you the harness and let you build the loop around it. For teams with more engineering talent than capital — which describes a great deal of Southeast Asia — that’s not a compromise. It’s the better deal.