
Deep Agents and OpenCode are now available in the AI SDK Harness
Quick Answer
Vercel AI has introduced Deep Agents and OpenCode adapters in the AI SDK Harness, enabling seamless switching between coding-agent runtimes without altering application code.
Quick Take
Vercel AI has introduced Deep Agents and OpenCode adapters in the AI SDK Harness, enabling seamless switching between coding-agent runtimes without altering application code. These additions enhance the LangChain runtime with built-in tools and multi-turn session capabilities, supporting various model configurations.
Key Points
- Deep Agents and OpenCode run within the Vercel Sandbox environment.
- The AI SDK Harness adapts LangChain's runtime with built-in file and shell tools.
- Supports model selection, provider options, and reasoning variants.
- The full list of harnesses now includes Claude Code, Codex, and more.
- Documentation is available for both Deep Agents and OpenCode to get started.
Article Excerpt
From source RSS / original summaryThe lets you run established coding-agent runtimes through one unified interface, so you can switch runtimes without changing your application code. Today we're adding two new adapters, Deep Agents and OpenCode, both running inside a Vercel Sandbox. AI SDK Harness adapts LangChain's runtime, with built-in file and shell tools, skills, host tools, multi-turn sessions, attach and resume, and built-in tool approvals. @ai-sdk/harness-deepagentsdeepagentsRead the to get started.
Deep Agents harness documentation boots a real OpenCode server inside the sandbox via and streams its session events through the harness. It exposes OpenCode's built-in tools, supports both built-in and host tool approvals, and lets you pick the model, provider, and reasoning variant. @ai-sdk/harness-opencode@opencode-ai/sdkRead the to get started. OpenCode harness documentationThe full supported list of harnesses is now: Claude Code, Codex, Deep Agents, OpenCode, Pi, with more coming soon.
Read moreDeep AgentsOpenCode
Want this in your inbox every morning?
Daily brief at your local 8am — bilingual EN/中文, free.
More from Vercel AI
See more →
The Agent Stack
The Agent Stack by Vercel AI provides essential building blocks for creating production-grade agents, enabling seamless integration across multiple AI models and secure operations. It features components like AI Gateway for model routing, Workflow SDK for durable execution, and Vercel Connect for scoped access, streamlining agent development and deployment across various platforms.

