Cline Releases Cline SDK: An Open-Source Agent Runtime Now Powering Its CLI and Kanban, With IDE Extensions Being Migrated
Cline turned ‘agentic’ earlier than it was cool, however constructing on the bleeding edge normally results in some structural debt. Over time, the agent loop and the VS Code extension turned a bundle deal—making it a headache to keep up or transfer to new environments. Its powerful to simply preserve layering options on a inflexible core. Cline, the open-source AI coding agent utilized by thousands and thousands of builders, shipped a big architectural change this week: it extracted its inside agent harness right into a standalone, open-source TypeScript SDK known as @cline/sdk, and is rebuilding all of its personal merchandise on high of it.
Rather than including one other layer on high of that structure, the Cline group selected to rebuild the muse.
What the SDK is, and How It is Structured
The core agent harness has been abstracted right into a pluggable agent SDK (@cline/sdk). It now powers Cline throughout VS Code, JetBrains, and the CLI, and is open-sourced so any group can construct on it. A key behavioral advantage of this redesign: long-running work now not dies with a UI restart, and periods can transfer throughout surfaces — the agent loop stays stateless and reusable whereas the runtime round it turns into sturdy, moveable, and product-agnostic.
The SDK is a layered TypeScript stack the place every layer has a single accountability and dependencies circulation strictly downward.
From the underside up:
@cline/shared is the muse bundle carrying varieties, schemas, software helpers, hook contracts, and extension registration utilities — no higher-layer dependencies. @cline/llms sits above it, proudly owning the supplier gateway and mannequin catalogs. It covers Anthropic, OpenAI, Google, AWS Bedrock, Mistral, LiteLLM, and any OpenAI-compatible endpoint equivalent to vLLM, Together, and Fireworks, with all supplier logic saved out of the agent loop so switching suppliers is a config change, not a code change. @cline/brokers runs above that as a browser-compatible, stateless agent execution loop dealing with iteration, software orchestration, and occasion emission — importantly, it doesn’t personal session storage, built-in file/shell instruments, or Node-specific orchestration, which is what makes it embeddable in browser environments. At the highest sits @cline/core, the Node runtime/orchestration layer answerable for periods, storage, built-in instruments, hub and distant transports, automation and scheduling, telemetry, and plugin/extension loading.
@cline/sdk itself is a public floor that re-exports every thing from @cline/core. For engineers who need a smaller footprint, the packages are individually installable: you’ll be able to pull in simply @cline/llms for an LLM proxy, or simply @cline/brokers for a stateless loop in a serverless or browser setting, with out pulling within the full Node runtime stack.
The Cline group additionally stories that the brand new CLI completes the identical duties sooner and at decrease token value than the outdated one in inside runs.
A Rebuilt Agent Harness With Measurable Benchmark Results
With Cline 2.0, the group rewrote the prompts, simplified the loop, tightened context administration, improved suggestions loops and error dealing with, and rethought how instruments are outlined and surfaced to the mannequin.
The Cline group printed Terminal Benchmark 2.0 (tbench.ai) outcomes to again this up. On frontier fashions, Cline CLI operating claude-opus-4.7 scored 74.2%, in comparison with Anthropic’s printed rating of 69.4% for Claude Code on the identical mannequin. On claude-opus-4.6, Cline CLI scored 71.9% versus Claude Code’s printed 65.4%. On open-weight fashions, Cline scored 55.1% on kimi-k2.6, in comparison with 37.1% for OpenCode and 45.5% for Pi-Code on the identical mannequin, with these runs carried out by the Cline group utilizing go@1 scoring as of May 8, 2026.

The Plugin System and Extensibility Layer
One of the sensible additions for dev groups constructing on the SDK is the plugin structure. A plugin can register instruments, observe lifecycle occasions, add guidelines and instructions, and form what the agent sees. Plugins may be loaded from configured paths or workspace areas, and can begin as a neighborhood .ts or .js module, later changing into a bundle listing with a cline.plugins manifest so groups can prototype domestically and bundle reusable capabilities when they’re prepared.
Beyond plugins, the SDK gives further extensibility factors together with customized instruments, MCP connectors, and expertise. To add a brand new customized supplier, you implement an ApiHandler and register it utilizing the @cline/llms registry — the structure docs listing registerProvider and registerModel as the right exported capabilities for runtime registry extension.
Native Multi-Agent Support
A notable design resolution is that multi-agent coordination doesn’t require a separate orchestration layer. The SDK consists of agent groups and subagents natively, so a session can delegate to specialists, observe progress, and alternate handoff notes, all inside the identical core runtime. Subagents run with their very own mannequin, instruments, and prompts.
Scheduled CRON jobs, checkpointing, internet search, and MCP connectors are all dealt with natively out of the field.
Getting Started
The SDK requires Node.js 22 or later.
# Install the SDK
npm set up @cline/sdk
# Install the CLI globally
npm i -g @cline
# Or give your agent the Cline SDK talent
npx expertise add cline/sdk-skill
Documentation is on the market at docs.cline.bot/sdk. Working examples — together with plugin examples and multi-app builds — are within the sdk/apps/examples and sdk/examples directories of the Cline GitHub repository. The launch is licensed beneath Apache 2.0.
Marktechpost’s Visual Explainer
Cline SDK — Getting Started
Key Takeaways
- Cline extracted its inside agent harness into an open-source TypeScript SDK (
@cline/sdk), which re-exports@cline/core; the CLI and Kanban are already migrated, with VS Code and JetBrains extensions migration ongoing - The SDK is a four-layer stack:
@cline/shared(varieties/utilities) →@cline/llms(supplier gateway) →@cline/brokers(browser-compatible stateless loop) →@cline/core(Node runtime: periods, storage, built-in instruments, automation, telemetry) - Sessions are actually sturdy throughout surfaces — long-running work now not dies with a UI restart
- Native assist for plugins, subagents, CRON jobs, checkpointing, MCP connectors, and multi-provider switching with out touching the agent loop
- Install through
npm set up @cline/sdk(requires Node.js 22+); docs atdocs.cline.bot/sdk
Check out the Repo and Technical details. Also, be at liberty to observe us on Twitter and don’t overlook to hitch our 150k+ ML SubReddit and Subscribe to our Newsletter. Wait! are you on telegram? now you can join us on telegram as well.
Need to associate with us for selling your GitHub Repo OR Hugging Face Page OR Product Release OR Webinar and many others.? Connect with us
The put up Cline Releases Cline SDK: An Open-Source Agent Runtime Now Powering Its CLI and Kanban, With IDE Extensions Being Migrated appeared first on MarkTechPost.
