Add Provider Package
Add Provider Package walks developers through building a new @ai-sdk/<provider> package to connect an AI service to the AI SDK. It covers the full architecture, from package setup and TypeScript configuration through model implementation, testing, and documentation.
Add Provider Package helps you create a new @ai-sdk/<provider> package to integrate an AI service.
AI-generated summary based on this skill's SKILL.md
Decision gist · record as of 2026-07-28
Add Provider Package helps you create a new @ai-sdk/<provider> package to integrate an AI service. Add Provider Package walks developers through building a new @ai-sdk/<provider> package to connect an AI service to the AI SDK. It covers the full architecture, from package setup and TypeScript configuration through model implementation, testing, and documentation.
Use it when
- Add Provider Package covers the complete setup workflow: initializing the package structure, configuring TypeScript settings.
- Add Provider Package provides guidance for building and installing provider packages compatible with the AI SDK ecosystem.
Install
vercel/ai/add-provider-package · repository language: TypeScript
generated, unverified - the skill's exact subdirectory could not be determined; check the repository on GitHub
Open directory. Skills are indexed for reading, not audited. Review a skill's body before installing it.
Frequently asked questions
AI-generated answers based on this skill's SKILL.md and metadata
How do I add a provider package to my project?
Add Provider Package guides you through installing a new @ai-sdk/<provider> package to connect an AI service to the AI SDK. The process includes setting up your project structure, configuring TypeScript, implementing model classes, and integrating the provider into your application. Follow the step-by-step setup instructions to ensure proper configuration and compatibility with your existing codebase.
What does provider package setup involve?
Add Provider Package covers the complete setup workflow: initializing the package structure, configuring TypeScript settings, defining provider architecture, implementing model interfaces, writing tests, and creating documentation. The guide walks through each phase so you understand how to properly structure and integrate your provider with the AI SDK framework.
Can I install provider package Vercel with Add Provider Package?
Add Provider Package provides guidance for building and installing provider packages compatible with the AI SDK ecosystem. While it covers general provider package installation principles, consult Vercel-specific documentation for their particular provider setup requirements and any platform-specific configuration steps needed for your deployment.
What's included in the provider package installation guide?
Add Provider Package includes architecture overview, package initialization, TypeScript configuration, model implementation patterns, testing strategies, and documentation best practices. It equips you with the knowledge to set up a complete provider package from scratch and integrate it seamlessly into projects using the AI SDK.
How do I configure and integrate a provider package?
Add Provider Package addresses configuration and integration through detailed walkthroughs of connecting your provider to the AI SDK. Learn how to set up authentication, define model capabilities, handle requests and responses, implement error handling, and test your integration to ensure reliable performance within the broader AI SDK ecosystem.
Let your AI agent find skills like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 56,283 agent skills by what they can do, searchable in plain language.
wish › “Add or install a new provider package to a project”
Give your agent the search over MCP, or paste the wish link into any chat. No install? Search from any chat →
Related skills
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.
This skill manages model ID updates across the AI SDK, handling both additions of new models and removals of obsolete ones. It guides you through discovering all affected locations, updating type definitions and documentation, and refreshing examples and tests to reflect current model availability.
This skill guides you through building examples for Vercel's AI SDK functions—from text generation and streaming to structured outputs, agents, embeddings, and multimodal tasks. Use it to validate provider support, demonstrate features, or create test fixtures by following organized templates and running examples with the provided utility helpers.
This skill manages updates to the core SDK dependencies that power harness adapters, ensuring each package stays current with its respective framework. It handles both bridge harnesses like Claude Code and non-bridge variants, applying version constraints consistently across dependencies and examples. A built-in verification script confirms all relevant versions remain aligned.
This skill provides deep expertise in Vercel AI SDK v5, covering streaming architectures, model integrations, React hooks, edge runtime optimization, and production AI patterns. It detects your project setup and adapts recommendations for your specific environment, including version compatibility and migration guidance from v4.
monorepo-setup equips you to architect high-performance monorepo environments using Turborepo and pnpm, enabling efficient dependency management and build orchestration across multiple packages. This skill streamlines workspace configuration, optimizing build times and developer experience for teams managing complex, interconnected projects at scale.
More skills core (Apache-2.0) · Ts Sdk Author (AGPL-3.0) · monorepo-management (MIT) · monorepo-management (MIT) · turborepo (MIT)