{"slug": "use-acp-compatible-harnesses-with-the-ai-sdk-harness-layer", "title": "Use ACP-compatible harnesses with the AI SDK harness layer", "summary": "Vercel's AI SDK harness layer now supports any Agent Client Protocol (ACP)-compatible harness through the new @ai-sdk/harness-acp package, which wraps the protocol as a meta adapter instead of a single runtime. Developers can implement a harness by passing an ACP-compatible package to createACP and configuring basic harness mapping, then pass it to HarnessAgent. For Claude Code and Codex, Vercel recommends using the direct @ai-sdk/harness-claude-code and @ai-sdk/harness-codex adapters for tighter integration, reserving the ACP-based approach for harnesses without direct adapters.", "body_md": "The [AI SDK harness layer](https://vercel.com/changelog/program-agent-harnesses-with-ai-sdk) now supports any Agent Client Protocol (ACP)-compatible harness with `HarnessAgent`\n\nthrough the new `@ai-sdk/harness-acp`\n\npackage.\n\nPreviously, every harness adapter wrapped one specific runtime (Claude Code, Codex, Pi, Deep Agents, OpenCode). `@ai-sdk/harness-acp`\n\nwraps the protocol instead. It is a meta adapter: rather than adapting a single harness, it lets you build an adapter for any harness that ships an ACP-compatible package.\n\nImplement a harness by passing that package to `createACP`\n\nand configure basic harness mapping.\n\nThen pass it to `HarnessAgent`\n\nlike any other harness:\n\nACP is an abstraction over coding harnesses, but the AI SDK harness layer stays deliberately decoupled from it. Not every harness supports ACP, and for some, ACP limits or changes how well they expose their internal behaviors, so a direct adapter can produce a tighter integration.\n\nFor Claude Code and Codex, prefer the direct `@ai-sdk/harness-claude-code`\n\nand `@ai-sdk/harness-codex`\n\nadapters over an ACP-based implementation; reach for `@ai-sdk/harness-acp`\n\nwhen a harness has no direct adapter but ships an ACP-compatible package.\n\nRead the [ACP harness documentation](https://ai-sdk.dev/v7/providers/ai-sdk-harnesses/acp) to get started.", "url": "https://wpnews.pro/news/use-acp-compatible-harnesses-with-the-ai-sdk-harness-layer", "canonical_source": "https://vercel.com/changelog/use-acp-compatible-harnesses-with-the-ai-sdk-harness-layer", "published_at": "2026-08-13 00:00:00+00:00", "updated_at": "2026-08-13 13:18:35.084015+00:00", "lang": "en", "topics": ["developer-tools", "ai-tools", "ai-infrastructure"], "entities": ["Vercel", "AI SDK", "@ai-sdk/harness-acp", "Agent Client Protocol", "HarnessAgent", "Claude Code", "Codex"], "alternates": {"html": "https://wpnews.pro/news/use-acp-compatible-harnesses-with-the-ai-sdk-harness-layer", "markdown": "https://wpnews.pro/news/use-acp-compatible-harnesses-with-the-ai-sdk-harness-layer.md", "text": "https://wpnews.pro/news/use-acp-compatible-harnesses-with-the-ai-sdk-harness-layer.txt", "jsonld": "https://wpnews.pro/news/use-acp-compatible-harnesses-with-the-ai-sdk-harness-layer.jsonld"}}