Vercel — AI · · 1 min read

fx is now available in the AI SDK harness layer

Mirrored from Vercel — AI for archival readability. Support the source by reading on the original site.

The AI SDK harness layer now supports fx, Vercel's lightweight, open-source coding agent. The harness layer provides one API for running coding agents in your application, so you can add fx without building a separate integration.

Configure HarnessAgent with the official @ai-sdk/harness-fx adapter:

import { HarnessAgent } from '@ai-sdk/harness/agent';
import { fx } from '@ai-sdk/harness-fx';
const agent = new HarnessAgent({
harness: fx,

Run fx through the HarnessAgent interface.

The @ai-sdk/harness-fx adapter connects to fx over the Agent Client Protocol (ACP) using @ai-sdk/harness-acp.

fx joins Claude Code, Cline, Codex, Cursor, Deep Agents, Grok Build, OpenCode, and Pi in the list of supported harnesses.

Read the fx harness documentation to get started.

Discussion (0)

Sign in to join the discussion. Free account, 30 seconds — email code or GitHub.

Sign in →

No comments yet. Sign in and be the first to say something.

More from Vercel — AI