Skip to content
O/THE OPEN ALTERNATIVE
↑↓to navigate↵to selectescto close
Cline

Cline

An open-source AI coding agent with Plan/Act modes, MCP integration, and terminal-first workflows. Used by 8M+ developers and trusted by enterprises like Samsung and Microsoft.

Cline preview

Cline is an open-source AI coding agent designed to help developers understand, refactor, and automate codebases directly within their IDE, terminal, or SDK. It supports Plan and Act modes for strategic execution, integrates with MCP for tool access, and works with any model—Claude, GPT, Gemini, or local models like Ollama.

Key Features

  • Cross-Platform Edits: Coordinated multi-file changes with linter-aware fixes, diffs, and one-click undo.
  • Terminal Execution: Runs bash commands and reacts to output in real-time, handling long-running processes like dev servers and tests.
  • Plan & Act Modes: Toggle Plan mode to align on strategy, then Act to execute with approval or autopilot.
  • Custom Rules & Skills: Define .clinerules to teach the agent your coding standards, architecture, and deployment conventions.
  • Model Flexibility: Use any model—Claude, GPT, Gemini, local Ollama/LM Studio, or OpenAI-compatible endpoints. Bring your own keys or weights.
  • MCP Integration: Extend functionality with the Model Context Protocol (MCP) for tool access and custom workflows.
  • IDE & CLI Support: Works in VS Code, JetBrains, Cursor, Windsurf, and via CLI for scripts, cron jobs, and CI pipelines.
  • Enterprise Ready: Trusted by global enterprises like Samsung, Salesforce, Oracle, Amazon, and Microsoft.

Tech / Self-Hosting

Cline is open-source (Apache 2.0) and can be self-hosted. It supports local model integration (e.g., Ollama, LM Studio) and is compatible with any OpenAI-compatible endpoint. The CLI and SDK allow embedding Cline in custom workflows or products.