Cette page est affichée en anglais. Une traduction française est en cours.
CLI ToolsApr 7, 2026·2 min de lecture

Cline — VS Code Autonomous AI Coding Extension

Autonomous AI coding agent that lives in VS Code. Cline creates files, runs commands, uses MCP servers, and handles multi-step tasks with Claude or GPT models.

Cline
Cline · Community
Prêt pour agents

Staging sûr pour cet actif

Cet actif est d'abord staged. Le prompt copié demande à l'agent d'inspecter les fichiers staged avant d'activer scripts, config MCP ou config globale.

Stage only · 17/100Policy : staging
Surface agent
Tout agent MCP/CLI
Type
Mcp Config
Installation
Stage only
Confiance
Confiance : Community
Point d'entrée
Cline — Autonomous AI Coding Agent for VS Code
Commande de staging sûr
npx -y tokrepo@latest install 321aee3b-2292-49c2-968b-310d459bdaa0 --target codex

Stage les fichiers d'abord; l'activation exige la revue du README et du plan staged.

TL;DR
Open-source VS Code extension for autonomous AI coding with Claude, GPT, Gemini, Ollama, and custom APIs.
§01

What it is

Cline is an open-source AI coding agent that runs inside VS Code as an extension. It can read and write files, execute terminal commands, browse the web, and make multi-file changes autonomously. Cline supports multiple LLM providers including Claude, GPT, Gemini, and local models via Ollama or any OpenAI-compatible endpoint.

This tool targets developers who want AI-assisted coding within their existing VS Code workflow. Unlike cloud-based agents, Cline runs locally and gives you full visibility and approval control over every action the agent takes.

§02

How it saves time or tokens

Cline reduces context-switching by keeping the AI agent inside your editor. You describe a task in natural language, and Cline plans and executes the changes across multiple files without leaving VS Code. The approval flow lets you review each action before execution, avoiding costly mistakes. Local model support eliminates API costs entirely for teams running Ollama.

§03

How to use

  1. Install the Cline extension from the VS Code marketplace
  2. Configure your preferred LLM provider (API key or local endpoint)
  3. Open the Cline panel, describe your task, and approve the agent's proposed actions
§04

Example

# Install from VS Code marketplace
# Search: 'Cline' by saoudrizwan
# Or via CLI:
code --install-extension saoudrizwan.claude-dev

# Configure in VS Code settings:
# Cline > API Provider: anthropic
# Cline > API Key: sk-ant-...

# Open Cline panel (Cmd+Shift+P > 'Cline: Open')
# Type: 'Add input validation to the user registration form'
# Review and approve each file change
§05

Related on TokRepo

§06

Common pitfalls

  • Cline's autonomous actions consume tokens quickly; set budget limits in the extension settings to avoid surprises
  • Local models via Ollama work but produce lower quality results than Claude or GPT for complex tasks
  • The approval flow adds friction; use auto-approve selectively for low-risk actions like reading files

Questions fréquentes

Is Cline free to use?+

The Cline extension is free and open-source. You pay only for the LLM provider you configure. Using Ollama or other local models makes Cline completely free. Cloud APIs like Claude or GPT charge per token.

How does Cline compare to Cursor?+

Cline is a VS Code extension with explicit approval for each action. Cursor is a standalone editor with tighter AI integration. Cline offers more provider flexibility and is free; Cursor charges a monthly fee but provides a smoother UX.

Can Cline execute terminal commands?+

Yes. Cline can run terminal commands as part of its workflow. Each command requires your approval before execution, so you maintain control over what runs on your system.

Does Cline support multi-file editing?+

Yes. Cline can read, create, edit, and delete files across your project. It presents a diff view for each change, letting you approve or reject modifications before they are applied.

What LLM providers does Cline support?+

Cline supports Anthropic Claude, OpenAI GPT, Google Gemini, AWS Bedrock, Ollama, LM Studio, and any OpenAI-compatible API endpoint. You can switch providers in the extension settings.

Sources citées (3)
🙏

Source et remerciements

Created by Cline Team. Licensed under Apache 2.0.

cline/cline — 30k+ stars

Fil de discussion

Connectez-vous pour rejoindre la discussion.
Aucun commentaire pour l'instant. Soyez le premier à partager votre avis.

Actifs similaires