Install
@cline/sdk exports all SDK packages: @cline/core for the full agent harness, @cline/agents for the stateless agent loop, @cline/llms for control over the model gateway, and @cline/shared for common utilities.
Requires Node.js 22 or later.
SDK Skill
If you use a coding agent (Claude Code, Codex, Cline, etc.), install the Cline SDK skill to give your agent context on the SDK’s APIs and best practices to help you build with the Cline SDK.Your First Agent
Here is a complete quickstart example. Clone it and run
bun dev to try it.Packages
| Package | Purpose |
|---|---|
@cline/sdk | Public SDK surface (re-exports @cline/core) |
@cline/core | Node runtime for sessions, built-in tools, persistence, hub support, automation |
@cline/agents | Browser-compatible stateless agent execution loop |
@cline/llms | Provider gateway and model catalogs |
@cline/shared | Types, schemas, tool helpers, hooks, storage helpers |
Next Steps
Examples
Browse complete, runnable SDK examples.
Plugins
Extend Cline’s functionality.
Tools
Add actions the model can call.
Building an Agent
Build a complete SDK agent from a tutorial.

