megachangelog
Feature7

Program agent harnesses with AI SDK

Introduces HarnessAgent, a unified API for running multiple agent harnesses including Claude Code, Codex, and Pi. Write your agent once and swap harnesses without rewriting code, allowing you to use the best harness available at any time.

introduces , a single API for running established agent harnesses, including Claude Code, Codex, and Pi. AI SDK has always let you switch models without rewriting your agent. Now you can switch the harness the same way.AI SDK 7HarnessAgent

Write the agent once. Use the best harness available. Today. In 3 months. A year from now.

Harnesses manage the components above a model call, including skills, sandboxes, sessions, permission flows, compaction, runtime configuration, and sub-agents. The AI SDK normalizes access to those capabilities through a unified harness abstraction.

Initial harness adapters for this experimental release include Claude Code, Codex, and Pi, with more coming soon.

Swap for or and keep the same flow. Every harness runs the agent in a sandboxed workspace, keeping the host environment safe.claudeCodecodexpiHarnessAgent

Both and return AI SDK-compatible results. If your app already uses or related AI SDK tooling, you can swap in without changing your user interface code.HarnessAgent.generate()HarnessAgent.stream()useChatHarnessAgent

is available on the AI SDK canary release. Read the to get started.HarnessAgentAI SDK harness documentation

Read more

ai-sdkagentsapiclaude-codeintegration

Source: original entry ↗

More from Vercel

Follow Vercel to get its new changes in your feed and email digest.

Feature

OpenAI Decisions API now available on AI Gateway

OpenAI's Decisions API is now accessible through Vercel's AI Gateway with an OpenAI-compatible endpoint, enabling decision models to answer typed questions and return probabilities, choices, and scores for routing, triage, and guardrails use cases. Support is available across the OpenAI SDK, AI SDK, HTTP API, and CLI with the latest versions.

ai-gatewayopenaiapidecisionssdks
Feature

Timestamp attributes now supported in Vercel Flags

Vercel Flags now supports timestamp attributes for entities, allowing you to create time-based targeting rules. Use this feature to run limited-time campaigns, show content between specific dates, or target users based on registration date.

flagstargetingfeaturetimestampscampaigns
Feature

Glyph Cluster now available in stealth on AI Gateway

Glyph Cluster, a reasoning model for coding and long-context analysis, is now available as a stealth model on Vercel's AI Gateway for Pro and Enterprise plan teams with purchased AI Gateway credits at no cost during the stealth period. The model supports function calling, streams responses, and can be accessed via AI SDK, OpenAI-compatible APIs, and coding agents.

ai-gatewaymodelscodingstealth
See all Vercel changes →