GitHub Copilot 现已接入 AI SDK 的 harness 层

Vercel Blog 2026-09-11T12:46:33.970442

AI SDK 的 harness 层现在通过官方适配器 @ai-sdk/harness-github-copilot 支持 GitHub Copilot。

harness 层是一层中间层,你的应用可以借它运行不同的编码智能体(coding agent),它们共用同一个 HarnessAgent 接口。这样一来,切换智能体时不用改动应用代码。

只需把 githubCopilot 传给 HarnessAgent

底层上,该适配器通过 @ai-sdk/harness-acp,用智能体客户端协议(Agent Client Protocol,ACP)把 GitHub Copilot 接到 HarnessAgent 上。

目前支持的 harness 除了 GitHub Copilot,还有 Claude Code、Cline、Codex、Cursor、Deep Agents、fx、Grok Build、OpenCode 和 Pi,后续还会加入更多。

想上手的话,可以查阅 GitHub Copilot harness 的文档。

阅读更多

查看原文