Use `@ai-sdk/harness-cline` to swap Cline in and out via `HarnessAgent` without rewriting application code.
Summary
Eliminates vendor lock-in for coding agents—you can switch between Claude Code, Cline, Pi, and others by changing one harness parameter instead of refactoring integration logic. Reduces friction when evaluating or migrating between agent runtimes.
Why it matters
Eliminates vendor lock-in for coding agents—you can switch between Claude Code, Cline, Pi, and others by changing one harness parameter instead of refactoring integration logic. Reduces friction when evaluating or migrating between agent runtimes.
Implementation verdict
Replaces direct Cline SDK imports with a standardized adapter pattern. Requires only updating imports to `@ai-sdk/harness-cline` and wrapping instantiation in `HarnessAgent`. Ready now for production use; officially maintained by Vercel and Cline team. Worth adopting if you're already on AI SDK v1+.
Sources
Dev Signal
Get briefs like this in your inbox — free, every weekday.
100+ sources compressed into one 4-minute read. Ranked, cited, implementation-ready.