Cline - Open-Source Autonomous Coding Agent
Research Date: 2026-02-23
Source URL: https://cline.bot
GitHub Repository: https://github.com/cline/cline
Documentation: https://docs.cline.bot
VS Code Marketplace: https://marketplace.visualstudio.com/items?itemName=saoudrizwan.claude-dev
Version at Research: v3.66.0
License: Apache-2.0
Overview
Cline is an open-source autonomous coding agent that integrates directly into VS Code and the terminal (CLI + Editor). It handles complex, multi-step software development tasks — creating and editing files, executing terminal commands, automating browser interactions, and extending its own capabilities via MCP servers — while requiring explicit human approval for every action. Cline supports any AI provider (Anthropic, OpenAI, Google, AWS Bedrock, local models) and is positioned as the open, privacy-first alternative to proprietary agents like GitHub Copilot.
Core Value Proposition: A fully transparent, human-in-the-loop coding agent that works with any LLM, keeps code on your infrastructure, and can be extended via open standards (MCP, skills, hooks).
Problem Addressed
| Problem |
Solution |
| Proprietary coding assistants lock teams into specific LLM vendors |
Model-agnostic architecture supports Anthropic, OpenAI, Google, AWS Bedrock, Azure, Groq, Cerebras, and local models via Ollama/LM Studio |
| AI agents making unsanctioned changes to production code |
Human-in-the-loop GUI requires explicit approval for every file change, terminal command, and browser action |
| Enterprise compliance and data residency requirements |
All inference routed through your own API keys; code never sent to Cline's servers |
| Agentic tools that can't understand large, complex codebases |
AST parsing, regex search, and file structure analysis for project-wide understanding without overflowing context |
| High AI inference costs with opaque billing |
Per-request token and cost tracking; no markup on API usage — you pay providers directly |
| One-size-fits-all AI tools that can't be customized |
Extensible via .clinerules, skills, hooks, workflows, subagents, and MCP servers |
Key Statistics (as of 2026-02-23)
| Metric |
Value |
Date Gathered |
| GitHub Stars |
~58,200 |
2026-02-23 |
| GitHub Forks |
~5,800 |
2026-02-23 |
| Contributors |
400+ |
2026-02-23 |
| Latest Release |
v3.66.0 |
2026-02-21 |
| VS Code Installs |
Millions |
2026-02-23 |
| Open Issues |
Active |
2026-02-23 |
| License |
Apache-2.0 |
— |
| Release Cadence |
Multiple/week |
2026-02-23 |
Key Features
Autonomous Agent with Human-in-the-Loop
- Handles multi-step development tasks end-to-end (create, edit, test, fix, deploy)
- Every file change, terminal command, and browser action requires explicit user approval
- Visual diff view for reviewing all file modifications before accepting
- Checkpoint system (Git-like) for rolling back any step in a task
Codebase Intelligence
- Reads and analyzes file structures, source code ASTs, and configuration files
- Regex search across the entire project to locate relevant code
- Proactively monitors linter and compiler errors, fixes issues without prompting
- Context-window management to handle large codebases without overflow
Multi-Model Support
- Supports OpenRouter, Anthropic, OpenAI, Google Gemini, AWS Bedrock, Azure, GCP Vertex, Cerebras, and Groq
- Connects to local models via LM Studio or Ollama
- OpenRouter integration fetches latest available models in real time
- Per-task and per-request token and cost tracking
Terminal and Command Execution
- Executes commands directly in the VS Code integrated terminal (VSCode v1.93+ shell integration)
- "Proceed While Running" for long-lived processes (dev servers, builds)
- Monitors background terminal output to react to new errors
- Supports installing packages, running test suites, deploying applications
Browser Automation
- Headless browser integration using Claude Computer Use capability
- Click, type, scroll, screenshot, and capture console logs
- Full-stack interactive debugging — launches dev servers and performs E2E tests
- Screenshot-to-code support (attach mockup images, get functional implementations)
Extensibility
- MCP Servers: Extend Cline with any Model Context Protocol tool — create custom tools and data sources
- Skills: Reusable prompt libraries that improve Cline's domain knowledge
- Hooks: Event-based automation (pre/post-task scripts)
- Workflows: Structured multi-step procedures stored in the workspace
- Subagents: Spawn parallel Cline instances for concurrent tasks
.clinerules: Per-project rule files controlling Cline's behavior
.clineignore: Exclude files and directories from Cline's context
Cline CLI
- Command-line interface for headless/CI/CD automation
- Interactive mode for terminal-first developers
- CI/CD integration for automated development pipelines
Enterprise Features
- Single Sign-On (SSO) and role-based access control (RBAC)
- Centralized API key management and remote configuration
- Usage analytics and observability: OpenTelemetry export, Datadog/Grafana/Splunk integration
- Audit logging: Selective audit trails for file changes and admin events
- No markup on AI costs: Teams pay providers at their negotiated rates
- Compliance-ready: Code stays on-premises; no remote indexing or vendor-side training
Technical Architecture
┌─────────────────────────────────────────────────────────────────┐
│ Cline Agent │
└─────────────────────────────────────────────────────────────────┘
│
┌────────────────────┼────────────────────┐
▼ ▼ ▼
┌─────────────────┐ ┌─────────────────┐ ┌─────────────────┐
│ VS Code Ext │ │ Cline CLI │ │ Enterprise │
│ │ │ │ │ Dashboard │
│ - Sidebar GUI │ │ - Headless mode │ │ - SSO / RBAC │
│ - Diff viewer │ │ - Interactive │ │ - Usage analytics│
│ - Approval UI │ │ - CI/CD hooks │ │ - Audit logs │
└─────────────────┘ └─────────────────┘ └─────────────────┘
│ │
└──────────┬─────────┘
▼
┌─────────────────────────────────────────────────────────────────┐
│ Cline Core Engine │
│ │
│ Task Planner → Tool Executor → Approval Gate → Result Monitor │
│ │
│ Tools: FileSystem | Terminal | Browser | MCP | Subagents │
└─────────────────────────────────────────────────────────────────┘
│
┌──────────┼──────────┐
▼ ▼ ▼
┌──────────────┐ ┌─────────┐ ┌──────────────────────────────────┐
│ LLM Provider│ │ MCP │ │ Workspace │
│ │ │ Servers │ │ │
│ - Anthropic │ │ │ │ .clinerules / .clineignore │
│ - OpenAI │ │ Custom │ │ skills/ / hooks/ / workflows/ │
│ - Gemini │ │ tools & │ │ checkpoints (Git-like snapshots) │
│ - Bedrock │ │ data │ │ │
│ - Local LLMs │ │ sources │ │ │
└──────────────┘ └─────────┘ └──────────────────────────────────┘
Key architectural decisions:
- Plan & Act modes: Separate "planning" (reasoning) phase from "execution" phase — prevents wasted API calls on implementation before strategy is solid
- Context compression: Manages long-running tasks without exceeding context window limits
- Checkpoint system: Snapshots workspace state at each step for granular rollback
- Zero data egress: All API calls go directly from the developer's machine to LLM providers
Installation & Usage
VS Code Extension
# Install from VS Code Marketplace
# Search for "Cline" or "saoudrizwan.claude-dev"
# Or install via command line:
code --install-extension saoudrizwan.claude-dev
Cline CLI
# Install globally via npm
npm install -g @cline/cli
# Run in interactive mode
cline
# Run a specific task headlessly
cline --task "Add unit tests to src/utils.ts" --model claude-3-7-sonnet
Configuration Example (.clinerules)
# .clinerules
- Always write tests for new functions
- Use TypeScript strict mode
- Follow project ESLint rules before committing
- Ask before modifying package.json dependencies
Modes of Operation
Plan Mode
Cline reasons about the task, proposes a strategy, and discusses options before taking any action. Ideal for complex or ambiguous tasks where strategy matters.
Act Mode
Cline executes immediately, step-by-step, with approvals at each action. Best for well-defined, scoped tasks.
Auto-Approve
For trusted, low-risk operations, users can configure auto-approval rules to reduce friction on repetitive tasks.
Relevance to Claude Code Development
Applications
- Direct Competitor Analysis: Cline is explicitly positioned as an open-source alternative to Claude Code; understanding its feature set, UX patterns, and community feedback informs Claude Code product development
- MCP Ecosystem Reference: Cline's MCP marketplace implementation is a mature example of extensibility patterns to study
- Plugin Architecture Patterns: Skills, hooks, workflows, and
.clinerules concepts map closely to this repository's plugin and skill model
- CLI Design Reference: Cline CLI's headless/CI/CD patterns are relevant to automating Claude Code workflows
- Enterprise Feature Blueprint: Cline's enterprise governance features (SSO, RBAC, audit logs, cost tracking) represent what production-grade agent deployments require
Patterns Worth Adopting
- Plan & Act separation: Two-mode operation prevents wasted LLM calls — plan first, execute second
- Checkpoint/rollback system: Per-step workspace snapshots enable fine-grained recovery from mistakes
.clinerules per-project config: Lightweight, file-based behavioral rules that travel with the repo
- Explicit approval gates: Visual diff views + per-action approval dialogs as the UX model for safe automation
- Cost transparency: Per-request token/cost tracking surfaced in the UI — builds trust and prevents runaway costs
- Context window management: AST-based project analysis with selective context inclusion rather than dumping all files
Integration Opportunities
- Shared MCP Tool Ecosystem: Cline and Claude Code both support MCP — skills developed for one may transfer to the other
- Parallel Testing: Run the same tasks against Cline and Claude Code to benchmark feature parity and identify gaps
.clinerules ↔ Claude Code skills: The .clinerules pattern could inform how Claude Code skills encode project-specific behavioral constraints
- Cline CLI for CI/CD: Cline CLI can automate development tasks in GitHub Actions pipelines, complementing Claude Code's agent execution capabilities
Competitive Analysis
| Feature |
Cline |
Claude Code |
| Open Source |
Yes (Apache-2.0) |
No |
| IDE Integration |
VS Code extension |
Terminal CLI |
| Model Support |
Any (multi-provider) |
Claude only |
| Human-in-the-Loop |
Yes (required) |
Yes (configurable) |
| MCP Support |
Yes (native) |
Yes (native) |
| CLI / Headless Mode |
Yes |
Yes |
| Enterprise Governance |
Yes (SSO, RBAC, audit) |
Limited |
| Browser Automation |
Yes |
Limited |
| Custom Skills/Hooks |
Yes |
Yes (this repo) |
| Pricing Model |
Free + $20/user/mo teams |
Subscription |
| Data Residency |
On-premise (your keys) |
Anthropic-managed |
| Benchmark Performance |
Not published |
Not published |
References
Freshness Tracking
| Field |
Value |
| Last Verified |
2026-02-23 |
| Version at Verification |
v3.66.0 |
| GitHub Stars at Verification |
~58,200 |
| Next Review Recommended |
2026-05-23 (3 months) |
Change Detection Indicators:
- Monitor GitHub releases for new versions (currently multiple releases per week)
- Track feature announcements on the Cline blog
- Check pricing changes (Teams tier was free through Q1 2026, then $20/user/month)
- Watch for MCP marketplace expansions
- Monitor star growth trajectory (highly active community)
1---2name: 1825-cline-883e86e13description: Cline - Open-Source Autonomous Coding Agent4---5# Cline - Open-Source Autonomous Coding Agent67**Research Date**: 2026-02-238**Source URL**: <https://cline.bot>9**GitHub Repository**: <https://github.com/cline/cline>10**Documentation**: <https://docs.cline.bot>11**VS Code Marketplace**: <https://marketplace.visualstudio.com/items?itemName=saoudrizwan.claude-dev>12**Version at Research**: v3.66.013**License**: Apache-2.01415---1617## Overview1819Cline is an open-source autonomous coding agent that integrates directly into VS Code and the terminal (CLI + Editor). It handles complex, multi-step software development tasks — creating and editing files, executing terminal commands, automating browser interactions, and extending its own capabilities via MCP servers — while requiring explicit human approval for every action. Cline supports any AI provider (Anthropic, OpenAI, Google, AWS Bedrock, local models) and is positioned as the open, privacy-first alternative to proprietary agents like GitHub Copilot.2021**Core Value Proposition**: A fully transparent, human-in-the-loop coding agent that works with any LLM, keeps code on your infrastructure, and can be extended via open standards (MCP, skills, hooks).2223---2425## Problem Addressed2627| Problem | Solution |28| ----------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- |29| Proprietary coding assistants lock teams into specific LLM vendors | Model-agnostic architecture supports Anthropic, OpenAI, Google, AWS Bedrock, Azure, Groq, Cerebras, and local models via Ollama/LM Studio |30| AI agents making unsanctioned changes to production code | Human-in-the-loop GUI requires explicit approval for every file change, terminal command, and browser action |31| Enterprise compliance and data residency requirements | All inference routed through your own API keys; code never sent to Cline's servers |32| Agentic tools that can't understand large, complex codebases | AST parsing, regex search, and file structure analysis for project-wide understanding without overflowing context |33| High AI inference costs with opaque billing | Per-request token and cost tracking; no markup on API usage — you pay providers directly |34| One-size-fits-all AI tools that can't be customized | Extensible via `.clinerules`, skills, hooks, workflows, subagents, and MCP servers |3536---3738## Key Statistics (as of 2026-02-23)3940| Metric | Value | Date Gathered |41| --------------------- | ----------- | -------------- |42| GitHub Stars | ~58,200 | 2026-02-23 |43| GitHub Forks | ~5,800 | 2026-02-23 |44| Contributors | 400+ | 2026-02-23 |45| Latest Release | v3.66.0 | 2026-02-21 |46| VS Code Installs | Millions | 2026-02-23 |47| Open Issues | Active | 2026-02-23 |48| License | Apache-2.0 | — |49| Release Cadence | Multiple/week | 2026-02-23 |5051---5253## Key Features5455### Autonomous Agent with Human-in-the-Loop5657- Handles multi-step development tasks end-to-end (create, edit, test, fix, deploy)58- Every file change, terminal command, and browser action requires explicit user approval59- Visual diff view for reviewing all file modifications before accepting60- Checkpoint system (Git-like) for rolling back any step in a task6162### Codebase Intelligence6364- Reads and analyzes file structures, source code ASTs, and configuration files65- Regex search across the entire project to locate relevant code66- Proactively monitors linter and compiler errors, fixes issues without prompting67- Context-window management to handle large codebases without overflow6869### Multi-Model Support7071- Supports OpenRouter, Anthropic, OpenAI, Google Gemini, AWS Bedrock, Azure, GCP Vertex, Cerebras, and Groq72- Connects to local models via LM Studio or Ollama73- OpenRouter integration fetches latest available models in real time74- Per-task and per-request token and cost tracking7576### Terminal and Command Execution7778- Executes commands directly in the VS Code integrated terminal (VSCode v1.93+ shell integration)79- "Proceed While Running" for long-lived processes (dev servers, builds)80- Monitors background terminal output to react to new errors81- Supports installing packages, running test suites, deploying applications8283### Browser Automation8485- Headless browser integration using Claude Computer Use capability86- Click, type, scroll, screenshot, and capture console logs87- Full-stack interactive debugging — launches dev servers and performs E2E tests88- Screenshot-to-code support (attach mockup images, get functional implementations)8990### Extensibility9192- **MCP Servers**: Extend Cline with any Model Context Protocol tool — create custom tools and data sources93- **Skills**: Reusable prompt libraries that improve Cline's domain knowledge94- **Hooks**: Event-based automation (pre/post-task scripts)95- **Workflows**: Structured multi-step procedures stored in the workspace96- **Subagents**: Spawn parallel Cline instances for concurrent tasks97- **`.clinerules`**: Per-project rule files controlling Cline's behavior98- **`.clineignore`**: Exclude files and directories from Cline's context99100### Cline CLI101102- Command-line interface for headless/CI/CD automation103- Interactive mode for terminal-first developers104- CI/CD integration for automated development pipelines105106### Enterprise Features107108- **Single Sign-On (SSO)** and role-based access control (RBAC)109- **Centralized API key management** and remote configuration110- **Usage analytics and observability**: OpenTelemetry export, Datadog/Grafana/Splunk integration111- **Audit logging**: Selective audit trails for file changes and admin events112- **No markup on AI costs**: Teams pay providers at their negotiated rates113- **Compliance-ready**: Code stays on-premises; no remote indexing or vendor-side training114115---116117## Technical Architecture118119```text120┌─────────────────────────────────────────────────────────────────┐121│ Cline Agent │122└─────────────────────────────────────────────────────────────────┘123 │124 ┌────────────────────┼────────────────────┐125 ▼ ▼ ▼126┌─────────────────┐ ┌─────────────────┐ ┌─────────────────┐127│ VS Code Ext │ │ Cline CLI │ │ Enterprise │128│ │ │ │ │ Dashboard │129│ - Sidebar GUI │ │ - Headless mode │ │ - SSO / RBAC │130│ - Diff viewer │ │ - Interactive │ │ - Usage analytics│131│ - Approval UI │ │ - CI/CD hooks │ │ - Audit logs │132└─────────────────┘ └─────────────────┘ └─────────────────┘133 │ │134 └──────────┬─────────┘135 ▼136┌─────────────────────────────────────────────────────────────────┐137│ Cline Core Engine │138│ │139│ Task Planner → Tool Executor → Approval Gate → Result Monitor │140│ │141│ Tools: FileSystem | Terminal | Browser | MCP | Subagents │142└─────────────────────────────────────────────────────────────────┘143 │144 ┌──────────┼──────────┐145 ▼ ▼ ▼146┌──────────────┐ ┌─────────┐ ┌──────────────────────────────────┐147│ LLM Provider│ │ MCP │ │ Workspace │148│ │ │ Servers │ │ │149│ - Anthropic │ │ │ │ .clinerules / .clineignore │150│ - OpenAI │ │ Custom │ │ skills/ / hooks/ / workflows/ │151│ - Gemini │ │ tools & │ │ checkpoints (Git-like snapshots) │152│ - Bedrock │ │ data │ │ │153│ - Local LLMs │ │ sources │ │ │154└──────────────┘ └─────────┘ └──────────────────────────────────┘155```156157**Key architectural decisions**:158159- **Plan & Act modes**: Separate "planning" (reasoning) phase from "execution" phase — prevents wasted API calls on implementation before strategy is solid160- **Context compression**: Manages long-running tasks without exceeding context window limits161- **Checkpoint system**: Snapshots workspace state at each step for granular rollback162- **Zero data egress**: All API calls go directly from the developer's machine to LLM providers163164---165166## Installation & Usage167168### VS Code Extension169170```bash171# Install from VS Code Marketplace172# Search for "Cline" or "saoudrizwan.claude-dev"173# Or install via command line:174code --install-extension saoudrizwan.claude-dev175```176177### Cline CLI178179```bash180# Install globally via npm181npm install -g @cline/cli182183# Run in interactive mode184cline185186# Run a specific task headlessly187cline --task "Add unit tests to src/utils.ts" --model claude-3-7-sonnet188```189190### Configuration Example (.clinerules)191192```text193# .clinerules194- Always write tests for new functions195- Use TypeScript strict mode196- Follow project ESLint rules before committing197- Ask before modifying package.json dependencies198```199200---201202## Modes of Operation203204### Plan Mode205206Cline reasons about the task, proposes a strategy, and discusses options before taking any action. Ideal for complex or ambiguous tasks where strategy matters.207208### Act Mode209210Cline executes immediately, step-by-step, with approvals at each action. Best for well-defined, scoped tasks.211212### Auto-Approve213214For trusted, low-risk operations, users can configure auto-approval rules to reduce friction on repetitive tasks.215216---217218## Relevance to Claude Code Development219220### Applications221222- **Direct Competitor Analysis**: Cline is explicitly positioned as an open-source alternative to Claude Code; understanding its feature set, UX patterns, and community feedback informs Claude Code product development223- **MCP Ecosystem Reference**: Cline's MCP marketplace implementation is a mature example of extensibility patterns to study224- **Plugin Architecture Patterns**: Skills, hooks, workflows, and `.clinerules` concepts map closely to this repository's plugin and skill model225- **CLI Design Reference**: Cline CLI's headless/CI/CD patterns are relevant to automating Claude Code workflows226- **Enterprise Feature Blueprint**: Cline's enterprise governance features (SSO, RBAC, audit logs, cost tracking) represent what production-grade agent deployments require227228### Patterns Worth Adopting229230- **Plan & Act separation**: Two-mode operation prevents wasted LLM calls — plan first, execute second231- **Checkpoint/rollback system**: Per-step workspace snapshots enable fine-grained recovery from mistakes232- **`.clinerules` per-project config**: Lightweight, file-based behavioral rules that travel with the repo233- **Explicit approval gates**: Visual diff views + per-action approval dialogs as the UX model for safe automation234- **Cost transparency**: Per-request token/cost tracking surfaced in the UI — builds trust and prevents runaway costs235- **Context window management**: AST-based project analysis with selective context inclusion rather than dumping all files236237### Integration Opportunities238239- **Shared MCP Tool Ecosystem**: Cline and Claude Code both support MCP — skills developed for one may transfer to the other240- **Parallel Testing**: Run the same tasks against Cline and Claude Code to benchmark feature parity and identify gaps241- **`.clinerules` ↔ Claude Code skills**: The `.clinerules` pattern could inform how Claude Code skills encode project-specific behavioral constraints242- **Cline CLI for CI/CD**: Cline CLI can automate development tasks in GitHub Actions pipelines, complementing Claude Code's agent execution capabilities243244### Competitive Analysis245246| Feature | Cline | Claude Code |247| ----------------------------- | ---------------------- | ------------------- |248| Open Source | Yes (Apache-2.0) | No |249| IDE Integration | VS Code extension | Terminal CLI |250| Model Support | Any (multi-provider) | Claude only |251| Human-in-the-Loop | Yes (required) | Yes (configurable) |252| MCP Support | Yes (native) | Yes (native) |253| CLI / Headless Mode | Yes | Yes |254| Enterprise Governance | Yes (SSO, RBAC, audit) | Limited |255| Browser Automation | Yes | Limited |256| Custom Skills/Hooks | Yes | Yes (this repo) |257| Pricing Model | Free + $20/user/mo teams | Subscription |258| Data Residency | On-premise (your keys) | Anthropic-managed |259| Benchmark Performance | Not published | Not published |260261---262263## References264265- [Cline Official Website](https://cline.bot) (accessed 2026-02-23)266- [GitHub Repository: cline/cline](https://github.com/cline/cline) (accessed 2026-02-23)267- [Cline Documentation](https://docs.cline.bot/home) (accessed 2026-02-23)268- [VS Code Marketplace: Cline](https://marketplace.visualstudio.com/items?itemName=saoudrizwan.claude-dev) (accessed 2026-02-23)269- [Cline Enterprise Documentation](https://docs.cline.bot/enterprise-solutions/overview) (accessed 2026-02-23)270- [Cline CLI Documentation](https://docs.cline.bot/cline-cli/overview) (accessed 2026-02-23)271- [GitHub Releases: cline/cline](https://github.com/cline/cline/releases) (accessed 2026-02-23)272273---274275## Freshness Tracking276277| Field | Value |278| ------------------------------- | --------------------- |279| Last Verified | 2026-02-23 |280| Version at Verification | v3.66.0 |281| GitHub Stars at Verification | ~58,200 |282| Next Review Recommended | 2026-05-23 (3 months) |283284**Change Detection Indicators**:285286- Monitor GitHub releases for new versions (currently multiple releases per week)287- Track feature announcements on the [Cline blog](https://cline.bot/blog)288- Check pricing changes (Teams tier was free through Q1 2026, then $20/user/month)289- Watch for MCP marketplace expansions290- Monitor star growth trajectory (highly active community)