{"slug": "vercel-ai-sdk", "name": "Vercel AI SDK", "category": "dev-libs", "category_name": "Libraries and frameworks", "description": "", "recommenders": 4, "commenters": 6, "warners": 0, "score": 3.98, "rising": 0.02, "first": "2025-11-09", "latest": "2026-08-11", "why": "I can highly recommend TypeScript/JavaScript with AI SDK", "why_is_quote": true, "has_verdict": false, "sentiment": {"recommend": 4, "neutral": 2, "compare": 0, "warn": 0}, "spark": [1, 0, 0, 2, 0, 0, 0, 0, 0, 1, 0, 0], "listed": true, "loved": [], "caveat": "", "short_quote": "I can highly recommend TypeScript/JavaScript with AI SDK", "icon": false, "domain": "ai-sdk.dev", "github_repo": null, "official_url": "https://ai-sdk.dev", "pricing": "", "aliases": ["Vercel AI SDK", "ai-sdk", "AI SDK"], "verdict": null, "praise": [{"label": "", "summary": "", "quotes": [{"id": 788080400, "item_id": 49255025, "url": "https://news.ycombinator.com/item?id=49255025", "by": "jodysalt", "date": "2026-08-11", "stance": "recommend", "quote": "I can highly recommend TypeScript/JavaScript with AI SDK", "excerpt": "I can highly recommend TypeScript/JavaScript with AI SDK: - https://ai-sdk.dev/ I have used it, and I can say it is really nicely written. Matt Pocock has created a good tutorial on it: - https://www.youtube.com/watch?v=mojZpktAiYQ", "context": "", "use_case": "building coding agents", "switched_from": "", "story": "What's the best programming language for coding agents?"}, {"id": 754368369, "item_id": 47148023, "url": "https://news.ycombinator.com/item?id=47148023", "by": "buremba", "date": "2026-02-24", "stance": "recommend", "quote": "Just stick to ai-sdk or pi agent.", "excerpt": "I spent 3 months adopting Codex and Claude Code SDKs only to realize they're just vendor lock-in and brittle. They're intended to be used as CLI so it's not programmable enough as a library. After digging into OpenClaw codebase, I can safely say that the most of its success comes from the underlying harness, pi agent. pi plugins support adding hooks at every stage, from tool calls to compaction and let you customize ", "context": "", "use_case": "building agents", "switched_from": "", "story": "Pi \u2013 a minimal terminal coding harness"}, {"id": 753426512, "item_id": 47089157, "url": "https://news.ycombinator.com/item?id=47089157", "by": "ojr", "date": "2026-02-20", "stance": "recommend", "quote": "I use vercel's ai sdk so I can interchange between models", "excerpt": "you can run into payload too large errors, ingesting bunch of context, I use vercel's ai sdk so I can interchange between models but have 0 OpenAI and Claude credits or subscriptions. I use a combination of grepping files like a terminal tool and implemented a vector search database for fuzzy searches, Gemini chooses what tool it wants to use, I provide it create, read, update, delete, functions. There's a few tricks", "context": "", "use_case": "switching between LLM models", "switched_from": "", "story": "Gemini 3.1 Pro"}, {"id": 733922483, "item_id": 45870155, "url": "https://news.ycombinator.com/item?id=45870155", "by": "igor47", "date": "2025-11-09", "stance": "recommend", "quote": "I use vercel's ai toolkit for the LLM interactions, which are super fun and work really well.", "excerpt": "I made an LLM-assisted DnD character sheet tracker! It's up here: https://www.csheet.net/ And the repo is here: https://github.com/igor47/csheet If you play DnD, I would love feedback! Feel free to leave it as GitHub issues or discussion. If you don't play DnD, you might still find the repo interesting. It's hono on bun, I render jsx server side and client side is all htmx. I use vercel's ai toolkit for the LLM inter", "context": "", "use_case": "LLM interactions", "switched_from": "", "story": "Ask HN: What Are You Working On? (Nov 2025)"}]}], "caveats": [], "who": [{"by": "taw1285", "context": "building a CMS with LLM chat", "url": "https://news.ycombinator.com/item?id=46251589", "date": "2025-12-12"}], "tags": [], "use_cases": ["building coding agents", "streaming llm ui", "building agents", "switching between llm models", "chat interface to cms", "llm interactions"], "compared": [], "makers": [], "threads": [{"url": "https://news.ycombinator.com/item?id=49245936", "title": "What's the best programming language for coding agents?", "mentions": 1}, {"url": "https://news.ycombinator.com/item?id=48863891", "title": "Show HN: E\u2013 \u2013 a language you dial between English and Python", "mentions": 1}, {"url": "https://news.ycombinator.com/item?id=47143754", "title": "Pi \u2013 a minimal terminal coding harness", "mentions": 1}, {"url": "https://news.ycombinator.com/item?id=47075318", "title": "Gemini 3.1 Pro", "mentions": 1}, {"url": "https://news.ycombinator.com/item?id=46250332", "title": "OpenAI are quietly adopting skills, now available in ChatGPT and Codex CLI", "mentions": 1}, {"url": "https://news.ycombinator.com/item?id=45869146", "title": "Ask HN: What Are You Working On? (Nov 2025)", "mentions": 1}], "sentiment_by_month": {"2025-11": {"recommend": 1}, "2025-12": {"neutral": 1}, "2026-01": {}, "2026-02": {"recommend": 2}, "2026-03": {}, "2026-04": {}, "2026-05": {}, "2026-06": {}, "2026-07": {"neutral": 1}, "2026-08": {"recommend": 1}, "2026-09": {}, "2026-10": {}}, "quotes": [{"id": 788080400, "item_id": 49255025, "url": "https://news.ycombinator.com/item?id=49255025", "by": "jodysalt", "date": "2026-08-11", "stance": "recommend", "quote": "I can highly recommend TypeScript/JavaScript with AI SDK", "excerpt": "I can highly recommend TypeScript/JavaScript with AI SDK: - https://ai-sdk.dev/ I have used it, and I can say it is really nicely written. Matt Pocock has created a good tutorial on it: - https://www.youtube.com/watch?v=mojZpktAiYQ", "context": "", "use_case": "building coding agents", "switched_from": "", "story": "What's the best programming language for coding agents?"}, {"id": 782866643, "item_id": 48929165, "url": "https://news.ycombinator.com/item?id=48929165", "by": "iDon", "date": "2026-07-15", "stance": "neutral", "quote": "Vercel AI SDK (React Server Components stream from the LLM to the client)", "excerpt": "A language like E seems about the right level for a simple user-friendly programmatic layer wrapping applications, i.e. enable the users to ask a natural language question or build a simple GUI layer which has question actions, with results displayed in the custom GUI or exported as files (CSV or spreadsheets etc). I expect we'll see a blurring of the web app GUI, allowing users and LLMs to augment the GUI. There are", "context": "", "use_case": "streaming LLM UI", "switched_from": "", "story": "Show HN: E\u2013 \u2013 a language you dial between English and Python"}, {"id": 754368369, "item_id": 47148023, "url": "https://news.ycombinator.com/item?id=47148023", "by": "buremba", "date": "2026-02-24", "stance": "recommend", "quote": "Just stick to ai-sdk or pi agent.", "excerpt": "I spent 3 months adopting Codex and Claude Code SDKs only to realize they're just vendor lock-in and brittle. They're intended to be used as CLI so it's not programmable enough as a library. After digging into OpenClaw codebase, I can safely say that the most of its success comes from the underlying harness, pi agent. pi plugins support adding hooks at every stage, from tool calls to compaction and let you customize ", "context": "", "use_case": "building agents", "switched_from": "", "story": "Pi \u2013 a minimal terminal coding harness"}, {"id": 753426512, "item_id": 47089157, "url": "https://news.ycombinator.com/item?id=47089157", "by": "ojr", "date": "2026-02-20", "stance": "recommend", "quote": "I use vercel's ai sdk so I can interchange between models", "excerpt": "you can run into payload too large errors, ingesting bunch of context, I use vercel's ai sdk so I can interchange between models but have 0 OpenAI and Claude credits or subscriptions. I use a combination of grepping files like a terminal tool and implemented a vector search database for fuzzy searches, Gemini chooses what tool it wants to use, I provide it create, read, update, delete, functions. There's a few tricks", "context": "", "use_case": "switching between LLM models", "switched_from": "", "story": "Gemini 3.1 Pro"}, {"id": 740025424, "item_id": 46251589, "url": "https://news.ycombinator.com/item?id=46251589", "by": "taw1285", "date": "2025-12-12", "stance": "neutral", "quote": "I use a thin layer of Vercel AI SDK", "excerpt": "Curious if anyone has applied this \"Skills\" mindset to how you build your tool calls for your LLM agents applications? Say I have a CMS (I use a thin layer of Vercel AI SDK) and I want to let users interact with it via chat: tag a blog, add an entry, etc, should they be organized into discrete skill units like that? And how do we go about adding progressive discovery?", "context": "building a CMS with LLM chat", "use_case": "chat interface to CMS", "switched_from": "", "story": "OpenAI are quietly adopting skills, now available in ChatGPT and Codex CLI"}, {"id": 733922483, "item_id": 45870155, "url": "https://news.ycombinator.com/item?id=45870155", "by": "igor47", "date": "2025-11-09", "stance": "recommend", "quote": "I use vercel's ai toolkit for the LLM interactions, which are super fun and work really well.", "excerpt": "I made an LLM-assisted DnD character sheet tracker! It's up here: https://www.csheet.net/ And the repo is here: https://github.com/igor47/csheet If you play DnD, I would love feedback! Feel free to leave it as GitHub issues or discussion. If you don't play DnD, you might still find the repo interesting. It's hono on bun, I render jsx server side and client side is all htmx. I use vercel's ai toolkit for the LLM inter", "context": "", "use_case": "LLM interactions", "switched_from": "", "story": "Ask HN: What Are You Working On? (Nov 2025)"}]}