# HarnessAgent now supports image inputs for all harness adapters

DevFeed: [HarnessAgent now supports image inputs for all harness adapters](<https://devfeed.tech/articles/harnessagent-now-supports-image-inputs-for-all-harness-adapters-102438.md>)

Original publisher: [Read original article](<https://vercel.com/changelog/harness-agent-image-inputs>)

Author: Josh Singh

Published: 2026-10-27T00:00:00Z

Content type: release

Language: en

Sources: [Vercel News](<https://devfeed.tech/sources/vercel-news.md>)

Topics: [vlm](<https://devfeed.tech/topics/vlm.md>), [Agent Harness](<https://devfeed.tech/topics/agent-harness.md>)

Tags: [adapters](<https://devfeed.tech/tags/adapters.md>), [ai-sdk](<https://devfeed.tech/tags/ai-sdk.md>), [claude-code](<https://devfeed.tech/tags/claude-code.md>), [cline](<https://devfeed.tech/tags/cline.md>), [codex](<https://devfeed.tech/tags/codex.md>), [cursor](<https://devfeed.tech/tags/cursor.md>), [github-copilot](<https://devfeed.tech/tags/github-copilot.md>), [grok-build](<https://devfeed.tech/tags/grok-build.md>), [harness](<https://devfeed.tech/tags/harness.md>), [image](<https://devfeed.tech/tags/image.md>), [opencode](<https://devfeed.tech/tags/opencode.md>), [pi](<https://devfeed.tech/tags/pi.md>), [vision](<https://devfeed.tech/tags/vision.md>)

## AI overview

HarnessAgent accepts images alongside text in a standard AI SDK message: use a `content` array with `{ type: 'text' }` and `{ type: 'file' }` parts. The file part includes an image media type and image data; the example reads a PNG and asks the Codex harness to describe it. Images are processed by each harness's underlying vision model. The feature is supported by the listed adapters: Claude Code, Cline, Codex, Cursor, Deep Agents, fx, GitHub Copilot, Grok Build, OpenCode, and Pi.

## Source excerpt

The AI SDK HarnessAgent layer now accepts image inputs across every harness adapter. Pass images alongside text in the standard AI SDK message format: a content array mixing { type: 'text' } and { type: 'file' } parts. Image input is processed by the harnesses' underlying vision models and supported across all available adapters: Claude Code, Cline, Codex, Cursor, Deep Agents, fx, GitHub Copilot, Grok Build, OpenCode, Pi. Read the HarnessAgent image inputs documentation to get started. Read more