sdkscore.

Can AI coding agents actually use your SDK?

AI agents now write most first integrations. SDKScore measures how often they get your SDK right: the generated code either compiles against your published types or it doesn't. No LLM judges, no vibes.

01 / PIN

Pin the SDK

Every SDK is installed at an exact version into a throwaway project. Types come from the real package, not from docs.

02 / PROMPT

Publish the tasks

Four realistic integration tasks per SDK. The prompts are public and identical for every model.

03 / GENERATE

Run the agent headlessly

Each agent writes the file with no human in the loop, no retries, and no access to the grader.

04 / GRADE

Compile, don't judge

tsc --noEmit against the pinned types, plus published pattern checks for verified-deprecated APIs.

Score = 100 × passed ÷ total samples, with a 95% confidence interval. Docs uplift: how much the score changes when current official documentation is provided in context. Compilation is a lower bound on correctness, not proof of it. Read the methodology and the limitations.

Leaderboard

Click any row for the per-task breakdown and the exact compiler errors.

SDKScore leaderboard — overall and per-model scores for 10 SDKs, benchmark run 2026-07-27.
#SDKgpt-5.6-solhaiku-4.5sonnet-5Overall
01
Octokit (GitHub REST)
devtools
100 76–100
100 76–100
100 76–100
100
02
Supabase
database
100 76–100
100 76–100
100 76–100
100
03
Hono
web
100 76–100
92 65–99
92 65–99
95
04
Stripe
payments
100 76–100
83 55–95
83 55–95
89
05
Zod
validation
100 76–100
50 25–75
92 65–99
81
06
Resend
email
100 76–100
25 9–53
100 76–100
75
07
Drizzle ORM
database
100 76–100
25 9–53
92 65–99
72
08
Anthropic
ai
25 9–53
75 47–91
100 76–100
67
09
OpenAI
ai
75 47–91
25 9–53
92 65–99
64
10
Vercel AI SDK
ai
50 25–75
0 0–24
75 47–91
42

Add your badge

If your SDK is on the board, it has a badge. It updates when the benchmark reruns. Nothing to host, nothing to install.

sdkscore score badge badges/stripe.svg
[![SDKScore](https://sdkscore.dev/badges/stripe.svg)](https://sdkscore.dev/#stripe)
90–100 75–89 60–74 below 60

Get your SDK scored

Adding an SDK is free and the results are published whether they flatter you or not. Send the package name and four integration tasks you actually care about.

  • Public npm package with shipped TypeScript types
  • Four tasks a real developer would write in week one
  • You may contest any failing task in a public issue

Questions

Numbers in the answers come from the current run.

Why do AI coding agents write outdated SDK code?

A model only knows an SDK as it existed at its training cutoff, and SDKs ship on their own cadence. Renames, removed methods and reshaped option objects that land after the cutoff are invisible to it, so it keeps writing the last version it saw. That code often reads fine and still fails to compile against the published types.

Which SDKs do agents fail most?

Bottom of the July 2026 run: Vercel AI SDK at 42/100 and OpenAI at 64/100, averaged across gpt-5.6-sol, haiku-4.5 and sonnet-5. The list is regenerated from results.json on every rerun. The exact compiler diagnostics behind each failing task are published there too.

How are scores graded?

Generated code is compiled with tsc --noEmit against the SDK's pinned, real published types, then checked against published patterns for APIs the vendor documents as deprecated. A task passes only if it compiles clean and uses none of those APIs. No LLM judges and no rubric: the compiler is the only referee.

How do I get my SDK scored?

Open a public issue or email hello@sdkscore.dev with the npm package name, a version to pin, and four integration tasks a real developer writes in week one. Scoring is free and the results are published whether they flatter the SDK or not. The requirements are listed in Get your SDK scored.