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.
Go to file
francis e5857cbfec
Docs: Update docs.json and formatting (#3991)
* docs: add xAI Grok and Mistral AI provider configs

* docs: add Anthropic Claude model configuration guide

- Add comprehensive documentation for configuring Anthropic Claude models with Cline
- Include API key setup, supported models list, and configuration steps
- Cover advanced features like prompt caching and rate limits
- Update navigation to include new Anthropic page in custom model configs section

* docs: add DeepSeek, Ollama, OpenAI, OpenAI Compatible pages and update Plan & Act

* docs: add Extended Thinking section to Anthropic configuration guide

* docs: update vscode language model api page

* docs: update vscode language model api docs

* Add model documentation pages and update navigation structure

- Add new documentation pages for model overviews (Claude, Gemini, OpenAI, XAI)
- Add general models overview page
- Update docs.json to include new model documentation in navigation
- Update OpenAI-compatible model documentation

* Remove Notes column from model documentation tables for consistency

* Fix table formatting in Gemini models documentation

* added 5 new model configurations and updated existing ones

* Update AWS Bedrock documentation with minimal IAM permissions

* modified:   docs/get-to-know-the-models/claude-models.mdx

* Renamed 'custom model configuration' to 'provider configuation' to avoid providers being confused with models

* Fix dollar sign rendering in model documentation

- Escape dollar signs in pricing tables to prevent MDX parsing issues
- Fixes disappearing dollar signs in gemini-models.mdx and other model docs
- Dollar signs now display correctly as literal currency symbols

* Add feature descriptions to OpenAI and XAI model docs

- Added 'Diverse Performance for Different Tasks Across Model Tiers' section to OpenAI models
- Added 'Real-time Information Access' section to XAI models
- Maintains consistency with existing Claude and Gemini documentation format
- Highlights valuable features for agentic AI coding workflows

* removing these files due to name change in header. they're in the new docs/provider configs folder

* added 2 new issues per model page + formatting

* Update model documentation files

* Fix: Correct paths in docs.json for provider configs

* docs: update docs.json and apply formatting

* docs: fix broken links, add OpenRouter & Requesty pages

* docs: remove 'get to know the models' section and files

* Update docs/provider-config/openai-compatible.mdx

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

---------

Co-authored-by: kevinneung <94151024+kevinneung@users.noreply.github.com>
Co-authored-by: Dennise Bartlett <bartlett.dc.1@gmail.com>
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
2025-06-02 20:50:49 -07:00
.changeset v3.17.9 Release Notes 2025-06-02 19:45:45 -07:00
.clinerules Added Cerebras as a Provider (#3810) 2025-05-26 20:06:15 -07:00
.github Add stale workflow (#3672) 2025-06-02 19:02:11 -07:00
.husky Create pre-commit hooks with husky to enforce linting and formating for all commits (#1374) 2025-01-21 21:48:43 -08:00
.vscode Add Extension Recommendation (#3530) 2025-05-15 20:53:14 -07:00
assets New icon 2025-01-17 09:53:29 -08:00
docs Docs: Update docs.json and formatting (#3991) 2025-06-02 20:50:49 -07:00
eslint-rules feat(lint): Add custom ESLint rules for protobuf type checking for protobus ServiceClients (#3946) 2025-05-30 20:19:04 -07:00
evals evals formatting (#3105) 2025-04-24 15:26:12 -07:00
locales Fix the Syntax in zh-tw/README.md to Improve Text Rendering (#3724) 2025-05-22 15:53:15 -07:00
old_docs Setup docs (#3230) 2025-05-01 16:04:07 -07:00
proto migrate historyButtonClicked to protobus (#3977) 2025-06-02 15:23:19 -07:00
scripts Add vscode CSS properties to the script get-vscode-usages.sh (#3752) 2025-05-22 16:18:08 -07:00
src Cozy Claude 4 (#3995) 2025-06-02 19:28:35 -07:00
standalone/runtime-files Don't use symlinks in the standalone distribution zip. (#3582) 2025-05-17 14:52:19 -07:00
webview-ui Cozy Claude 4 (#3995) 2025-06-02 19:28:35 -07:00
.changie.yaml chore: add changie 2025-01-29 00:31:34 -08:00
.codespellrc Add codespell support (config, workflow to detect/not fix) and make it fix some typos (#2939) 2025-04-16 19:53:16 -07:00
.eslintrc.json feat(lint): Add custom ESLint rules for protobuf type checking for protobus ServiceClients (#3946) 2025-05-30 20:19:04 -07:00
.gitattributes Run tests against Windows and Ubuntu (#3246) 2025-05-19 13:32:35 -07:00
.gitignore Put protos back in gitignore (#3739) 2025-05-23 00:33:21 +05:30
.mocharc.json fix unit test set-up and CI workflow (#3154) 2025-04-28 16:30:40 -07:00
.nvmrc Add .nvmrc, .prettierignore, icon; Remove vsc quickstart guide 2024-07-20 14:43:38 -04:00
.prettierignore Pashpashpash/bash tool (#3894) 2025-05-29 20:09:07 -07:00
.prettierrc.json Run tests against Windows and Ubuntu (#3246) 2025-05-19 13:32:35 -07:00
.vscode-test.mjs Alias paths on integration tests (#3196) 2025-04-30 17:49:40 -07:00
.vscodeignore feat: LaTeX formatting (#3242) 2025-05-02 19:46:59 +05:30
CHANGELOG.md v3.17.9 Release Notes 2025-06-02 19:45:45 -07:00
CODE_OF_CONDUCT.md Fix formatting 2024-12-21 20:18:59 -08:00
CONTRIBUTING.md chore: Allow CI testing locally (#1708) 2025-03-24 21:57:46 -07:00
esbuild.js feat: support streameable http transport (#3413) 2025-05-21 10:17:26 -07:00
LICENSE Update copyright year (#1637) 2025-02-04 09:22:45 -08:00
package-lock.json v3.17.9 Release Notes 2025-06-02 19:45:45 -07:00
package.json v3.17.9 Release Notes 2025-06-02 19:45:45 -07:00
README.md Added Cerebras as a Provider (#3810) 2025-05-26 20:06:15 -07:00
test-setup.js Run tests against Windows and Ubuntu (#3246) 2025-05-19 13:32:35 -07:00
tsconfig.json Fail the test workflow on test failures (#3197) 2025-04-30 17:51:03 -07:00
tsconfig.test.json Chore: Add baseline unit tests (#2417) 2025-04-03 20:57:07 -07:00
tsconfig.unit-test.json What's yer path? (#3047) 2025-04-21 16:49:44 -07:00

Cline #1 on OpenRouter

Meet Cline, 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, and Cerebras. 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 hell 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!

Local Development Instructions
  1. Clone the repository (Requires git-lfs):
    git clone https://github.com/cline/cline.git
    
  2. Open the project in VSCode:
    code cline
    
  3. Install the necessary dependencies for the extension and webview-gui:
    npm run install:all
    
  4. Launch by pressing F5 (or Run->Start Debugging) to open a new VSCode window with the extension loaded. (You may need to install the esbuild problem matchers extension if you run into issues building the project.)
Creating a Pull Request
  1. Before creating a PR, generate a changeset entry:

    npm run changeset
    

    This will prompt you for:

    • Type of change (major, minor, patch)
      • major → breaking changes (1.0.0 → 2.0.0)
      • minor → new features (1.0.0 → 1.1.0)
      • patch → bug fixes (1.0.0 → 1.0.1)
    • Description of your changes
  2. Commit your changes and the generated .changeset file

  3. Push your branch and create a PR on GitHub. Our CI will:

    • Run tests and checks
    • Changesetbot will create a comment showing the version impact
    • When merged to main, changesetbot will create a Version Packages PR
    • When the Version Packages PR is merged, a new release will be published

License

Apache 2.0 © 2025 Cline Bot Inc.