← Back to all projects

Cline
Autonomous coding agent living inside your editor
OfficialApache-2.0
What is Cline?
Runs in VS Code and asks for approval before each file write or terminal command, which keeps a human in the loop without breaking flow. MCP support lets it reach tools beyond the editor. The approval prompts are the safety mechanism — turning them all off removes the main reason to prefer it.
What can you do with Cline?
- Plan first, then act — Plan mode explores the codebase and proposes a strategy before Act mode executes it, with every file edit and terminal command gated by approval and recorded as a reviewable diff with checkpoints to roll back.
- Run it headless in CI — git diff origin/main | cline "Review these changes for issues" pipes input straight in, and cline --json emits machine-readable events for jq to consume.
- Encode conventions in .clinerules — Coding standards, architecture rules and deployment procedures written into .clinerules files are picked up automatically by the CLI, VS Code extension and JetBrains plugin.
- Run many agents unattended — cline schedule create with --cron "0 9 * * MON-FRI" handles recurring jobs, and the Kanban board gives each task card its own git worktree with auto-commit.
- Reach external systems via MCP — cline mcp manages MCP server connections to databases and APIs, and createTool from @cline/sdk registers custom tools and lifecycle hooks in the same agent.
Before you choose Cline
- The command-running half is the least reliable part. Depending on your shell and setup, commands can hang, lock the interface, or finish without the assistant being able to read what they printed.Reported in#4356
Star history
15 Aug to 30 Oct · +4.8k
66.2k71.1k
Frequently asked questions
Is Cline free for commercial use?
Cline is released under the Apache-2.0 licence — OSI-approved open source, which permits commercial use.
How can Cline be deployed?
Cline is available as Runs locally.