by ben-vargas
Vercel AI SDK community provider for Claude Code SDK - Use Pro/Max Subscription via SDK.
# Add to your Claude Code skills
git clone https://github.com/ben-vargas/ai-sdk-provider-claude-codeLatest Release: Version 3.x supports AI SDK v6 stable with the Claude Agent SDK. For AI SDK v5 support, use the
ai-sdk-v5tag.
ai-sdk-provider-claude-code lets you use Claude via the Vercel AI SDK through the official @anthropic-ai/claude-agent-sdk and the Claude Code CLI.
| Provider Version | AI SDK Version | Underlying SDK | NPM Tag | Status | Branch |
| ---------------- | -------------- | ------------------------------------ | -------------------- | ------ | --------------------------------------------------------------------------------------- |
| 3.x.x | v6 | @anthropic-ai/claude-agent-sdk | latest | Stable | |
| 2.x.x | v5 | | | Stable | |
| 1.x.x | v5 | (legacy) | | Legacy | |
| 0.x.x | v4 | (legacy) | | Legacy | |
No comments yet. Be the first to share your thoughts!
main@anthropic-ai/claude-agent-sdkai-sdk-v5@anthropic-ai/claude-codev1-claude-code-sdk@anthropic-ai/claude-codeai-sdk-v4For AI SDK v6 (recommended):
npm install ai-sdk-provider-claude-code ai@^6.0.0
# or explicitly: npm install ai-sdk-provider-claude-code@latest
For AI SDK v5:
npm install ai-sdk-provider-claude-code@ai-sdk-v5 ai@^5.0.0
For AI SDK v4 (legacy):
npm install ai-sdk-provider-claude-code@ai-sdk-v4 ai@^4.3.16
# or use specific version: npm install ai-sdk-provider-claude-c...