Autonomous coding agent right in your IDE, capable of creating/editing files, executing commands, using the browser, and more with your permission every step of the way.

Tomás Barreiro 8a65f0c68b feat: Add Opus 4.1 to claude-code (#5382) 5 bulan lalu
.changeset 8a65f0c68b feat: Add Opus 4.1 to claude-code (#5382) 5 bulan lalu
.clinerules 22788f0f12 Move the OutputChannel to the HostProvider (#5189) 5 bulan lalu
.github 1a570e98ba Update the GitHub test action to produce more readable output (#5333) 5 bulan lalu
.husky 0fade12e8e Format files before commit (#4155) 7 bulan lalu
.vscode 31cbf489c4 Fix launch configuration for the cline-core (#5170) 5 bulan lalu
assets bbee587cfe New icon 1 tahun lalu
docs b4b7512d9f Improve Cline accounts support telemetry (#5242) 5 bulan lalu
eslint-rules 6d5c3e6aa4 Switch remaining uses of vscode.window.show*Message to the HostBridge (#5324) 5 bulan lalu
evals 6255ac0a51 added provider flag to diff edit cli (#5334) 5 bulan lalu
locales 14a0c60550 Fix the Syntax in zh-tw/README.md to Improve Text Rendering (#3724) 7 bulan lalu
old_docs f6d50ead3f Setup docs (#3230) 8 bulan lalu
proto e3c966f4e9 Baseten provider (#5238) 5 bulan lalu
scripts df3826a59f In the webview grpc client, JSON encode/decode the messages when not running in Vscode (#5362) 5 bulan lalu
src 8a65f0c68b feat: Add Opus 4.1 to claude-code (#5382) 5 bulan lalu
standalone 22788f0f12 Move the OutputChannel to the HostProvider (#5189) 5 bulan lalu
walkthrough 47899ac52d Adding Cline Walkthrough (#3746) 7 bulan lalu
webview-ui 32b8fa44cb refactor: Integrate Posthog into Feature Flags & Telemetry & Error Services (#5275) 5 bulan lalu
.changie.yaml b2dd04cff3 chore: add changie 11 bulan lalu
.codespellrc 45b1666325 Add codespell support (config, workflow to detect/not fix) and make it fix some typos (#2939) 9 bulan lalu
.eslintrc.json 1ecb24544f fix: Generate type-safe code for the Vscode Protobus service (#5077) 5 bulan lalu
.gitattributes 1700c0e4f8 Run tests against Windows and Ubuntu (#3246) 7 bulan lalu
.gitignore d2521a8abb Remove compiled files that were committed by mistake (#5082) 5 bulan lalu
.mocharc.json fccac277d2 feat(lint): Add custom ESLint rule for checking that protobuf messages are created using .create() in more contexts (#3929) 7 bulan lalu
.nvmrc fafdfe30a4 Add .nvmrc, .prettierignore, icon; Remove vsc quickstart guide 1 tahun lalu
.prettierignore be2d416359 Updating Mintlify version (#5030) 5 bulan lalu
.prettierrc.json 1700c0e4f8 Run tests against Windows and Ubuntu (#3246) 7 bulan lalu
.vscode-test.mjs b6f6358d4a Set up E2E tests with Playwright (#4721) 6 bulan lalu
.vscodeignore b6f6358d4a Set up E2E tests with Playwright (#4721) 6 bulan lalu
CHANGELOG.md 4de991f1b0 v3.20.10 Release Notes (#5374) 5 bulan lalu
CODE_OF_CONDUCT.md 860d315d7d Fix formatting 1 tahun lalu
CONTRIBUTING.md 85fbbcbe3f Revise contributing guidelines and fix PR template link to feature requests board (#5195) 5 bulan lalu
LICENSE 6508549584 Update copyright year (#1637) 11 bulan lalu
README.md 5dddbef65c Adding Groq provider (#4943) 6 bulan lalu
buf.yaml a1bf1f95a3 refactor(proto): Align proto directory structure with package names to follow best practices (#5171) 5 bulan lalu
esbuild.mjs 6cbfb2b8b0 Remove duplication define property in esbuild.json (#5234) 5 bulan lalu
package-lock.json 4de991f1b0 v3.20.10 Release Notes (#5374) 5 bulan lalu
package.json 4de991f1b0 v3.20.10 Release Notes (#5374) 5 bulan lalu
playwright.config.ts a05d438612 refactor: setup e2e tests to use shared mock server (#5245) 5 bulan lalu
test-setup.js e4eaf34827 test: Fix and re-enable unit tests (#5298) 5 bulan lalu
tsconfig.json be2d416359 Updating Mintlify version (#5030) 5 bulan lalu
tsconfig.test.json b6f6358d4a Set up E2E tests with Playwright (#4721) 6 bulan lalu
tsconfig.unit-test.json 99bbe17df9 What's yer path? (#3047) 8 bulan lalu

README.md

Cline – #1 on OpenRouter

Meet Cline (pronounced /klaɪn/, like "Klein"), an AI assistant that can use your CLI aNd Editor.

Thanks to Claude 3.7 Sonnet's agentic coding capabilities, Cline can handle complex software development tasks step-by-step. With tools that let him create & edit files, explore large projects, use the browser, and execute terminal commands (after you grant permission), he can assist you in ways that go beyond code completion or tech support. Cline can even use the Model Context Protocol (MCP) to create new tools and extend his own capabilities. While autonomous AI scripts traditionally run in sandboxed environments, this extension provides a human-in-the-loop GUI to approve every file change and terminal command, providing a safe and accessible way to explore the potential of agentic AI.

  1. Enter your task and add images to convert mockups into functional apps or fix bugs with screenshots.
  2. Cline starts by analyzing your file structure & source code ASTs, running regex searches, and reading relevant files to get up to speed in existing projects. By carefully managing what information is added to context, Cline can provide valuable assistance even for large, complex projects without overwhelming the context window.
  3. Once Cline has the information he needs, he can:
    • Create and edit files + monitor linter/compiler errors along the way, letting him proactively fix issues like missing imports and syntax errors on his own.
    • Execute commands directly in your terminal and monitor their output as he works, letting him e.g., react to dev server issues after editing a file.
    • For web development tasks, Cline can launch the site in a headless browser, click, type, scroll, and capture screenshots + console logs, allowing him to fix runtime errors and visual bugs.
  4. When a task is completed, Cline will present the result to you with a terminal command like open -a "Google Chrome" index.html, which you run with a click of a button.

[!TIP] Use the CMD/CTRL + Shift + P shortcut to open the command palette and type "Cline: Open In New Tab" to open the extension as a tab in your editor. This lets you use Cline side-by-side with your file explorer, and see how he changes your workspace more clearly.


Use any API and Model

Cline supports API providers like OpenRouter, Anthropic, OpenAI, Google Gemini, AWS Bedrock, Azure, GCP Vertex, Cerebras and Groq. You can also configure any OpenAI compatible API, or use a local model through LM Studio/Ollama. If you're using OpenRouter, the extension fetches their latest model list, allowing you to use the newest models as soon as they're available.

The extension also keeps track of total tokens and API usage cost for the entire task loop and individual requests, keeping you informed of spend every step of the way.


Run Commands in Terminal

Thanks to the new shell integration updates in VSCode v1.93, Cline can execute commands directly in your terminal and receive the output. This allows him to perform a wide range of tasks, from installing packages and running build scripts to deploying applications, managing databases, and executing tests, all while adapting to your dev environment & toolchain to get the job done right.

For long running processes like dev servers, use the "Proceed While Running" button to let Cline continue in the task while the command runs in the background. As Cline works he’ll be notified of any new terminal output along the way, letting him react to issues that may come up, such as compile-time errors when editing files.


Create and Edit Files

Cline can create and edit files directly in your editor, presenting you a diff view of the changes. You can edit or revert Cline's changes directly in the diff view editor, or provide feedback in chat until you're satisfied with the result. Cline also monitors linter/compiler errors (missing imports, syntax errors, etc.) so he can fix issues that come up along the way on his own.

All changes made by Cline are recorded in your file's Timeline, providing an easy way to track and revert modifications if needed.


Use the Browser

With Claude 3.5 Sonnet's new Computer Use capability, Cline can launch a browser, click elements, type text, and scroll, capturing screenshots and console logs at each step. This allows for interactive debugging, end-to-end testing, and even general web use! This gives him autonomy to fixing visual bugs and runtime issues without you needing to handhold and copy-pasting error logs yourself.

Try asking Cline to "test the app", and watch as he runs a command like npm run dev, launches your locally running dev server in a browser, and performs a series of tests to confirm that everything works. See a demo here.


"add a tool that..."

Thanks to the Model Context Protocol, Cline can extend his capabilities through custom tools. While you can use community-made servers, Cline can instead create and install tools tailored to your specific workflow. Just ask Cline to "add a tool" and he will handle everything, from creating a new MCP server to installing it into the extension. These custom tools then become part of Cline's toolkit, ready to use in future tasks.

  • "add a tool that fetches Jira tickets": Retrieve ticket ACs and put Cline to work
  • "add a tool that manages AWS EC2s": Check server metrics and scale instances up or down
  • "add a tool that pulls the latest PagerDuty incidents": Fetch details and ask Cline to fix bugs


Add Context

@url: Paste in a URL for the extension to fetch and convert to markdown, useful when you want to give Cline the latest docs

@problems: Add workspace errors and warnings ('Problems' panel) for Cline to fix

@file: Adds a file's contents so you don't have to waste API requests approving read file (+ type to search files)

@folder: Adds folder's files all at once to speed up your workflow even more


Checkpoints: Compare and Restore

As Cline works through a task, the extension takes a snapshot of your workspace at each step. You can use the 'Compare' button to see a diff between the snapshot and your current workspace, and the 'Restore' button to roll back to that point.

For example, when working with a local web server, you can use 'Restore Workspace Only' to quickly test different versions of your app, then use 'Restore Task and Workspace' when you find the version you want to continue building from. This lets you safely explore different approaches without losing progress.


Contributing

To contribute to the project, start with our Contributing Guide to learn the basics. You can also join our Discord to chat with other contributors in the #contributors channel. If you're looking for full-time work, check out our open positions on our careers page!

License

Apache 2.0 © 2025 Cline Bot Inc.