Cursor is now available in the AI SDK harness layer

The AI SDK harness layer now supports Cursor through the official @ai-sdk/harness-cursor adapter. The harness layer lets your application run different coding agents through the same HarnessAgent interface, so you can switch agents without changing your application code.

Pass cursor to HarnessAgent:

Under the hood, the adapter uses @ai-sdk/harness-acp to connect Cursor to HarnessAgent through the Agent Client Protocol (ACP).

Supported harnesses now include, in addition to Cursor, Claude Code, Cline, Codex, Deep Agents, Grok Build, OpenCode, and Pi, with more coming soon.

Read the Cursor harness documentation to get started.

添加评论
点赞收藏
点踩分享查看原文
评论
?
参与讨论