{"enrichment":{"faq":[{"a":"Add Harness Package provides guidance on installing and integrating the harness package into your project. The primary workflow involves adding the harness dependency through your package manager, then configuring it to bridge your coding-agent runtime to the AI SDK's HarnessV1 interface. Follow the package structure and TypeScript setup instructions to establish the adapter layer needed for your specific runtime environment.","q":"How do I add harness package to my project?"},{"a":"Add Harness Package explains that the harness npm package serves as a bridge between coding-agent runtimes and the AI SDK's HarnessV1 interface. It provides the framework for building adapters that translate your runtime's tool schemas and authentication mechanisms into the standardized format expected by the AI SDK, enabling seamless integration of your coding agent.","q":"What is the harness npm package used for?"},{"a":"Add Harness Package covers the complete setup process: install the harness dependency via npm, then implement the adapter layer according to your runtime's specific requirements. The guide addresses package structure, TypeScript configuration, runtime-specific concerns like authentication, and tool schema translation to ensure your harness integration works correctly with the AI SDK.","q":"How to add harness to project with proper setup?"},{"a":"Add Harness Package includes guidance on Vercel integration as part of its broader deployment and infrastructure considerations. While the primary focus is on the harness package installation and configuration itself, the guide addresses runtime-specific deployment concerns that apply when using Vercel as your hosting platform.","q":"Can I integrate harness package with Vercel infrastructure?"},{"a":"Add Harness Package installation includes the core harness dependency, TypeScript type definitions, and the foundational adapter framework. The package provides the HarnessV1 interface implementation, configuration templates, and runtime-specific setup patterns needed to connect your coding-agent runtime to the AI SDK, along with documentation for auth and tool schema translation.","q":"What does the harness package installation include?"},{"a":"Add Harness Package addresses configuration for both deployment and testing scenarios. After installation, configure your adapter implementation to handle runtime-specific concerns like authentication and tool schema translation. The guide provides configuration patterns and best practices to ensure your harness setup works correctly in both testing environments and production deployment contexts.","q":"How do I configure harness for deployment or testing?"}],"shadow_tags":["package-management","dependency-installation","framework-setup","build-integration","project-initialization"],"summary_rewrite":"This guide walks through building a new harness package that bridges a coding-agent runtime to the AI SDK's HarnessV1 interface. It covers package structure, configuration, TypeScript setup, adapter implementation, and runtime-specific concerns like auth and tool schema translation."},"gist":{"api_url":"https://skillfed.io/api/skills/vercel/ai/add-harness-package.json","as_of":"2026-07-28","description":"Add Harness Package provides step-by-step instructions for creating @ai-sdk/harness packages. npx skillfed install vercel/ai/add-harness-package","install":{"manual":["git clone https://github.com/vercel/ai","cp -r ai ~/.claude/skills/add-harness-package"],"primary":"npx skillfed install vercel/ai/add-harness-package","version":"f8be79e9"},"kind":"skill","mirror_url":"https://skillfed.io/vercel/ai/add-harness-package.md","similar":[{"id":"vercel/ai/add-provider-package","name":"Add Provider Package","publisher":"vercel/ai","url":"https://skillfed.io/vercel/ai/add-provider-package"},{"id":"vercel/ai/update-harness-dependencies","name":"Update Harness Dependencies","publisher":"vercel/ai","url":"https://skillfed.io/vercel/ai/update-harness-dependencies"},{"id":"vercel/ai/update-provider-models","name":"Update Provider Models","publisher":"vercel/ai","url":"https://skillfed.io/vercel/ai/update-provider-models"},{"id":"vercel/ai/develop-ai-functions-example","name":"Develop Ai Functions Example","publisher":"vercel/ai","url":"https://skillfed.io/vercel/ai/develop-ai-functions-example"}],"title":"Add Harness Package by vercel: Install or add the harness package to a project \u2014 SkillFed","use":{"when":["Add Harness Package explains that the harness npm package serves as a bridge between coding-agent runtimes and the AI SDK's HarnessV1.","Add Harness Package covers the complete setup process: install the harness dependency via npm."]},"what":{"lead":"Add Harness Package provides step-by-step instructions for creating @ai-sdk/harness packages.","rest":"This guide walks through building a new harness package that bridges a coding-agent runtime to the AI SDK's HarnessV1 interface. It covers package structure, configuration, TypeScript setup, adapter implementation, and runtime-specific concerns like auth and tool schema translation."}},"id":"vercel/ai/add-harness-package","install":{"mode":"external","repo":"https://github.com/vercel/ai"},"links":{"html":"https://skillfed.io/vercel/ai/add-harness-package","md":"https://skillfed.io/vercel/ai/add-harness-package.md","repo":"https://github.com/vercel/ai"},"meta":{"agents_supported":[],"first_seen":"2026-07-28","forks":4866,"language":"TypeScript","last_updated":"2026-07-28","license":"NOASSERTION","name":"Add Harness Package","publisher":"vercel","stars":25844},"relations":{"similar":[{"id":"vercel/ai/add-provider-package"},{"id":"vercel/ai/update-harness-dependencies"},{"id":"vercel-labs/open-agents/ai-sdk"},{"id":"vercel/ai/use-ai-sdk"},{"id":"vercel/ai/update-provider-models"},{"id":"laguagu/claude-code-nextjs-skills/ai-sdk"},{"id":"pedronauck/skills/ai-sdk"},{"id":"laguagu/claude-code-nextjs-skills/ai-sdk-7"},{"id":"vercel/ai/develop-ai-functions-example"},{"id":"vercel/ai/capture-api-response-test-fixture"}]},"slug":{"owner":"vercel","repo":"ai","skill":"add-harness-package"},"version":"f8be79e9"}
