Menu

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

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

Vercel News·Maya Lekhi·5 days ago
#WTamqWIN
#vercel#harness#opencode#agent#agents
Reading 0:00
15s threshold

The AI SDK Harness 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.

Copy link to heading Deep Agents

@ai-sdk/harness-deepagents adapts LangChain's deepagents runtime, with built-in file and shell tools, skills, host tools, multi-turn sessions, attach and resume, and built-in tool approvals.

import { HarnessAgent } from '@ai-sdk/harness/agent' ;

import { deepAgents } from '@ai-sdk/harness-deepagents' ;

const agent = new HarnessAgent ( {

harness : deepAgents ,

} ) ;

Basic example for using Deep Agents with HarnessAgent

Read the Deep Agents harness documentation to get started.

Copy link to heading OpenCode

@ai-sdk/harness-opencode boots a real OpenCode server inside the sandbox via @opencode-ai/sdk and streams its session events through the harness.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.