Cline: A TypeScript Coding Agent That Spans IDE, CLI, and SDK
Autonomous coding agent as an SDK, IDE extension, or CLI assistant.
At a glance
- What is it?
- Cline is an open-source autonomous coding agent that runs as a VS Code extension, JetBrains plugin, CLI, or SDK. This review covers its architecture, setup, and the trade-offs of its multi-surface approach.
- Who is it for?
- Adopt Cline if you want a single agent engine that works across VS Code, JetBrains, a terminal CLI, and a programmatic SDK, and you are comfortable with a model-agnostic design that relies on external providers. Avoid it if you need a fully open-sourced JetBrains plugin or if your workflow demands a tightly integrated, single-vendor agent.
- Can I use it commercially?
- Yes. Apache-2.0 is a permissive licence: you can use, modify and sell software built on it, as long as you keep its copyright and licence notices.
- Is it still maintained?
- Yes. The repository received new commits within the last day.
- What is it written in?
- Mainly TypeScript, according to GitHub's language statistics.
Answers come from the project's GitHub data, last synced on November 13, 2026, and from our analysis. They are not legal advice.
Star history
- cline/cline71,597 ★ · +6,469
| Repository | 2026-07-28 | 2026-11-13 |
|---|---|---|
| cline/cline | 65.1k | 71.6k |
6,469 Stars in the last 108 days, measured from the daily GitHub snapshot. Compare with other projects
Editorial analysis
What Cline Solves and Who It Targets
Cline addresses the problem of switching between different AI coding assistants depending on your editor or automation pipeline. Most agents are tied to one IDE or one vendor's model. Cline instead offers the same core agent engine across several surfaces: a VS Code extension, a JetBrains plugin, a CLI, a desktop app, and an SDK. The target user is a developer or team that wants one agent behavior across interactive editing, headless CI/CD scripts, and custom tooling. The README positions it as "the open source coding agent in your IDE, terminal, & desktop!" That breadth is the main selling point, but it also creates complexity, which this review examines.
The Multi-Surface Architecture: One Engine, Four Front Ends
The repository layout reveals a clear separation. The SDK lives in sdk/ and is described as the "Node.js programmatic agent API and extension exports." The CLI in apps/cli/ provides a terminal UI and headless mode. The VS Code extension is in apps/vscode/. The JetBrains plugin is notably not open-sourced; the README states "Currently we are not open-sourcing JetBrains plugins." That means the JetBrains plugin is a closed client that talks to the shared agent core. This architecture lets the SDK be the common foundation, with each surface adding its own flows. The trade-off is that not every surface is equally open,.
How Cline Works: Plan Mode, Act Mode, and Human Approval
Cline's core mechanism is a two-mode workflow. Plan mode lets the agent explore the codebase, ask clarifying questions, and propose a strategy without making changes. Act mode executes the plan, but every file edit and terminal command requires approval unless you toggle auto-approve. This human-in-the-loop design is central to its safety model. The agent monitors linter and compiler errors as it works, fixing issues like missing imports and type mismatches before you see them. In VS Code and JetBrains, each edit appears as a diff you can review or revert, and checkpoints track all changes for undo. The CLI runs commands directly in the terminal and watches output in real time, reacting to compile errors and test failures. This is a concrete data flow: the agent reads project structure, plans, then executes with feedback loops from the environment.
Getting Started: Commands and Config Keys
Installation is straightforward from the README. For the CLI, run npm i -g cline. For the SDK, run npm install @cline/sdk. The VS Code extension is installed from the VS Marketplace, and the JetBrains plugin from the JetBrains Marketplace. Configuration is rule-based: you define project-specific rules in.clinerules files that guide coding standards, architecture conventions, deployment procedures, and testing requirements. These rules are picked up automatically by the CLI, VS Code extension, and JetBrains plugin. The SDK example in the README shows how to create a custom tool using createTool and instantiate an Agent with that tool.
Model Agnosticism: The Flexibility and the Catch
Cline works with every major model provider. The README lists Anthropic, OpenAI, Google, OpenRouter, Vercel AI Gateway, AWS Bedrock, Azure, GCP Vertex, Cerebras, Groq, Ollama, LM Studio, and any OpenAI-compatible API. This is a genuine advantage for teams that want to avoid vendor lock-in or use local models. However, the catch is that this agnosticism places the burden on you to configure and manage those providers. There is no single built-in model; you must bring your own API keys and handle rate limits, costs, and latency differences. The documentation mentions that OpenRouter gives access to 200+ models, but that also means you need to understand each model's strengths and weaknesses. Cline does not abstract away the model choice; it simply lets you choose. For a team that wants a curated, turnkey agent, this could be a drawback.
Extensions and Multi-Agent Teams: The SDK's Real Power
The SDK is where Cline differentiates itself from simpler IDE extensions. It allows you to register custom tools and lifecycle hooks programmatically. The README gives a TypeScript example of creating a deploy tool with an input schema and an execute function. This means you can build agents that fit your exact workflow, not just use predefined actions. The plugin system supports logging, auditing, and policy enforcement. The README also lists multi-agent teams, connectors and scheduled automations among the SDK's capabilities. The trade-off is that building on the SDK requires TypeScript knowledge and a willingness to write code, which is not for every user.
Limitations and Failure Modes
The most obvious limitation is that the JetBrains plugin is not open source, which contradicts the project's open-source positioning. If you are a JetBrains user who wants to audit or modify the plugin, you cannot. Another failure mode is the approval system. While it gives control, it can become a bottleneck in headless CI/CD scenarios. The README mentions auto-approve, but that removes the safety net. In a CI pipeline, if you enable auto-approve to run unattended, you are trusting the agent and the model completely. Finally, the model-agnostic design means that performance and behavior vary by provider; a model that works well for one codebase might fail on another, and Cline cannot guarantee consistent results across all 200+ OpenRouter models.
Alternatives: How Cline Differs from Other Agents
Cline's pitch in its README is a single agent engine shared by a CLI, desktop app, VS Code extension, JetBrains plugin and SDK, with model choice across many providers. Other coding agents tend to be specialised for one environment or one vendor's ecosystem, so compare any alternative against the surfaces and providers you actually need; Cline's trade-off is the multi-component setup and the closed JetBrains plugin described above.
Maintenance and License Considerations
The project is licensed under Apache-2.0, which is permissive and allows commercial use, modification, and distribution, provided you include the license notice. The repository shows regular releases: v4.1.26, desktop-v0.0.49 and cli-v3.0.74, all published on 2026-10-26. This suggests active maintenance. However, the multi-product structure means you must track separate changelogs: one for the SDK, one for the CLI, one for the VS Code extension, and one for the Desktop App. Upgrades are not a single step; you may need to update the CLI, the SDK, and the IDE extension independently. The JetBrains plugin is not in the repository, so its release cycle is opaque. For an engineering team, this means planning for version skew between components. The Apache-2.0 license is a positive for adoption, but the closed JetBrains plugin is a caveat that limits full control.
Editorial conclusion
Adopt Cline if you want a single agent engine that works across VS Code, JetBrains, a terminal CLI, and a programmatic SDK, and you are comfortable with a model-agnostic design that relies on external providers. Avoid it if you need a fully open-sourced JetBrains plugin or if your workflow demands a tightly integrated, single-vendor agent. Before adopting, verify that the specific model provider you plan to use is supported and that the CLI's headless mode meets your CI/CD security requirements, since every command and edit can require approval unless you enable auto-approve.
Frequently asked questions
What is Cline used for?
It is a coding agent that reads your project structure, edits files across it, runs commands in your terminal while watching the output, and reacts to compiler and test errors as they appear. It ships as a CLI, a desktop app, a VS Code extension, a JetBrains plugin and an SDK.
How do I install Cline?
The VS Code extension installs from the VS Marketplace and the JetBrains plugin from the JetBrains Marketplace, with a native desktop app for macOS and Windows. The extension is still installed from a listing whose item id is saoudrizwan.claude-dev.
How do I install the Cline CLI?
With npm i -g cline, which gives you a terminal interface that can run as an interactive chat or fully headless for CI/CD and scripting. The CLI has its own directory at apps/cli/ and its own changelog.
How do I use Cline in VS Code?
Switch between Plan mode, where Cline explores the codebase and lays out a strategy, and Act mode, where it executes. Every file edit and terminal command requires approval, edits appear as diffs you can review, modify or revert, and all changes are tracked with checkpoints.
How do I use Cline with Ollama?
Ollama and LM Studio are listed together as the option for running local models on your machine, in the same provider table as Anthropic, OpenAI and Google. Any OpenAI-compatible API is also supported, for self-hosted or third-party endpoints.
Is Cline the same as Claude Code?
The visible part of the README makes no comparison with Claude Code. What the repository does show is that the VS Code extension is still installed from a Marketplace listing with the item id saoudrizwan.claude-dev, while the JetBrains plugin is the one client it says it is not open sourcing.
Official sources
Where this project is recommended
Where developers are discussing it
Posts on Hacker News, dev.to and Lobsters that link to this repository, found by our scan of those communities. 1 in the last 30 days; newest first.
- OpenPilot vs Cursor, Cline and Continue: an honest comparison (from the person who built OpenPilot)dev.to · Oct 18, 2026 · 2 points · 2 comments
Add this badge to your README
If you maintain this project, the badge below links readers to this analysis and shows its maintenance status from the daily GitHub snapshot. Paste the markdown into your README; add ?metric=license or ?metric=stars to the image URL for a different field.
[](https://hysenlabs.com/projects/cline-cline)Star history chart for your README
[](https://hysenlabs.com/projects/cline-cline)Was this useful?