Vercel AI SDK 7 adds HarnessAgent for coding-agent harnesses
Vercel's changelog says AI SDK 7 adds HarnessAgent, an experimental canary API for running Claude Code, Codex and Pi through sandboxed sessions and SDK-compatible streams.
By Ryan Merket · Published
Primary source: X · @vercel_dev
Why it matters
Harness support makes Vercel's AI SDK less about model calls alone and more about controlling agent execution, isolation and streaming inside apps.

Vercel Developers (@vercel_dev) said Friday that Vercel's AI SDK now supports agent harnesses for Claude Code, Codex and the Pi harness, with sandboxed sessions and SDK-compatible streams, in a post on X. Vercel detailed the release in a changelog post, saying AI SDK 7 introduces HarnessAgent, an experimental canary API meant to give developers one programming model for running established coding-agent harnesses.…
When you purchase through links in our articles, we may earn a small commission. This doesn’t affect our editorial independence.