Deep Agents and OpenCode are now available in the AI SDK Harness
What's new
- @ai-sdk/harness-deepagents adapts LangChain's
deepagentsruntime 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/sdkand streams session events - The OpenCode adapter lets you pick model, provider and reasoning variant
- Both run through one unified
HarnessAgentAPI — 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.
Open original source
Vercel