ai-sdk-provider-claude-code banner
ben-vargas ben-vargas

ai-sdk-provider-claude-code

AI community intermediate

Description

> **Latest Release**: Version 3.x supports AI SDK v6 stable with the Claude Agent SDK. For AI SDK v5 support, use the `ai-sdk-v5` tag.

Installation

Terminal
claude install-skill https://github.com/ben-vargas/ai-sdk-provider-claude-code

README

AI SDK Provider for Claude Agent SDK

**Latest Release**: Version 3.x supports AI SDK v6 stable with the Claude Agent SDK. For AI SDK v5 support, use the `ai-sdk-v5` tag.

**ai-sdk-provider-claude-code** lets you use Claude via the [Vercel AI SDK](https://sdk.vercel.ai/docs) through the official `@anthropic-ai/claude-agent-sdk` and the Claude Code CLI.

Version Compatibility

Provider Version AI SDK Version Underlying SDK NPM Tag Status Branch
3.x.x v6 @anthropic-ai/claude-agent-sdk latest Stable main
2.x.x v5 @anthropic-ai/claude-agent-sdk ai-sdk-v5 Stable `ai-sdk-v5`
1.x.x v5 @anthropic-ai/claude-code (legacy) v1-claude-code-sdk Legacy `v1`
0.x.x v4 @anthropic-ai/claude-code (legacy) ai-sdk-v4 Legacy `ai-sdk-v4`

Installing the Right Version

...