cline-sdk

Develop and deploy AI agents with custom tools and persistent sessions using the Cline SDK.

65.9k|7.1k|Updated Jul 6, 2024
One-click install
npx skills add https://github.com/cline/cline --skill cline-sdk
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cline-sdk
Source: https://github.com/cline/cline/tree/main/.agents/skills/cline-sdk
Command: npx skills add https://github.com/cline/cline --skill cline-sdk

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires @cline/sdk, @cline/core, @cline/agents, @cline/llms, @cline/shared, and includes references (resource) components.

What problem does it solve?

This Skill provides a unified framework for building, deploying, and managing AI agents, solving the complexity of integrating custom tools, managing session persistence, and orchestrating multi-agent teams.

Core Features & Use Cases

  • Flexible Runtime: Choose between lightweight stateless agents or full-featured persistent sessions with built-in tools.
  • Extensible Architecture: Easily create custom tools, plugins, and hooks to tailor agent behavior to specific workflows.
  • Use Case: Build a custom automated research assistant that uses built-in web search tools, persists its findings to a local database, and triggers sub-agents to perform deep analysis on specific topics.

Quick Start

Use the cline-sdk skill to initialize a new ClineCore session with the anthropic provider and enable built-in tools for your project.

Frequently Asked Questions about cline-sdk

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build custom AI agents with TypeScript?

To build custom AI agents with TypeScript, use the Cline SDK to create custom tools, manage persistent sessions, and orchestrate multi-agent teams. It provides a comprehensive programmatic interface for developing and deploying agents.

What is the best way to orchestrate multi-agent teams for automation?

Orchestrating multi-agent teams for automation is handled by the Cline SDK, which provides an extensible architecture to trigger sub-agents and manage workflows. You can coordinate multiple specialized agents to perform deep analysis or specific tasks.

Do I need Node.js to use the Cline SDK for AI agent automation?

Yes, you need Node.js 22 or later to use the Cline SDK for AI agent automation. This environment is required to install the @cline/sdk package and enable full runtime capabilities for deploying your custom agents.

Can I create stateless AI agents for lightweight automation tasks?

Yes, you can create stateless AI agents for lightweight automation tasks using the Cline SDK's flexible runtime. Alternatively, you can choose full-featured persistent sessions with built-in tools for more complex, stateful workflows.

How does session persistence work for AI agents?

Session persistence for AI agents works by utilizing the Cline SDK's full-featured runtime, which manages state across interactions. This allows agents to retain context, use built-in tools, and persist findings to a local database during workflows.

Can I extend AI agent behavior with custom tools and plugins?

Yes, you can extend AI agent behavior with custom tools, plugins, and hooks using the Cline SDK. This extensible architecture allows you to tailor agent workflows to specific requirements and integrate custom functionalities.