Cline CLI Now Open Source: Agents Everywhere
Cline CLI is now open source. Run AI agents from the terminal, scripts, and anywhere else via gRPC. Build cron jobs, Discord bots, and background orchestrators.
TL;DR
- Cline CLI is now available and open source — run AI agents from the terminal, scripts, and anywhere else
- Built on Cline Core, a gRPC-based service that decouples the agent from any IDE
- Install with
npm install -g clineand start building: cron jobs, Discord bots, game NPCs, background orchestrators
What Dropped
Cline CLI is live and open source. After months of refactoring, the creator extracted Cline from its original VS Code-only architecture into a standalone service called Cline Core. The CLI is the first consumer of that service — but it won't be the last.
The Dev Angle
This is infrastructure-level thinking. Cline Core exposes a gRPC API, meaning any application can spin up an agent instance. The CLI itself is designed for scriptability: imagine a cron job that reads social media feeds, converts them to structured JSON, and redeploys a static site — all orchestrated by an LLM. That's a weekend project now.
The architecture is clean. A "Presentation Layer" (your CLI, IDE, or custom app) connects as a gRPC client and sends tasks. Cline Core handles the agent loop and sends back state changes and LLM messages. A "Host Provider Layer" lets Cline integrate with its environment — VS Code can provide linter output, the CLI provides a generic fallback.
Two features stand out. Experimental Subagents let IDE instances of Cline delegate work to CLI instances with fresh context windows — useful for parallel task execution. Multiheaded Cline allows multiple frontends to attach to the same running task, enabling remote control scenarios (mobile app controlling desktop Cline, IDE controlling server Cline). These interop features work between JetBrains and CLI now; VS Code support is coming but requires a migration.
Should You Care?
If you've been waiting for Cline outside VS Code, this is it. If you're already using Cline as GitHub's fastest-growing AI project, the CLI unlocks new workflows: background agents, scheduled tasks, embedded agents in other tools.
If you're building on top of agents, this matters. The gRPC API and open source architecture mean you can embed Cline into your own applications. Discord bots, Jupyter notebooks, shell scripts, GitHub issue triagers — the community is already imagining what's possible.
If you're happy with your IDE integration and don't need scriptability, nothing changes. But if you've ever wanted to automate something with an AI agent outside your editor, Cline CLI removes that friction.
Get started: npm install -g cline. Full gRPC documentation is coming soon. Join the #cli channel on Discord to discuss what you're building.
Source: Cline