
Add Provider Package
Guide for building first-party AI SDK provider packages that integrate external AI services with current interfaces.
- skills.sh installs
- 1.4K
- GitHub stars
- 28.1K
- last updated
- Aug 21, 2026
What it does
- Covers API contract discovery, package scaffolding, provider factories, and model class implementation for
@ai-sdk/<provider>packages - Includes conventions for Zod schemas, workflow serialization, secure URL handling, and error responses drawn from repository contributing docs
- Enforces prior issue agreement before implementing a new first-party package and requires
2.0.0as the initial version - Designed for contributors adding a new provider to the AI SDK repository who need to follow current internal conventions
Install
$ npx -y skills add vercel/ai --skill add-provider-package -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Add a Provider Package
Add a complete first-party @ai-sdk/<provider> package that follows the current provider interfaces, repository conventions, security requirements, and release process.
Read the Current Sources of Truth
Before implementing anything, read:
- Add new provider for current package and release requirements
- Provider development notes for naming, schemas, and workflow serialization
- Provider architecture for the provider abstraction
- Secure URL handling when the provider fetches polling, image, audio, video, or other URLs
Use PR #18595 as a recent end-to-end example, but choose the current provider package whose API shape and model types most closely resemble the new provider as the implementation reference.
Third parties can publish provider packages outside this repository. A new first-party @ai-sdk/<provider> package requires prior discussion in an issue. Confirm that agreement exists before implementing the package.
Details
- Repository
- github.com/vercel/ai
- Categories
- AI Agents & LLM Apps, Skill & Plugin Building
- First seen
- Jun 3, 2026
More from vercel/ai
All 8Similar to Add Provider Package
More AI Agents & LLM Apps
update-provider-modelsSkillvercel/ai285 installsSkill for adding and removing AI SDK provider model IDs across type unions, docs, examples, and tests.
develop-ai-functions-exampleSkillvercel/ai1.9K installsGuide for writing AI SDK function examples in examples/ai-functions/src, organized by function and provider.
add-providerSkillThinkInAIXYZ/deepchat6.4K starsStep-by-step workflow for adding a DeepChat LLM provider through reviewed source changes.
Context7MCP serverupstash65.3K starsCurrent, version-specific library docs and code examples fetched into an AI coding agent's context.
mcp-builderPluginComposioHQ/awesome-claude-skills51.5K starsGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when b