Code librariesReviewed · Cline

Cline SDK

Cline SDK is a TypeScript framework for developers adding AI agents to apps and automation, with Node.js 22 or later required for the documented setup. It provides a full agent runtime, a browser-compatible stateless execution loop and a model-provider gateway.

Researched 14 Nov 2026

In short.

Cline SDK is a TypeScript framework for developers embedding AI agents in products or automated workflows, but its overview leaves costs and operational safeguards unspecified. Cline describes it as the same harness used in its IDE extensions and CLI. Its packages cover sessions, tools, persistence, stateless execution and model access. The example demonstrates agent configuration and streamed text handling; nothing was executed, and performance and production reliability remain unassessed.

Researched and written by an AI model and checked by a second AI model. How it works

Coverage includes the complete selected page at [https://docs.cline.bot/sdk/overview.md]: its description, installation instructions, optional SDK skill, first-agent example, package table, outbound links, documentation-index notice and Mintlify hosting notice. The documentation index and all linked pages, repositories and skill contents are excluded. The source capture is dated 2026-11-14T11:47:28.543Z and identified by source revision sha256:088cba2f418a086310bc666f3855553a7cd7e320debbcb1b515f44d6691711aa. Nothing was installed or executed; runtime behavior, compatibility, security controls and performance remain unassessed.

The overview

identity

Cline SDK provides TypeScript packages for embedding Cline's agent runtime in applications. The overview describes an open source framework with a plugin architecture and identifies it as the harness behind Cline's IDE extensions and CLI. The documented entry package is @cline/sdk. Source: [https://docs.cline.bot/sdk/overview.md].

assessment

Its documented appeal is access to Cline's agent harness inside software you control, with separate packages for different levels of integration. The installation command and small Agent example provide a concrete starting point. The overview does not establish API stability, reliable operation under load or suitability for unattended production work.

users

The stated uses are agents in CI/CD pipelines, end-to-end workflow automation and agent features embedded in products. This makes the SDK relevant to developers building those integrations. Beginners get a short first-agent example, but the page does not teach TypeScript, application deployment or provider-account setup.

capabilities

The overview lists checkpoints, web fetching, MCP integrations, scheduled jobs and subagents. It presents plugins and custom tools as extension points, including actions a model can call. These are documented capabilities; their configuration, boundaries and behavior are not demonstrated on this page.

Using it

requirements

The documented setup requires Node.js 22 or later. The example selects Anthropic, names claude-sonnet-4-6 and reads an API key from ANTHROPIC_API_KEY. Reproducing that example therefore requires access to the specified provider and model, whose availability is not established here.

@cline/agents is separately described as browser-compatible. The overview does not supply browser setup instructions, supported browser versions or hardware requirements.

mechanism

The sample creates an Agent with a provider, model, API key and iteration limit. It subscribes to events and starts execution by passing a text request to agent.run.

@cline/core supplies the Node runtime for sessions, built-in tools, persistence, hub support and automation. @cline/agents supplies the stateless execution loop; @cline/llms supplies the provider gateway and model catalogs; @cline/shared supplies types, schemas and helpers. These package descriptions distinguish the full runtime from narrower building blocks.

setup

The documented installation command is npm install @cline/sdk. The sample then imports Agent from @cline/sdk, supplies provider credentials through an environment variable and registers an event subscriber.

An optional companion skill is offered through npx skills add cline/sdk-skill at [https://github.com/cline/sdk-skill]. Its contents and behavior are outside the supplied evidence.

example

The supplied example sets providerId to anthropic, modelId to claude-sonnet-4-6 and maxIterations to 1. Its subscriber writes text from assistant-text-delta events to standard output, and agent.run receives a request to explain an SDK in two sentences.

This illustrates the intended API usage. No generated answer or execution trace is supplied, and the example was not run.

Assessment & evidence

limitations

The overview does not specify approval controls, sandboxing, credential isolation, failure recovery or persistence guarantees. Its minimal text example does not demonstrate tools, checkpoints, scheduled jobs or subagents in operation. No performance measurements are included.

The installation command does not pin an SDK version. Exact exports and compatibility need further documentation before an application depends on them.

reasoning

Based on the package descriptions, @cline/core appears relevant when an application needs sessions, persistence and automation, while @cline/agents appears relevant when it needs a browser-compatible stateless loop. This is an architectural inference from the overview. The page does not establish how either choice behaves in a particular workload.

alternatives

Cline's IDE extensions and CLI are adjacent ways to access the harness mentioned on this page. Their capabilities and integration tradeoffs are not compared with the SDK. Within the SDK, the lower-level execution and model-gateway packages offer different integration boundaries. The overview supplies no comparison with competing agent frameworks.

evidence

The evidence is the complete Cline SDK overview at [https://docs.cline.bot/sdk/overview.md]. It contains installation instructions, a package table, a small TypeScript example and links to further documentation. Its capability descriptions are documentation claims; no runtime logs, benchmark results or independent validation are included.

The linked architecture pages, tutorials, repositories, examples and companion skill were not included.

Access & freshness

costs

Costs are unknown. The overview supplies no SDK pricing, provider rates, usage allowances or infrastructure estimates. Its API-key example establishes a provider dependency, but does not establish whether charges apply or how much a workflow would cost. The iteration setting is not documented as a spending limit.

rights

The overview describes the SDK as open source, but provides no license name or license text. Specific commercial-use, modification, attribution and redistribution terms are unknown from this page. Permission to redistribute the captured documentation is also not established.

freshness

The overview was captured on 14 November 2026. It does not identify an SDK release version corresponding to its instructions. The named example model does not establish current model availability or SDK compatibility, and the unpinned installation command does not identify a reproducible package version.

actions

Before integration, consult the package architecture documentation [https://docs.cline.bot/sdk/architecture/overview.md] for supported imports and the complete quickstart [https://github.com/cline/cline/tree/main/apps/examples/quickstart] for project setup. Confirm the applicable license, provider access, costs and tool permissions.

For a pilot, choose a specific package version and a small representative workflow. Validate streamed events, iteration limits and any required persistence or failure handling before depending on those behaviors.

Evidence for this report

selected-page.txtselected · checked 2026-11-14