Vercel AI SDK Enhances Coding Agent Switching with Official Cursor Adapter Support
Key point
Vercel AI SDK now supports the official Cursor adapter, enabling switching between coding agents.
Details
The harness layer of the Vercel AI SDK has started supporting Cursor via the official @ai-sdk/harness-cursor adapter. This harness layer allows applications to run various coding agents through the same HarnessAgent interface, enabling agent switching without changing application code.
Implementation
The adapter internally uses @ai-sdk/harness-acp to connect Cursor to HarnessAgent via the Agent Client Protocol (ACP). This allows developers to run Cursor with simple code by passing cursor to the harness option when creating a HarnessAgent.
Supported Scope
Currently, the AI SDK harness layer supports Claude Code, Cline, Codex, Deep Agents, Grok Build, OpenCode, and Pi in addition to Cursor, with support for additional agents planned.
This summary was generated automatically by AI. Check the original for the author's claims and context. Copyright belongs to the original author.
Our guide explains how the AI works. Report summary errors, attribution issues, or removal requests via Contact.