VercelCompanyVercelVercel is a cloud platform for building and deploying web applications and agents. Its AI portfolio includes v0 for production app creation, AI SDK and Gateway infrastructure, and a broader agentic-cloud strategy.v0AI SDKOpen companyAgent Framework
AI SDK
Vercel's Apache 2.0 TypeScript toolkit ships on npm as ai. One API covers text, structured output, tools, and agents across 46 first-party model integrations. React, Vue, Svelte, and Angular hooks stream chat. Vercel AI Gateway is the default model route.
The 30-Second Take
Pick the AI SDK if your AI feature lives in a TypeScript web app and someone owns its upgrades.
It is Vercel's free toolkit for model calls, tools, agent loops and streaming UI, on any provider. openstatus runs its Slack incident agent on it.
- Best fit
- Product teams adding chat, structured output or tool-using agents to a TypeScript web app, on any model provider.
- Main constraint
- Three majors in eleven months, each renaming APIs that production code uses, and version 7 drops CommonJS and older Node.js releases.
- First move
- Build one feature on AI SDK 7 with a pinned version, a stop condition, and telemetry registered at startup.
Why
Watch the release pace: three majors in eleven months, each renaming APIs your production code uses. Earendil's founder wrote that he would not build on its provider layer again.
83 practitioners, 106 sources reviewed, Updated Nov 1, 2026How this is measured
- Operating stack
- AI Application Platform
Comparisons
How does AI SDK compare with the alternatives?
AI SDK vs LangGraph
- Agent Frameworks
GitLab and Qodo run LangGraph in production for checkpointed agents, and yeos.ai removed it after months. Pick the AI SDK for agents inside a TypeScript product, as openstatus does, and LangGraph when runs must pause, resume and be inspected step by step.
AI SDK vs OpenAI Agents SDK
- Agent Frameworks
aicommits and Helpmaton build on the AI SDK for one API across model vendors and streaming UI, and Octagon AI chose OpenAI's Agents SDK for its agent loop. Pick the Agents SDK for OpenAI-first agents with handoffs, guardrails, and tracing in OpenAI's dashboard.
AI SDK vs Mastra
- Agent Frameworks
Pick the AI SDK for model calls, tool loops, and chat UI hooks inside your own app, with AI Gateway at provider list prices. Pick Mastra for workflows, memory, evals, and an optional hosting platform in one TypeScript framework.
Operator Insights
What are teams learning from building on AI SDK and running it in production?
Felipe CadavidSoftware engineerBrainGrid
BrainGrid's agent platform for turning product ideas into specs. 14 tools. Anthropic models.
BrainGrid blog, published Read the write-up (opens BrainGrid blog in a new tab)
Observation
BrainGrid moved 14 agent tools from AI SDK 4 to the 5 beta in a couple of days, and support tickets about a frozen UI dropped to zero.
- Takeaway
- Upgrade for a user-visible reason, pin the exact beta, and treat the stricter types as a bug hunt: they surfaced 7 bugs the old SDK accepted.
- What happened
- Users saw a blinking cursor while BrainGrid's agent composed long tool inputs, so the team moved from AI SDK 4.3.16 to 5.0.0-beta.25 for tool-input streaming and provider options. Every tool definition needed renamed fields, the stricter message types broke a token counter that assumed string content, and the new stop conditions changed how long agents ran. After the migration, tool cards appear as soon as the agent starts a tool, and Anthropic cache control covers the tool definitions.
“We migrated BrainGrid's core AI infrastructure from AI SDK v4 to v5. Here's how it went.”
Felipe Cadavid - Public engineering write-up
- Team metrics reported
- Version change stated
Deployment details
BrainGrid's agent platform for turning product ideas into specs. 14 tools. Anthropic models.
- Public engineering write-up
- Team metrics reported
- Version change stated
- Team
- BrainGrid engineering
- Duration
- A couple of days of migration work
- Workload
- Agent system with streaming tool calls
- Product version
- AI SDK 4.3.16 to 5.0.0-beta.25
- Model
- Anthropic Claude, with cache control on tool definitions
- Measurement
- Frozen-UI tickets 1 to 3 a week down to 0; tool execution 17% faster; tool-definition API cost down 7%; 7 type bugs caught
Jason Safaiyeh (safaiyeh)Engineer running the AI SDK in a production APIChappie
A production API on AWS Fargate with a 2 GB memory limit that sends PDFs to models as AI SDK file parts. The issue names no company. Chappie is the company on the reporter's GitHub profile.
GitHub, vercel/ai, published Read the write-up (opens GitHub, vercel/ai in a new tab)
Observation
In a production incident on an API Jason Safaiyeh runs, one 14 MB PDF sent through the AI SDK killed a 2 GB container in about 40 seconds and took about 100 requests with it.
- Takeaway
- Load-test the largest file a user can upload through the exact SDK version you ship, and alarm on container memory well below the limit.
- What happened
- On Sep 1, 2026 a single 14,078,689-byte PDF sent as a file part took a production task from about 640 MB to its 2 GB limit in about 40 seconds. The out-of-memory kill failed about 100 requests, 94 of them load balancer 502 errors (GitHub issue, Sep 1, 2026). The cause was the SDK's per-byte base64 encoding of file parts. Maintainers reproduced it on AI SDK 5 and 6 and closed the issue with a fix on Sep 8, 2026.
“On 2026-09-01 this OOM-killed one of our production API tasks (AWS Fargate, 2GB memory limit) in ~40 seconds: a single 14,078,689-byte PDF sent as a Uint8Array file part. The task went from a flat ~640MB to a hard kill at the container limit inside one minute, taking ~100 requests with it (94× ALB 502s) before ECS replaced it.”
safaiyeh - Public engineering write-up (GitHub issue)
- Team metrics reported
Deployment details
A production API on AWS Fargate with a 2 GB memory limit that sends PDFs to models as AI SDK file parts. The issue names no company. Chappie is the company on the reporter's GitHub profile.
- Public engineering write-up (GitHub issue)
- Team metrics reported
- Team
- One production API team, unnamed in the issue
- Workload
- A production API that sends PDFs to models as file parts
- Product version
- AI SDK file parts; maintainers reproduced the fault on versions 5 and 6
- Measurement
- About 100 failed requests, 94 of them 502 errors, in one out-of-memory kill
Buying and deployment
What a team building on it should verify before production traffic grows.
Sourced from Vercel documentation
Signals
What is the current evidence saying about AI SDK?
What 95 public accounts report about building on the AI SDK, where provider switching draws the most consistent praise and provider translation bugs the most complaints. Each finding links to its sources.
Practitioner sentiment, all practitioners
+36 Positive net
of 85 sources that take a side, each author counted once.
How this figure is madeTeams and leaders have 18 accounts; GILD prints their sentiment from 20.
Current sentiment
Positive, mixed and negative sources
The score counts them as 35 positive, 43 mixed and 5 negative votes, one per author.
Across 94 sources the read is positive: 35 positive, 5 negative, 45 mixed, and 8 listed without counting. One API across providers draws the most consistent praise, positive in 16 of 17 sources. Provider translation bugs are raised in 14 and breaking changes in 9.
Build one pilot agent to measure the glue code and debugging time the framework adds.
Evidence field. All 106 sources, one mark each.
Arrange by
Each mark is one source: positive, mixed, negative, no opinion stated, or documentation (not counted).
| Group | Sources | Positive | Mixed | Negative | No opinion stated and not counted in the score | Documentation, checked and not counted |
|---|---|---|---|---|---|---|
| Positive | 35 | 35 | 0 | 0 | 0 | 0 |
| Mixed | 45 | 0 | 45 | 0 | 0 | 0 |
| Negative | 5 | 0 | 0 | 5 | 0 | 0 |
| Not counted | 9 | 0 | 0 | 0 | 9 | 0 |
| Documentation | 12 | 0 | 0 | 0 | 0 | 12 |
| Quarter | Sources |
|---|---|
| Q1 2025 | 8 |
| Q2 2025 | 9 |
| Q3 2025 | 18 |
| Q4 2025 | 12 |
| Q1 2026 | 15 |
| Q2 2026 | 12 |
| Q3 2026 | 18 |
| Q4 2026 | 2 |
| Documentation, checked | 12 |
By sentiment
12 documentation pages check facts and are not counted.
Hover a mark for a quick look, click it or press Enter to open its source.Tap a mark to open its source, then step to its neighbors with Previous and Next.
What practitioners praise
Top praise of 4. Each mark is a source on it; filled marks praise it.
Most common concerns
Top concern of 5. Each mark is a source on it; filled marks raise it.
All 106 sources behind these findings
- WorkflowAgent run has no root span: each model call becomes its own agent root in the tracerobertyates, GitHub user (self-described: Durable WorkflowAgent runs traced to Arize, Phoenix and Langfuse), GitHub issue, published Oct 20, 2026
- AI SDK introductionVercel (Official), Product documentation, checked Oct 12, 2026
- AI SDK providersVercel (Official), Product documentation, checked Oct 12, 2026
- Choosing a providerVercel (Official), Product documentation, checked Oct 12, 2026
- Loop controlVercel (Official), Product documentation, checked Oct 12, 2026
- WorkflowAgentVercel (Official), Product documentation, checked Oct 12, 2026
- Tools and tool callingVercel (Official), Product documentation, checked Oct 12, 2026
- AI SDK HarnessesVercel (Official), Product documentation, checked Oct 12, 2026
- TelemetryVercel (Official), Product documentation, checked Oct 12, 2026
- AI SDK UI overviewVercel (Official), Product documentation, checked Oct 12, 2026
- Migration guide: AI SDK 7.0Vercel (Official), Product documentation, checked Oct 12, 2026
- AI Gateway pricingVercel (Official), Product documentation, checked Oct 12, 2026
- AI Gateway budgetsVercel (Official), Product documentation, checked Oct 12, 2026
- WorkflowAgent approval resume fails after intervening user media, after an approved tool already executedrpinckne, GitHub user (self-described: Tool approvals on durable WorkflowAgent runs), GitHub issue, published Oct 4, 2026
- HarnessAgent: stripWorkDir corrupts tool inputs/results by substring replace (
.github/workflows→.github.flows) and cannot be switched offhrithikbluelabel, GitHub user (self-described: Uses AI SDK HarnessAgent with Claude Code and a sandbox), GitHub issue, published Sep 17, 2026 - Per-byte base64 encoding of file parts caused a production OOM (kills a 2GB container on one 14MB PDF); fix exists in #13581safaiyeh, GitHub user (self-described: Production API on AWS Fargate), GitHub issue, published Sep 1, 2026
- Having Fun with Vercel's AI SDK and AI GatewayAdam Rackis, Developer writing about their own app (self-described: Fitness-tracking app generating workout templates), Personal blog post, Master.dev Blog, published Aug 31, 2026
- Unguarded Function.prototype.toString.call(fetch) at module eval breaks imports when globalThis.fetch is not callable (e.g. jest-environment-jsdom)Abhi Aiyer, co-founder and CTO of Mastra (@ai-sdk/provider-utils as bundled into @mastra/core, run under Jest with jsdom), GitHub issue, published Aug 24, 2026
- @ai-sdk/langchain: reused toolCallId across LangGraph steps loses the later tool lifecyclemdnanocom, GitHub user (self-described: LangGraph agent whose model reuses tool-call ids across steps, rendered with AI SDK UI), GitHub issue, published Aug 13, 2026
- readUIMessageStream: structuredClone of the entire accumulated message on every chunk (quadratic allocation: sibling of #18624 in the ai package)DeJeune, GitHub user (self-described: Student at Chinese Academy of Sciences University), GitHub issue, published Aug 12, 2026
- Comment on: What's the best programming language for coding agents?jodysalt, Hacker News commenter (self-described: Building coding agents in TypeScript), Hacker News comment, published Aug 11, 2026
- Comment on: Cloudflare OS: an open platform for agents, apps, and workkentonv, Hacker News commenter, developer of Cloudflare OS (self-described: Cloudflare OS agent harness), Hacker News comment, published Aug 6, 2026
- @ai-sdk/langchain: subgraphs:true drops namespace; global langgraph_step prematurely ends interleaved reasoningzjjaxx, GitHub user (self-described: LangGraph Deep Agents streamed with subgraphs into useChat and AI Elements), GitHub issue, published Aug 6, 2026
- Comment on: Go LLM SDK for streaming, tool-calling AI backends (plus frontend React lib)zknill, Hacker News commenter (self-described: Evaluating chat SDK backends), Hacker News comment, published Jul 30, 2026
- @ai-sdk/amazon-bedrock: native structured output silently degenerates (U+200B padding to token cap) on claude-sonnet-4-6: no opt-out; expose structuredOutputMode like @ai-sdk/anthropicrhamnett, GitHub user (self-described: Internal drafting feature on Amazon Bedrock), GitHub issue, published Jul 23, 2026
- @ai-sdk/langchain: isAIMessageChunk() fails for CJS instances, silent text-delta loss in CommonJS hosts (NestJS, Express, etc.)mahan-fk, GitHub user (self-described: LangGraph agent served from a NestJS backend to an AI SDK UI frontend), GitHub issue, published Jul 23, 2026
- problemtic default value of
max_tokensfor unknown modelsplutonium-94, GitHub user (self-described: Uses an Anthropic-compatible model provider with AI SDK 6), GitHub issue, published Jul 21, 2026 - Vercel AI SDK in Production: Streaming, Tool-Calling & the Gotchas Nobody Tells You (2026)Umesh Malik, Independent developer (self-described: Production chat features on Next.js), Personal blog post, umesh-malik.com, published Jul 21, 2026
- How are you persisting useChat history across redeploys? The tool-call part is what got meBusy_Zucchini6284, Reddit user (self-described: Own chat app on the AI SDK), Reddit post, r/vercel, published Jul 20, 2026
- streamText textStream tee path retains large streaming outputs in memorymatthew-gizmo, GitHub user (self-described: Cloudflare Worker import workload), GitHub issue, published Jul 6, 2026
- A Deprecated Accessor That Still Typechecks Broke My Benchmark (and Maybe Your Agent)Kevin Peckham, Principal at Lightning Jar (self-described: Multi-turn tool-calling benchmark harness on AI SDK 7), Engineering blog post, Lightning Jar, published Jul 6, 2026
- @ai-sdk/amazon-bedrock: Output.object() + tools intermittently fails with AI_NoObjectGeneratedError on Claude Opus 4.7/4.8Igal Mazor, GitHub user (self-described: Agentic generateText runs on Bedrock with tools and structured output, seen in production tracing), GitHub issue, published Jul 3, 2026
- experimental_toolApprovalSecret: addToolApprovalResponse drops the approval signature, breaking every signed approval on resumekoonaso, GitHub user, self-described, GitHub issue, published Jun 23, 2026
- Mastra vs AI SDK: I Built Production Apps With BothKristian, Independent developer (self-described: Production AI apps on Mastra and the AI SDK), Video, YouTube, published Jun 17, 2026
- Comment on: Is Vercel AI SDK actually good for building real AI agents?Intrepid_Frosting_66, Reddit user (self-described: An agent inside a financial app), Reddit comment, r/vercel, published Jun 1, 2026
- @ai-sdk/anthropic: disableParallelToolUse: true is hardcoded when structuredOutputMode: 'jsonTool', ignores user overridetim-inkeep, GitHub user (self-described: Production agent with Claude structured output and parallel tool calls), GitHub issue, published May 27, 2026
- We built a Custom Transport for Vercel's AI SDKZak Knill, Senior Distributed Systems Engineer, Ably (Ably engineering team building a custom transport for useChat to support multi-device, multi-user and resumable conversations), Company engineering blog, Ably, published May 13, 2026
- Comment on: Agents need control flow, not more promptsdkersten, Hacker News commenter (self-described: Own workflow engine in Rust that calls models through a TypeScript harness), Hacker News comment, published May 8, 2026
- Is Vercel AI SDK actually good for building real AI agents?Dapper-Turn-3021, Reddit user (self-described: Own chat app and agent experiments), Reddit post, r/vercel, published May 1, 2026
- Comment on: Is Vercel AI SDK actually good for building real AI agents?sinatrastan, Reddit user (self-described: A Lovable-style app builder in one of the author's projects, used by people in production), Reddit comment, r/vercel, published May 1, 2026
- Comment on: Show HN: AI Applyd - a bot that applies to jobs for yousneefle, Hacker News commenter, solo founder (self-described: Job-application agent on Cloudflare Workers with OpenRouter), Hacker News comment, published Apr 20, 2026
- Anthropic structured outputs fail with valid Zod schemas due to unsupported JSON Schema keywords (e.g. exclusiveMinimum, not, minimum, maximum)leojcyou, GitHub user (self-described: Mechatronics engineering at University of Waterloo), GitHub issue, published Apr 10, 2026
- Comment on: Show HN: Output.ai - OSS framework we extracted from 500+ production AI agentsbnchrch, Hacker News commenter on the Output.ai team (self-described: Output.ai, framework extracted from the team's production agents), Hacker News comment, published Apr 9, 2026
- Comment on: Claude Agent SDK vs. Messages API for a Production AI Assistant?SerafimKorablev, Hacker News commenter (self-described: Team building a multi-tenant AI assistant), Hacker News comment, published Apr 7, 2026
- Comment on: OpenHarness - Composable TypeScript SDK for building powerful agent harnessesMaxGfeller, Hacker News commenter, OpenHarness author (self-described: OpenHarness, open-source TypeScript agent SDK), Hacker News comment, published Mar 31, 2026
- uiMessageChunkSchema strict validation breaks backward due to providerMetadata additionPablo de Castro (pablodecm), GitHub user (self-described: Next.js App Router app upgraded from ai 6.0.116 to 6.0.134), GitHub issue, published Mar 23, 2026
- Anthropic: tool_use/tool_result pairing fails when server_tool_use (web_search) and regular tool_use appear in same assistant turntea-artist, GitHub user (self-described: Agent loop mixing Anthropic web search with application tools), GitHub issue, published Mar 3, 2026
- How We Built Our Slack AgentThibault Le Ouay Ducasse, openstatus (self-described: openstatus Slack agent for incident status reports), Engineering blog post, openstatus blog, published Feb 27, 2026
- generateText() silently swallows AbortError in multi-step tool loopwkusnierczyk, GitHub user, self-described, GitHub issue, published Feb 26, 2026
generateObjectandgenerateTextwith output bursts CPU usage of tslanguageserver to 150%joachimbulow, GitHub user (self-described: Builds Doubble with NestJS and OpenAI in Cursor), GitHub issue, published Feb 26, 2026- Comment on: Claude Agent SDK vs OpenAI Agent SDK vs Vercel AI SDKPrivateMTD, Reddit user (self-described: Own project built on the AI SDK), Reddit comment, r/vercel, published Feb 25, 2026
- Comment on: Gemini 3.1 Proojr, Hacker News commenter (self-described: Gemini-based slide generation product), Hacker News comment, published Feb 20, 2026
- Claude Agent SDK vs OpenAI Agent SDK vs Vercel AI SDKbri-_-guy, Reddit user (self-described: Hobby project, a team of five knowledge-worker agents), Reddit post, r/vercel, published Feb 15, 2026
- Real-Time AI Streaming in Production: What We Built at HelpmatonPedro Teixeira, Helpmaton (self-described: Helpmaton's production streaming stack on AWS Lambda Function URLs), Engineering blog post, metaduck.com, published Feb 13, 2026
- Comment on: GPT-5.3-Codexkoakuma-chan, Hacker News commenter (self-described: Structured outputs across providers), Hacker News comment, published Feb 5, 2026
- Comment on: Show HN: Mastra 1.0, open-source JavaScript agent framework from the Gatsby devsesperent, Hacker News commenter (self-described: Building with Mastra on the AI SDK), Hacker News comment, published Jan 20, 2026
- Stream resumption doesn't work when users switch tabs or background the appRohit Singh (Notoriousbrain), GitHub user (self-described: Chat app using useChat with resume and Redis-stored stream ids), GitHub issue, published Jan 19, 2026
- [Bug] Anthropic extended thinking: reasoning blocks lost during multi-step tool callsNicolaiHerforth, GitHub user (self-described: Applied machine learning engineer), GitHub issue, published Jan 7, 2026
- Part 4: The Pivot - 3 Hours to SalvationJordan Hindo, developer building Asset Hatch (self-described: Asset Hatch app migrated from CopilotKit to AI SDK v6), Personal blog post, jordanhindo.dev, published Jan 4, 2026
- Comment on: Show HN: tpmjs - npm for ai sdk toolsthomasfromcdnjs, Hacker News commenter (self-described: Builds a registry of AI SDK tools), Hacker News comment, published Dec 28, 2025
- Comment on: Ask HN: What agent frameworks are you using, and how well do they work?sshadmand, Hacker News commenter (self-described: Web apps with AI features), Hacker News comment, published Dec 14, 2025
- Comment on: Is anyone collecting 👍 / 👎 + comment feedback in Vercel AI SDK chats? Wondering if this is actually worth solvingr0kh0rd, Reddit user (self-described: Team chat product with feedback, evals, and A/B tests), Reddit comment, r/vercel, published Dec 8, 2025
- Memory leak using Experimental downloadCharlesOural, GitHub user (self-described: Production app on Gemini with custom image downloads), GitHub issue, published Dec 4, 2025
- Comment on: For your AI app, you use VercelAI SDK or direct API?seafoodghost, Reddit user (self-described: Own AI app, moved from direct provider API calls), Reddit comment, r/nextjs, published Dec 3, 2025
- Comment on: For your AI app, you use VercelAI SDK or direct API?cg_stewart, Reddit user (self-described: Own AI app, moved from the Gemini API), Reddit comment, r/nextjs, published Dec 3, 2025
- [@ai-sdk/anthropic | @ai-sdk/google] Duplicate text-start/text-end IDs in multi-step flowAbhi Aiyer, co-founder and CTO of Mastra (Multi-step agent streams with Anthropic models), GitHub issue, published Dec 2, 2025
- Comment on: Launch HN: Onyx (YC W24) - Open-source chat UIelpakal, Hacker News commenter (self-described: Several projects on Vercel's AI chatbot stack), Hacker News comment, published Nov 25, 2025
- Comment on: Agent design is still hardcheriot, Hacker News commenter (self-described: Agent design), Hacker News comment, published Nov 22, 2025
- Agent Design Is Still HardArmin Ronacher, founder of Earendil (Earendil's agent, built on the AI SDK's provider layer with its own agent loop), Personal blog post, lucumr.pocoo.org, published Nov 21, 2025
- Comment on: Absurd Workflows: Durable Execution with Just Postgresthe_mitsuhiko, Hacker News commenter (self-described: Builds durable agent workflows on Postgres), Hacker News comment, published Nov 3, 2025
- aicommits v1.0.0: Six Months of AI-Assisted Development Come Full CircleLuca Becker, aicommits maintainer (self-described: aicommits CLI migrated to AI SDK v5), Personal blog post, luca-becker.me, published Oct 17, 2025
- Comment on: LLM Observability in the Wild - Why OpenTelemetry Should Be the Standardarmank-dev, Hacker News commenter (self-described: Startup building semantic failure tracking for agents), Hacker News comment, published Sep 28, 2025
- Comment on: Launch HN: Trigger.dev (YC W23) - Open-source platform to build reliable AI appsdallinbentley, Hacker News commenter (self-described: Team running agents on Trigger.dev), Hacker News comment, published Sep 15, 2025
- Comment on: Microsoft to Use AI from Anthropic in Partial Shift from OpenAIconsumer451, Hacker News commenter (self-described: LLM features in an app), Hacker News comment, published Sep 9, 2025
- AI SDK v5: A Crash Course | Matt Pocock at React Universe Conf 2025Matt Pocock, TypeScript educator (self-described: React Universe Conf 2025), Conference talk, YouTube (Callstack), published Sep 9, 2025
- anthropic api error:
tool_useids were found withouttool_resultblocks immediately afterabhi-slash-git, GitHub user, self-described, GitHub issue, published Sep 8, 2025 - Introducing Mastra's improved agent orchestration with AI SDK v5 supportSam Bhagwat, founder and CEO of Mastra (Mastra, a TypeScript agent framework that has used the AI SDK for model routing and streaming), Engineering blog post, Mastra blog, published Aug 26, 2025
- Azure OpenAI is still Slow To Streamkollerp, GitHub user (self-described: Uses AI SDK 5 with Azure OpenAI GPT-5), GitHub issue, published Aug 17, 2025
- Comment on: Best Practices for Building Agentic AI Systemsmatt_cogito, Hacker News commenter (self-described: Building agentic systems), Hacker News comment, published Aug 16, 2025
- In useChat in @ai-sdk/react, state sent via
transport#bodyis always stalemattpocock, Matt Pocock, TypeScript educator (self-described: TypeScript educator building Total TypeScript, company AI Hero), GitHub issue, published Aug 6, 2025 - Comment on: Show HN: Sourcebot - Self-hosted Perplexity for your codebasebshzzle, Hacker News commenter on the Sourcebot team (self-described: Sourcebot, self-hosted code search with AI answers), Hacker News comment, published Jul 31, 2025
- Comment on: Launch HN: Hyprnote (YC S25) - An open-source AI meeting notetakeryujonglee, Hacker News commenter on the Hyprnote team (self-described: Hyprnote, open-source AI meeting notes app (YC S25)), Hacker News comment, published Jul 29, 2025
- Comment on: ChatGPT agent: bridging research and actiongorbypark, Hacker News commenter (self-described: Rebuilt ChatGPT agent's tools for testing), Hacker News comment, published Jul 25, 2025
- Migrating to AI SDK v5: A Story of Tool Streaming, Caching, and Type SafetyFelipe Cadavid, Software engineer at BrainGrid (self-described: BrainGrid agent platform, 14 tools), Engineering blog post, BrainGrid blog, published Jul 24, 2025
- AI sdk v5 has insanely slow TypeScript performanceniels-bosman, GitHub user (self-described: Senior product engineer building Gardenly), GitHub issue, published Jul 21, 2025
- Memory leak with aisdk 5.19-5.20 and zod 4nanolookc, GitHub user (self-described: AI and design work at moni.ai), GitHub issue, published Jul 16, 2025
- Comment on: Building Real-Time AI Streaming Services with AWS Lambda and Architectpgte, Hacker News commenter, author of the post (self-described: Streaming AI service on AWS Lambda), Hacker News comment, published Jul 11, 2025
- Type instantiation is excessively deep and possibly infinite.SirCameron, GitHub user, self-described, GitHub issue, published Jul 9, 2025
- Item 'rs_...' of type 'reasoning' was provided without its required following itemiborqe, GitHub user (self-described: Developer at Borq), GitHub issue, published Jul 7, 2025
- Comment on: Show HN: Pickaxe - A TypeScript library for building AI agentsgabrielruttner, Hacker News commenter, Hatchet co-founder (self-described: Hatchet's Pickaxe agent library), Hacker News comment, published Jun 23, 2025
- AI Framework Comparison: Vercel AI SDK, Mastra, Langchain and GenkitKonstantin Komelin, Independent developer (self-described: Code examples across four frameworks), Personal blog post, komelin.com, published Jun 19, 2025
- Vercel AI SDK silent failure - mismatched maxSteps between useChat and streamText breaks tool executioncaleb-russel, Reddit user (self-described: Agent feature in a Next.js app), Reddit post, r/nextjs, published Jun 5, 2025
- @ai-sdk/google stopped working with function calling in productionyonatanlavy, GitHub user (self-described: Builds Dotallio, an all-in-one AI app), GitHub issue, published Jun 2, 2025
- What I learned building my first AI agent, part 1Rafael Saraceni, Independent developer (self-described: RAG agent for Figma documentation), Personal blog post, saraceni.me, published May 6, 2025
- Comment on: Is Vercel AI SDK's vision to compete with LangGraph?aron_snow, Reddit user (self-described: Own multi-agent experiments after using the SDK for prototypes), Reddit comment, r/vercel, published Apr 15, 2025
- The Vercel AI SDK: A worthwhile investment in bleeding edge GenAIZachary Proser, Applied AI at WorkOS (self-described: GenAI applications), Personal blog post, zackproser.com, published Apr 14, 2025
- Comment on: Use the Gemini API with OpenAI Fallback in TypeScriptbearjaws, Hacker News commenter (self-described: Own apps that switch between models), Hacker News comment, published Apr 6, 2025
- Writing an LLM Eval with Vercel's AI SDK and VitestRichard Gill, Engineer at Xata (self-described: Xata Agent, open-source PostgreSQL diagnosis agent), Engineering blog post, Xata blog, published Apr 2, 2025
- Poor performance when using Gemini image output with
streamTextwong2, GitHub user, self-described, GitHub issue, published Mar 22, 2025 - Comment on: Mayo Clinic's secret weapon against AI hallucinations: Reverse RAG in actionsocial_quotient, Hacker News commenter (self-described: Product with a guardrail check before answers reach users), Hacker News comment, published Mar 15, 2025
- Comment on: Show HN: I wrote a browser AI assistant without requiring logindjyde, Hacker News commenter (self-described: Indie browser extension AI assistant), Hacker News comment, published Mar 12, 2025
- Introducing xsAI, a < 6KB Vercel AI SDK alternativeNeko Ayaka, Open-source developer at Moeru AI (self-described: Built a smaller alternative library), Personal blog post, Moeru AI Blog, published Mar 3, 2025
- Comment on: Show HN: Mastra - Open-source JS agent framework, by the developers of GatsbySparkyMcUnicorn, Hacker News commenter (self-described: Uses the AI SDK without Vercel hosting), Hacker News comment, published Feb 20, 2025
- Comment on: Show HN: Mastra - Open-source JS agent framework, by the developers of Gatsbyjerrygoyal, Hacker News commenter (self-described: Production app), Hacker News comment, published Feb 20, 2025
- Comment on: Show HN: Mastra - Open-source JS agent framework, by the developers of Gatsbynetcraft, Hacker News commenter (self-described: Evaluating Mastra and the AI SDK), Hacker News comment, published Feb 19, 2025
- useChat: Infinite re-renders when using messages as useEffect dependencysebaFP, GitHub user (self-described: React 19 application using Vercel AI SDK 4.1.24), GitHub issue, published Feb 6, 2025
Feb 2025 to Oct 2026.
94 sources from practitioners, by month and sentiment.
Where It Fits
Where does AI SDK belong in the stack?
AI SDK is Core across Build, supports Model, Data, and Operate, and touches Evaluate.
- Business area
- Product & Engineering
- Function
- Software Development
- Operating stack
- AI Application Platform
- Primary role
- TypeScript Agent & AI App Toolkit
Model
Model APIs: Touches
Model APIs, touches. Provider packages call OpenAI, Anthropic, Google, Amazon Bedrock, Azure, and 40 more first-party integrations. The AI SDK supplies no models. Each provider bills the tokens.
Model gateway: Supports
Model gateway, supports. Vercel AI Gateway resolves plain model-id strings as the default global provider. The separate paid service adds budgets and fallbacks at zero token markup. The SDK itself switches providers in code.
Build
Orchestration: Core
Orchestration, core. generateText and streamText run multi-step tool loops. ToolLoopAgent packages agents, while WorkflowAgent adds durability through Workflow DevKit. HarnessAgent runs Claude Code, Codex, or Pi through the same interface.
Tool use: Core
Tool use, core. Tools accept Zod or JSON Schema inputs and per-tool context. The SDK supports provider-executed tools and an MCP client with MCP Apps. Approvals pause tools for a human or an approval function.
Data
Retrieval: Supports
Retrieval, supports. embed and embedMany call embedding models across providers, while rerank calls reranking models. A vector store handles retrieval because the SDK stores and searches no documents.
Evaluate
Evaluation: Touches
Evaluation, touches. ai/test supplies model helpers, and response objects record every step. Teams such as Xata use them in Vitest evals. An evaluation tool owns datasets and scoring.
Operate
Observability: Supports
Observability, supports. AI SDK 7 registers OpenTelemetry once for all calls. It emits Node.js tracing-channel events and per-step timing. Datadog, Langfuse, Braintrust, Sentry, and LangSmith integrations provide trace storage and analysis.
Cloud deployment: Touches
Cloud deployment, touches. The SDK runs on Node.js 22 or later, on Vercel or another cloud. The provider or AI Gateway controls model capacity and quotas. Host function timeouts limit long runs.
Guardrails: Touches
Guardrails, touches. AI SDK language model middleware intercepts and modifies model calls and provides a place to add guardrails. The SDK does not supply a built-in prompt or response screening service.
Market mapThe layers AI SDK covers, and who else owns each one.
Orchestration & agent frameworks
Tool use & integrations
Model gateways & routing
- LiteLLM
- OpenRouter
- Portkey
- Vercel AI Gateway
Retrieval & grounding
Observability & tracing
4 more layers on the full map. Core, Supports and Touches describe coverage. They say nothing about quality.
