cd /news/ai-agents/ai-sdk-harness-layer-now-supports-na… · home topics ai-agents article
[ARTICLE · art-129651] src=vercel.com ↗ pub= topic=ai-agents verified=true sentiment=↑ positive

AI SDK harness layer now supports native subscription authentication

The AI SDK harness layer now supports authenticating coding-agent harnesses through their native subscriptions, Vercel announced in a changelog. The layer runs different coding agents through the same HarnessAgent interface, and the direct and default auto authentication modes fall back to a native subscription found on the host when no provider credentials or AI Gateway credentials are set, while the ai-gateway mode never reads native subscriptions. Native subscription credentials stay on the host, with OAuth access tokens refreshed there and placeholder credentials injected into outbound requests where the sandbox supports it; supported harness adapters include Claude Code, Cline, Codex, Cursor, fx, GitHub Copilot, Grok Build, OpenCode, and Pi.

by read1 min views1 publishedSep 14, 2026

The AI SDK harness layer now supports authenticating harnesses through their native subscriptions, where the underlying harness supports them. The harness layer runs different coding agents through the same HarnessAgent interface, so you can switch agents without changing your application code.

No code changes or new settings are required. The direct authentication mode uses explicit provider environment credentials when they are present, and otherwise a native subscription found on the host. The default auto mode does the same when no AI Gateway credentials are set. The ai-gateway mode never reads native subscriptions.

Native subscription credentials stay on the host. Just like with API keys, credentials are resolved at the host boundary. OAuth access tokens are refreshed there as needed. Where the sandbox supports it, the harness receives placeholder credentials and the real token is injected into outbound requests on the host.

Native subscriptions work across harness adapters wherever the harness itself supports subscription login. These include Claude Code, Cline, Codex, Cursor, fx, GitHub Copilot, Grok Build, OpenCode, and Pi.

Read the harness documentation to learn more.

── more in #ai-agents 4 stories · sorted by recency
── more on @ai sdk 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/ai-sdk-harness-layer…] indexed:0 read:1min 2026-09-14 ·