gitwtfhub

wtf is ai-sdk-provider-claude-code?

skevy/ai-sdk-provider-claude-code — explained in plain English

Analysis updated 2026-07-17 · repo last pushed 2026-03-15

Audience · developerComplexity · 3/5MaintainedSetup · moderate

TL;DR

A community bridge that lets developers use Claude through Vercel's AI SDK, so existing AI SDK code can call Claude without rewriting the application.

Mindmap

mindmap
  root((repo))
    What it does
      Bridges Vercel AI SDK
      Connects to Claude
      Uses Agent SDK
      Standard interface
    Tech stack
      Vercel AI SDK
      Claude
      Agent SDK
    Use cases
      Swap in Claude
      Streaming responses
      Structured outputs
      Tool use
    Audience
      AI app developers
    Notes
      Community project
      Not Anthropic affiliated
      Data goes to Anthropic

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

Why would anyone build with this?

REASON 1

Swap Claude into an existing Vercel AI SDK app without rewriting the codebase.

REASON 2

Stream multi-turn Claude conversations using the same streamText functions as other AI SDK providers.

REASON 3

Get structured JSON responses from Claude using generateObject.

REASON 4

Use Claude's tool-calling features to let it interact with functions or files in an AI SDK app.

What's in the stack?

Vercel AI SDKClaudeTypeScript

How it stacks up

skevy/ai-sdk-provider-claude-code0verflowme/alarm-clock0xhassaan/nn-from-scratch
Stars0
LanguageCSSPython
Last pushed2026-03-152022-10-03
MaintenanceMaintainedDormant
Setup difficultymoderateeasymoderate
Complexity3/52/54/5
Audiencedevelopervibe coderdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you spin it up?

Difficulty · moderate Time to first run · 30min

Version 3 removed some implicit defaults like auto-loading a system prompt from disk, old behavior must be explicitly configured.

Yoink these prompts

Prompt 1
Show me how to install and configure ai-sdk-provider-claude-code in my Vercel AI SDK project.
Prompt 2
Help me switch my existing Vercel AI SDK app from another provider to Claude using this package.
Prompt 3
How do I use streamText with this provider to get streaming responses from Claude?
Prompt 4
How do I inject mid-conversation instructions to redirect Claude using this provider's supervisor pattern?

Frequently asked questions

wtf is ai-sdk-provider-claude-code?

A community bridge that lets developers use Claude through Vercel's AI SDK, so existing AI SDK code can call Claude without rewriting the application.

Is ai-sdk-provider-claude-code actively maintained?

Maintained — commit in last 6 months (last push 2026-03-15).

How hard is ai-sdk-provider-claude-code to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is ai-sdk-provider-claude-code for?

Mainly developer.

View the repo → Decode another repo

This repo across BitVibe Labs

Don't trust strangers blindly. Verify against the repo.