shipfeedAI news, curated daily

05:18:47 CET
24 JUN05:18:47shipfeed
pull to refreshlast sync
Just in — 30 new
§ agents · storyline

Program Claude Code, Codex, Pi and other agent harnesses with AI SDK

AI SDK introduces HarnessAgent, a unified abstraction for running agent harnesses including Claude Code, Codex, and Pi through a single API with swappable adapters.

Jun 12 · · primary fetch1 sourceupdated Jun 12 ·

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

read full article on vercel.com
§ sources1 publication · timeline below
  1. vercel.comProgram Claude Code, Codex, Pi and other agent harnesses with AI SDKprimary