Cursor is now available in the AI SDK harness layer
Vercel’s AI SDK can now run Cursor behind the same HarnessAgent interface as seven other coding agents, reducing application changes when swapping harnesses.
The official **@ai-sdk/harness-cursor** adapter adds Cursor to Vercel’s AI SDK harness layer. It connects through **Agent Client Protocol (ACP)** and joins seven other supported coding-agent harnesses.
Use **HarnessAgent** as the application boundary if you expect to test or switch among Cursor, Claude Code, Codex, Cline, Deep Agents, Grok Build, OpenCode, and Pi. That keeps agent selection out of the surrounding application code.
The official **@ai-sdk/harness-cursor** adapter adds Cursor to Vercel’s AI SDK harness layer. It connects through **Agent Client Protocol (ACP)** and joins seven other supported coding-agent harnesses. Use **HarnessAgent** as the application boundary if you expect to test or switch among Cursor, Claude Code, Codex, Cline, Deep Agents, Grok Build, OpenCode, and Pi. That keeps agent selection out of the surrounding application code. The announcement establishes interface compatibility, but does not compare feature parity, behavior, or portability across harnesses. Agent-specific capabilities may still require separate validation.
This makes Cursor an official runtime choice behind HarnessAgent, strengthening the case for keeping coding-agent selection at a shared application boundary. ACP connectivity supports integration portability, but the announcement narrows that claim to interface compatibility: runtime behavior, controls, security properties, and feature parity still require agent-specific testing.