Vercel AI SDK 7
Read the two badges separately: the first is whether this page is backed by evidence, the second is whether the product is still maintained. An archived product can have complete evidence; complete evidence does not mean the product is active.
30-second check: should it make your shortlist?
A TypeScript/JS agent toolkit: unified model and tool calls plus streaming, and with…
Local / self-hosted · Framework / SDK
Open licence
Read the original licence before commercial useDirect in mainland · Not in filing list
These four cards help you rule things out, not decide for you. The real differences are in the eight questions and sources below.
Information not confirmed
- Official support status for MCP integration (kept at the official category level)
- Permission and sandbox differences across harness adapters (kept at the official category level)
- Local-file access and adapters beyond Vercel Sandbox
A TypeScript/JS agent toolkit: unified model and tool calls plus streaming, and with HarnessAgent it can treat Claude Code, Codex, Pi and other runtimes as switchable backends.
When to use it, when not to
Fits TypeScript/JS teams building agent apps who want to switch models or harnesses without rewriting business code. Does not fit turnkey agents (see coding/chat products) or Python ecosystems (see LangGraph/Agno).
China availability domestic / direct access / CAC filing · snapshot 2026-11-03
- Origin
- foreign-made Vercel (US).
- Direct access
- direct OK Direct reachability from mainland not verified; official docs and npm packages are usually available through mirrors.
- CAC filing
- not in filing list:Not in the CAC public registry (searched 2026-11-03); the open-source library does not serve the mainland public, so filing does not apply.
Filing status is quoted from the CAC public registry (updated batch by batch; this site copies the number and does not interpret it). "Direct access" is this site's own reachability measurement from a mainland network, not a vendor promise. GitHub-hosted sites fluctuated on the measurement day — the note says so.
8 questions, one table
8 questions, each comparable item by item with its peers.
- Model & openness
Connects to multiple model providers through provider packages; model switching happens in application code. AI SDK 7 adds HarnessAgent, which treats existing agent harnesses as switchable runtimes (official changelog).
- Where it runs
A TypeScript/JavaScript library running inside your Node, edge or browser app; harness adapters drive external agent runtimes such as Claude Code, Codex and Pi, with sandboxes supplied by the adapter (the official example uses Vercel Sandbox).
- Local files
File access depends on the harness and sandbox: the official example uses createVercelSandbox for an isolated filesystem; local-file access kept at the official category level.
- Tasks after shutdown
The library ships no task queue; whether long tasks continue in the background depends on the chosen harness and sandbox runtime.
- Tools & extensions
Tool calling is a core abstraction; the official changelog shows HarnessAgent combined with sandboxes. MCP integration kept at the official category level.
- Context & memory
Message history is managed by the application; the library has no built-in persistence, so you attach a database or session store yourself.
- Permissions & limits
Mostly BYOK with keys on the application side; sandbox boundaries come from the harness adapter, and the official example uses Vercel Sandbox as the isolation layer. Multi-tenant isolation is your design.
- Best for
Fits TypeScript/JS teams building agent apps who want to switch models or harnesses without rewriting business code. Does not fit turnkey agents (see coding/chat products) or Python ecosystems (see LangGraph/Agno).
Licence and terms of use
Apache-2.0 (AI SDK repository licence; the repo LICENSE is authoritative; dependency licences not verified line by line).
Top misconception
- Treating HarnessAgent as "Claude Code built in" — it is an adapter layer and still needs the harness and runtime
- Assuming switching harness needs no permission changes — different harnesses expose different tools and sandbox boundaries
- Treating the library as a hosted service — AI SDK does not run a task queue for you
Evidence sources
Checked 2026-11-03,Content updated 2026-11-03。This is the date of the entry, not a claim that every field was rechecked that day.
| Type | Name | Link |
|---|---|---|
| changelog | Vercel · AI SDK 7 is now available (2026 changelog, HarnessAgent and harness adapters) | https://vercel.com/changelog/ai-sdk-7 |
| docs | Vercel · Program Claude Code, Codex, Pi and other agent harnesses with AI SDK (2026-06-12) | https://vercel.com/changelog/program-agent-harnesses-with-ai-sdk |
| changelog | Vercel · Cline is now available in the AI SDK harness layer (2026-08-18) | https://vercel.com/changelog/cline-harness-adapter |
Test notes
This site has not completed integration or performance tests; the conclusions cover the API and capabilities disclosed in official docs only.
Related entries
- OpenAI Agents SDKBoth are agent application frameworks; AI SDK leans TS/JS and multiple harnesses.
- Claude Agent SDKA programming interface for a single harness, contrasting with AI SDK's multi-harness route.
- CursorOther layer · AI coding
Same-category peers
Look at these three before reading further
Selected by overlap in jobs, not ranked. Compare where it runs, licence and status first; if one of the three fails, skip it.
| Object | Where | Licence | Evidence / status | What it is for |
|---|---|---|---|---|
| AG2 | Local / self-hosted | Open licence | 8 questions checked Active | The community continuation of AutoGen after the original repo stalled. T |
| AgentScope | Local / self-hosted | Open licence | 8 questions checked Active | AgentScope is the flagship domestic multi-agent framework (Apache-2.0, A |
| Agno (formerly Phidata) | Local / self-hosted | Open licence | 8 questions checked Active | Agno (formerly Phidata) ships framework + control plane as one: define a |
Same vendor
More from Vercel
One vendor’s products are often split across categories. This list puts them together so you do not have to assemble them across five sites.
This page is generated from the ai-handbook data layer (CC BY 4.0).
For the judging criteria and method notes, see METHODOLOGY.md.