Introducing Cline SDK: the upgraded agent runtime, and we rebuilt Cline upon it
Blog post from Cline
Cline, initially a pioneering agentic coding tool as a VSCode extension, has evolved significantly to adapt to the changing landscape of AI coding. The initial architecture, while innovative, became cumbersome and difficult to maintain as the system's capabilities expanded, prompting a comprehensive redesign. This transformation led to the development of a modular and extensible SDK, @cline/sdk, which detaches the agent runtime from any single product, allowing it to support a diverse range of applications across various platforms like VS Code, JetBrains, and CLI. The new architecture emphasizes durability, portability, and product-agnostic functionality, enabling seamless session transfers and continuous operation despite UI restarts. Cline 2.0 introduces improved agent harness features, including more efficient prompt management and feedback loops, and supports multi-agent teams and extensible plugins for customized domain-specific functions. With open-choice support for various models and providers, the SDK allows simple configuration changes to switch providers. The rebuilt Cline applications now aim to offer a robust, flexible platform for developers to build innovative solutions, reflecting the lessons and inspirations gathered from the broader industry and the original Cline's journey.