Scripts2026年3月31日·1 分钟阅读

Cline — Autonomous AI Coding Agent for VS Code

Autonomous coding agent in VS Code. Creates/edits files, runs commands, browses the web, and uses MCP tools — with human approval at every step. 60K+ stars.

TO
TokRepo精选 · Community
快速使用

先拿来用,再决定要不要深挖

这里应该同时让用户和 Agent 知道第一步该复制什么、安装什么、落到哪里。

Install from VS Code Marketplace: search "Cline" and click Install.

Or via command line:

code --install-extension saoudrizwan.claude-dev

Open Cline in VS Code sidebar, add your API key (OpenAI, Anthropic, or others), and start chatting.


介绍

Cline is an autonomous AI coding agent that runs inside VS Code. It can create and edit files, execute terminal commands, browse the web, and use MCP tools — all with your explicit approval at every step. Supports Claude, GPT-4, Gemini, Ollama, and any OpenAI-compatible API. The most popular open-source AI coding extension with 60,000+ GitHub stars.

Best for: Developers who want an autonomous AI agent directly in VS Code with full control Works with: Claude, GPT-4o, Gemini, Ollama, DeepSeek, any OpenAI-compatible API


Key Capabilities

File Operations

Create, read, and edit files with diff-based changes. See exactly what Cline wants to change before approving.

Terminal Commands

Execute shell commands, install packages, run builds, start servers — with your permission each time.

Web Browsing

Browse documentation, search the web, and extract information from URLs.

MCP Integration

Use any MCP server as a tool — databases, APIs, file systems, and custom tools.

Multi-Model Support

  • Anthropic: Claude Sonnet/Opus
  • OpenAI: GPT-4o, o3
  • Google: Gemini
  • Local: Ollama, LM Studio
  • Any: OpenRouter, OpenAI-compatible endpoints

Human-in-the-Loop

Every action requires your approval. You stay in control — approve, reject, or modify each step.


FAQ

Q: What is Cline? A: An autonomous AI coding agent for VS Code that creates/edits files, runs commands, browses the web, and uses MCP tools — with human approval at every step. 60K+ GitHub stars, Apache 2.0 licensed.

Q: Is Cline free? A: The extension is free and open-source. You need your own LLM API key (OpenAI, Anthropic, etc.) or a local model via Ollama.


🙏

来源与感谢

Created by Saoud Rizwan. Licensed under Apache 2.0. cline/cline — 60,000+ GitHub stars

相关资产