Cline is a Visual Studio Code extension positioned as an autonomous coding agent within the IDE. Built on Claude Sonnet's agentic coding capabilities, it can handle complex software development tasks step by step, rather than just code completion or technical support.
Key capabilities include: creating and editing files while monitoring linter/compiler errors along the way, proactively fixing issues such as missing imports and syntax errors; executing commands in the terminal and monitoring output, for example reacting to development server issues after editing files; for web development tasks, launching the site in a headless browser to click, type, scroll, and capture screenshots and console logs in order to fix runtime errors and visual defects. After completing a task, Cline presents the result via a terminal command (such as open -a "Google Chrome" index.html) that the user can run with one click.
Usage: users enter a task and can add images to turn design mockups into a working app or fix bugs via screenshots. Cline first analyzes the file structure and source code AST, runs regex searches, and reads relevant files to understand the existing project; by carefully managing context, it can provide effective help even for large, complex projects. All file changes and terminal commands require user approval through a human-in-the-loop GUI, ensuring safety and control.
Cline supports multiple API providers, including OpenRouter, Anthropic, OpenAI, Google Gemini, AWS Bedrock, Azure, GCP Vertex, Cerebras, and Groq, and can also be configured with any OpenAI-compatible API, or use local models via LM Studio/Ollama. When using OpenRouter, the extension fetches the latest model list. The extension also tracks the total token count and API usage cost for the entire task loop and for individual requests.
Terminal commands run by default in a visible VS Code terminal, streaming output using the shell integration API introduced in VSCode v1.93, so users can watch or interact; this can also be switched in settings to run as a background process. File changes are presented in a diff view, which users can edit directly or revert, and all changes are recorded in the file timeline.
Cline supports extending its capabilities through the Model Context Protocol (MCP); users can ask Cline to "adda tool", and it will create and install a new MCP server into the extension, with these custom tools becoming part of its toolkit. In addition, @url fetches a URL and converts it to markdown, @problems adds workspace errors and warnings, @file adds file contents, and @folder adds a folder's files all at once.
During work, Cline takes snapshots of the workspace; users can use the "Compare" button to view the differences between a snapshot and the current workspace, and the "Restore" button to roll back to that point, with support for restoring only the workspace or restoring both the task and the workspace.
The enterprise edition offers SSO (SAML/OIDC), global policies and configuration, audit trail observability, private networking (VPC/private link), self-hosted or on-premises deployment, and enterprise support. The project is licensed under Apache 2.0.