AI SDK Harnesses

Harness Adapters

Harness adapters connect HarnessAgent to a specific agent runtime. They are the harness equivalent of AI SDK model providers: each adapter wraps one runtime and normalizes its sessions, stream events, tools, usage, lifecycle state, and configuration into the harness contract.

AI SDK Harness Adapters

The AI SDK includes the following harness adapters:

Coming Soon

  • Amp (@ai-sdk/harness-amp)
  • Goose (@ai-sdk/harness-goose)
  • Mastra (@ai-sdk/harness-mastra)

Adapter Capabilities

AdapterRuntime locationCustom toolsCustom skillsStructured outputBuilt-in tool approvalBuilt-in tool filteringImage inputHistory access
Claude CodeSandbox bridge
ClineHost process
CodexSandbox bridge
CursorSandbox via ACP
Deep AgentsSandbox bridge via auto-rejection
fxHost process
GitHub CopilotSandbox via ACP
Grok BuildSandbox via ACP
OpenCodeSandbox bridge
PiHost process