# add-provider-package

> Claude/Codex skill by [@vercel](https://omgskills.com/library/vercel/index.md) · 27k stars · Updated 2026-10-18

Guide for adding first-party AI provider packages to the AI SDK. Use when creating a provider package under packages/ to integrate an external AI service.

Tags: anthropic, artificial-intelligence, gemini, generative-ai, generative-ui, javascript, language-model, llm, nextjs, openai, react, svelte, typescript, vercel, vue

## Install

```sh
git clone https://github.com/vercel/ai /tmp/ai && ln -s /tmp/ai/skills/add-provider-package ~/.claude/skills/add-provider-package
```

## From README

Add a Provider Package Add a complete first-party @ai-sdk/ 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/ package requires prior discussion in an issue. Confirm that agreement exists before implementing the package.

## Links

- HTML page: https://omgskills.com/skills/vercel/ai/add-provider-package/
- GitHub: https://github.com/vercel/ai
- Author: [@vercel](https://omgskills.com/library/vercel/index.md)

## More from this repo

- [adr-skill](https://omgskills.com/skills/vercel-labs/ai/adr-skill/index.md) — Used to create and maintain Architecture Decision Records (ADRs) optimized for agentic coding workflows.
   - [@vercel-labs](https://omgskills.com/library/vercel-labs/index.md) · 27k stars

## More skills by this author

- [authoring-skills](https://omgskills.com/skills/vercel/next.js/dot-agents/skills/authoring-skills/index.md) — How to create and maintain agent skills in .agents/skills/.
   - [@vercel](https://omgskills.com/library/vercel/index.md) · 142k stars
- [backport-pr](https://omgskills.com/skills/vercel/next.js/dot-agents/skills/backport-pr/index.md) — Backport a merged Next.js pull request from canary to a previous release branch such as next-16-2.
   - [@vercel](https://omgskills.com/library/vercel/index.md) · 142k stars
