Back to section
Vercel ⭐ Notable

Deep Agents and OpenCode are now available in the AI SDK Harness

Sobota 27. júna 2026 Source: Vercel

What's new

  • @ai-sdk/harness-deepagents adapts LangChain's deepagents runtime with built-in file/shell tools, skills, host tools, multi-turn sessions, attach/resume and tool approvals
  • @ai-sdk/harness-opencode boots a real OpenCode server in the sandbox via @opencode-ai/sdk and streams session events
  • The OpenCode adapter lets you pick model, provider and reasoning variant
  • Both run through one unified HarnessAgent API — swap runtimes without changing app code
  • The harness now supports Claude Code, Codex, Deep Agents, OpenCode and Pi

Why it matters

A unified harness API reduces lock-in when building coding agents — you can A/B test different runtimes on the same task and evaluate quality vs cost without rewriting code.

How to try it

Install @ai-sdk/harness-deepagents or @ai-sdk/harness-opencode and use HarnessAgent from AI SDK 7 inside a Vercel Sandbox.