{"slug":"ai-in-node","group":"ai","title":"AI in Node.js","short":"Vercel AI SDK, LangChain.js and provider SDKs in TypeScript – from chat to agents.","icon":"hexagon","aliases":["Vercel AI SDK","LangChain.js"],"order":616,"status":"available","articleCount":1,"groupTitle":"AI & LLM","intro":"","servedLang":"en","primaryArticle":{"id":"6b08c24c38c84264c202746e","slug":"ai-in-node","title":"AI in Node.js and TypeScript: the Anthropic SDK, Vercel AI SDK and LangChain.js in practice","summary":"A map of the AI ecosystem for Node.js – when the provider SDK is enough, when to use the Vercel AI SDK and when LangChain.js – plus streaming to the browser, tools, agents and structured data with Zod, with production notes.","servedLang":"en","availableLangs":["pl","en"],"topics":["ai-in-node","tool-use","ai-agents","mcp"],"techs":["typescript","node","javascript"],"tags":["nodejs","typescript","vercel-ai-sdk","langchainjs","anthropic-sdk","streaming","zod","claude"],"level":"intermediate","kind":"article","access":"members","status":"published","cover":null,"author":{"id":"6b08bd2e80884893657cc8cf","name":"Redakcja Art of Devs","avatar":null,"handle":"redakcja","community":false},"readingMinutes":13,"stats":{"views":2,"likes":0,"bookmarks":0,"comments":0},"publishedAt":"2026-11-26T23:35:40.570Z","updatedAt":"2026-11-27T13:08:15.540Z","challengeCount":0,"quizCount":0},"articles":[],"challenges":[],"resources":[{"id":"6b0857ca3c96f2d34d0b4b7a","type":"video","provider":"youtube","url":"https://www.youtube.com/watch?v=WLBrpwYSCjQ","embedUrl":"https://www.youtube-nocookie.com/embed/WLBrpwYSCjQ","title":"AI Dev 25 x NYC | Aayush Kapoor: Vercel AI SDK: From Fundamentals to Deep Research","description":"Aayush Kapoor, Software Engineer on the AI SDK team at Vercel, shared during AI Dev 25 x NYC how to build production-ready agents with the Vercel AI SDK. He covered fundamentals like text generation, tool and function calling, structured outputs, and swapping models with a single line, then code a…","author":"DeepLearningAI","thumbnailUrl":"https://i.ytimg.com/vi/WLBrpwYSCjQ/hqdefault.jpg","durationSec":null,"lang":"en","topics":["ai-in-node"],"techs":["node","javascript"],"tags":["ai"],"price":"free","featured":false,"featuredOrder":0,"packageName":null,"source":"youtube-rss","publishedAt":"2025-12-02T21:51:13.000Z","popularity":49,"verifiedAt":"2026-11-26T10:58:13.000Z","curated":false,"addedBy":"6b0857a15a2625e44ecaabe6","createdAt":"2026-11-26T16:01:12.872Z","updatedAt":"2026-11-26T16:01:12.872Z"},{"id":"6b0857a93c96f2d34d0b324f","type":"repo","provider":"github","url":"https://github.com/vercel/ai","embedUrl":null,"title":"vercel/ai","description":"The AI Toolkit for TypeScript, from the creators of Next.js.","author":"vercel","thumbnailUrl":"https://opengraph.githubassets.com/1/vercel/ai","durationSec":null,"lang":"en","topics":["ai-in-node"],"techs":["typescript"],"tags":[],"price":"free","featured":false,"featuredOrder":0,"packageName":null,"source":"seed","publishedAt":null,"popularity":89,"verifiedAt":"2026-11-26T00:00:00.000Z","curated":true,"addedBy":"6b0857a15a2625e44ecaabe6","createdAt":"2026-11-26T16:00:41.718Z","updatedAt":"2026-11-26T16:00:41.718Z"},{"id":"6b0857bf3c96f2d34d0b425d","type":"article","provider":"web","url":"https://ai-sdk.dev/docs/introduction","embedUrl":null,"title":"AI SDK by Vercel | AI SDK","description":"The AI SDK is the TypeScript toolkit for building AI applications and agents with React, Next.js, Vue, Svelte, Node.js, and more.","author":"Vercel","thumbnailUrl":"https://ai-sdk.dev/og/introduction/image.png","durationSec":null,"lang":"en","topics":["ai-in-node"],"techs":["node","javascript","typescript"],"tags":["ai"],"price":"free","featured":false,"featuredOrder":0,"packageName":null,"source":"manual","publishedAt":null,"popularity":65,"verifiedAt":"2026-11-26T11:25:52.000Z","curated":false,"addedBy":"6b0857a15a2625e44ecaabe6","createdAt":"2026-11-26T16:01:02.417Z","updatedAt":"2026-11-26T16:01:02.417Z"},{"id":"6b0857b23c96f2d34d0b344d","type":"repo","provider":"github","url":"https://github.com/langchain-ai/langchainjs","embedUrl":null,"title":"langchain-ai/langchainjs","description":"The agent engineering platform","author":"langchain-ai","thumbnailUrl":"https://opengraph.githubassets.com/1/langchain-ai/langchainjs","durationSec":null,"lang":"en","topics":["ai-in-node"],"techs":["node","typescript"],"tags":["ai"],"price":"free","featured":false,"featuredOrder":0,"packageName":null,"source":"github","publishedAt":"2023-02-06T22:50:27.000Z","popularity":82,"verifiedAt":"2026-11-26T10:55:56.000Z","curated":false,"addedBy":"6b0857a15a2625e44ecaabe6","createdAt":"2026-11-26T16:00:49.541Z","updatedAt":"2026-11-26T16:00:49.541Z"},{"id":"6b0857b23c96f2d34d0b345f","type":"repo","provider":"github","url":"https://github.com/huggingface/transformers.js","embedUrl":null,"title":"huggingface/transformers.js","description":"State-of-the-art Machine Learning for the web. Run 🤗 Transformers directly in your browser, with no need for a server!","author":"huggingface","thumbnailUrl":"https://opengraph.githubassets.com/1/huggingface/transformers.js","durationSec":null,"lang":"en","topics":["llm-fundamentals","ai-in-node"],"techs":["javascript"],"tags":["browser","javascript","transformers","webml","machine-learning","ai"],"price":"free","featured":false,"featuredOrder":0,"packageName":null,"source":"github","publishedAt":"2023-02-13T13:51:45.000Z","popularity":81,"verifiedAt":"2026-11-26T11:01:30.000Z","curated":false,"addedBy":"6b0857a15a2625e44ecaabe6","createdAt":"2026-11-26T16:00:49.541Z","updatedAt":"2026-11-26T16:00:49.541Z"},{"id":"6b0857b23c96f2d34d0b3415","type":"repo","provider":"github","url":"https://github.com/mastra-ai/mastra","embedUrl":null,"title":"mastra-ai/mastra","description":"Mastra is the modern TypeScript framework for AI-powered applications and agents.","author":"mastra-ai","thumbnailUrl":"https://opengraph.githubassets.com/1/mastra-ai/mastra","durationSec":null,"lang":"en","topics":["evals","ai-agents","ai-in-node","mcp"],"techs":["node","javascript","typescript"],"tags":["agents","ai","chatbots","evals","javascript","llm","mcp","nextjs","nodejs","reactjs"],"price":"free","featured":false,"featuredOrder":0,"packageName":null,"source":"github","publishedAt":"2024-08-06T20:44:31.000Z","popularity":86,"verifiedAt":"2026-11-26T11:00:38.000Z","curated":false,"addedBy":"6b0857a15a2625e44ecaabe6","createdAt":"2026-11-26T16:00:49.541Z","updatedAt":"2026-11-26T16:00:49.541Z"},{"id":"6b0857bd3c96f2d34d0b411a","type":"podcast","provider":"apple-podcasts","url":"https://podcasts.apple.com/us/podcast/news-vercels-new-ai-sdk-3-0-tailwind-css-goes-open/id1700169000?i=1000648749102","embedUrl":"https://embed.podcasts.apple.com/us/podcast/id1700169000?i=1000648749102","title":"News: Vercel’s New AI SDK 3.0, Tailwind CSS Goes Open Source, and Safari 17.4","description":"Today we discuss Vercel’s latest offering: AI SDK 3.0, which streams React components from LLMs to deliver richer user experiences than text-only chatbots. Then we dive into the world of modern styling as Tailwind CSS drops its latest gem - version 4.0, now open source for community exploration…","author":"Front-End Fire","thumbnailUrl":"https://is1-ssl.mzstatic.com/image/thumb/Podcasts221/v4/8c/fb/fd/8cfbfdfe-aa7c-9bf7-7539-e165832595b1/mza_11977879437405956906.jpg/600x600bb.jpg","durationSec":2043,"lang":"en","topics":["ai-in-node"],"techs":["javascript"],"tags":["podcast","llm","ai"],"price":"free","featured":false,"featuredOrder":0,"packageName":null,"source":"itunes","publishedAt":"2024-03-11T10:00:00.000Z","popularity":37,"verifiedAt":"2026-11-26T11:06:12.000Z","curated":false,"addedBy":"6b0857a15a2625e44ecaabe6","createdAt":"2026-11-26T16:00:59.965Z","updatedAt":"2026-11-26T16:00:59.965Z"}],"resourceGroups":[{"type":"video","items":[{"id":"6b0857ca3c96f2d34d0b4b7a","type":"video","provider":"youtube","url":"https://www.youtube.com/watch?v=WLBrpwYSCjQ","embedUrl":"https://www.youtube-nocookie.com/embed/WLBrpwYSCjQ","title":"AI Dev 25 x NYC | Aayush Kapoor: Vercel AI SDK: From Fundamentals to Deep Research","description":"Aayush Kapoor, Software Engineer on the AI SDK team at Vercel, shared during AI Dev 25 x NYC how to build production-ready agents with the Vercel AI SDK. He covered fundamentals like text generation, tool and function calling, structured outputs, and swapping models with a single line, then code a…","author":"DeepLearningAI","thumbnailUrl":"https://i.ytimg.com/vi/WLBrpwYSCjQ/hqdefault.jpg","durationSec":null,"lang":"en","topics":["ai-in-node"],"techs":["node","javascript"],"tags":["ai"],"price":"free","featured":false,"featuredOrder":0,"packageName":null,"source":"youtube-rss","publishedAt":"2025-12-02T21:51:13.000Z","popularity":49,"verifiedAt":"2026-11-26T10:58:13.000Z","curated":false,"addedBy":"6b0857a15a2625e44ecaabe6","createdAt":"2026-11-26T16:01:12.872Z","updatedAt":"2026-11-26T16:01:12.872Z"}]},{"type":"podcast","items":[{"id":"6b0857bd3c96f2d34d0b411a","type":"podcast","provider":"apple-podcasts","url":"https://podcasts.apple.com/us/podcast/news-vercels-new-ai-sdk-3-0-tailwind-css-goes-open/id1700169000?i=1000648749102","embedUrl":"https://embed.podcasts.apple.com/us/podcast/id1700169000?i=1000648749102","title":"News: Vercel’s New AI SDK 3.0, Tailwind CSS Goes Open Source, and Safari 17.4","description":"Today we discuss Vercel’s latest offering: AI SDK 3.0, which streams React components from LLMs to deliver richer user experiences than text-only chatbots. Then we dive into the world of modern styling as Tailwind CSS drops its latest gem - version 4.0, now open source for community exploration…","author":"Front-End Fire","thumbnailUrl":"https://is1-ssl.mzstatic.com/image/thumb/Podcasts221/v4/8c/fb/fd/8cfbfdfe-aa7c-9bf7-7539-e165832595b1/mza_11977879437405956906.jpg/600x600bb.jpg","durationSec":2043,"lang":"en","topics":["ai-in-node"],"techs":["javascript"],"tags":["podcast","llm","ai"],"price":"free","featured":false,"featuredOrder":0,"packageName":null,"source":"itunes","publishedAt":"2024-03-11T10:00:00.000Z","popularity":37,"verifiedAt":"2026-11-26T11:06:12.000Z","curated":false,"addedBy":"6b0857a15a2625e44ecaabe6","createdAt":"2026-11-26T16:00:59.965Z","updatedAt":"2026-11-26T16:00:59.965Z"}]},{"type":"article","items":[{"id":"6b0857bf3c96f2d34d0b425d","type":"article","provider":"web","url":"https://ai-sdk.dev/docs/introduction","embedUrl":null,"title":"AI SDK by Vercel | AI SDK","description":"The AI SDK is the TypeScript toolkit for building AI applications and agents with React, Next.js, Vue, Svelte, Node.js, and more.","author":"Vercel","thumbnailUrl":"https://ai-sdk.dev/og/introduction/image.png","durationSec":null,"lang":"en","topics":["ai-in-node"],"techs":["node","javascript","typescript"],"tags":["ai"],"price":"free","featured":false,"featuredOrder":0,"packageName":null,"source":"manual","publishedAt":null,"popularity":65,"verifiedAt":"2026-11-26T11:25:52.000Z","curated":false,"addedBy":"6b0857a15a2625e44ecaabe6","createdAt":"2026-11-26T16:01:02.417Z","updatedAt":"2026-11-26T16:01:02.417Z"}]},{"type":"repo","items":[{"id":"6b0857a93c96f2d34d0b324f","type":"repo","provider":"github","url":"https://github.com/vercel/ai","embedUrl":null,"title":"vercel/ai","description":"The AI Toolkit for TypeScript, from the creators of Next.js.","author":"vercel","thumbnailUrl":"https://opengraph.githubassets.com/1/vercel/ai","durationSec":null,"lang":"en","topics":["ai-in-node"],"techs":["typescript"],"tags":[],"price":"free","featured":false,"featuredOrder":0,"packageName":null,"source":"seed","publishedAt":null,"popularity":89,"verifiedAt":"2026-11-26T00:00:00.000Z","curated":true,"addedBy":"6b0857a15a2625e44ecaabe6","createdAt":"2026-11-26T16:00:41.718Z","updatedAt":"2026-11-26T16:00:41.718Z"},{"id":"6b0857b23c96f2d34d0b344d","type":"repo","provider":"github","url":"https://github.com/langchain-ai/langchainjs","embedUrl":null,"title":"langchain-ai/langchainjs","description":"The agent engineering platform","author":"langchain-ai","thumbnailUrl":"https://opengraph.githubassets.com/1/langchain-ai/langchainjs","durationSec":null,"lang":"en","topics":["ai-in-node"],"techs":["node","typescript"],"tags":["ai"],"price":"free","featured":false,"featuredOrder":0,"packageName":null,"source":"github","publishedAt":"2023-02-06T22:50:27.000Z","popularity":82,"verifiedAt":"2026-11-26T10:55:56.000Z","curated":false,"addedBy":"6b0857a15a2625e44ecaabe6","createdAt":"2026-11-26T16:00:49.541Z","updatedAt":"2026-11-26T16:00:49.541Z"},{"id":"6b0857b23c96f2d34d0b345f","type":"repo","provider":"github","url":"https://github.com/huggingface/transformers.js","embedUrl":null,"title":"huggingface/transformers.js","description":"State-of-the-art Machine Learning for the web. Run 🤗 Transformers directly in your browser, with no need for a server!","author":"huggingface","thumbnailUrl":"https://opengraph.githubassets.com/1/huggingface/transformers.js","durationSec":null,"lang":"en","topics":["llm-fundamentals","ai-in-node"],"techs":["javascript"],"tags":["browser","javascript","transformers","webml","machine-learning","ai"],"price":"free","featured":false,"featuredOrder":0,"packageName":null,"source":"github","publishedAt":"2023-02-13T13:51:45.000Z","popularity":81,"verifiedAt":"2026-11-26T11:01:30.000Z","curated":false,"addedBy":"6b0857a15a2625e44ecaabe6","createdAt":"2026-11-26T16:00:49.541Z","updatedAt":"2026-11-26T16:00:49.541Z"},{"id":"6b0857b23c96f2d34d0b3415","type":"repo","provider":"github","url":"https://github.com/mastra-ai/mastra","embedUrl":null,"title":"mastra-ai/mastra","description":"Mastra is the modern TypeScript framework for AI-powered applications and agents.","author":"mastra-ai","thumbnailUrl":"https://opengraph.githubassets.com/1/mastra-ai/mastra","durationSec":null,"lang":"en","topics":["evals","ai-agents","ai-in-node","mcp"],"techs":["node","javascript","typescript"],"tags":["agents","ai","chatbots","evals","javascript","llm","mcp","nextjs","nodejs","reactjs"],"price":"free","featured":false,"featuredOrder":0,"packageName":null,"source":"github","publishedAt":"2024-08-06T20:44:31.000Z","popularity":86,"verifiedAt":"2026-11-26T11:00:38.000Z","curated":false,"addedBy":"6b0857a15a2625e44ecaabe6","createdAt":"2026-11-26T16:00:49.541Z","updatedAt":"2026-11-26T16:00:49.541Z"}]}],"siblings":[{"slug":"llm-fundamentals","title":"LLM fundamentals","icon":"brain","status":"available","current":false},{"slug":"prompt-engineering","title":"Prompt engineering","icon":"message-square-text","status":"available","current":false},{"slug":"embeddings-vector-db","title":"Embeddings & vector databases","icon":"chart-scatter","status":"available","current":false},{"slug":"rag","title":"RAG","icon":"file-search","status":"available","current":false},{"slug":"tool-use","title":"Tool use (function calling)","icon":"wrench","status":"available","current":false},{"slug":"ai-agents","title":"AI agents","icon":"bot","status":"available","current":false},{"slug":"mcp","title":"MCP (Model Context Protocol)","icon":"plug-zap","status":"available","current":false},{"slug":"evals","title":"Evals","icon":"clipboard-check","status":"available","current":false},{"slug":"fine-tuning","title":"Fine-tuning","icon":"sliders-horizontal","status":"available","current":false},{"slug":"llm-ops","title":"LLMOps","icon":"gauge","status":"available","current":false},{"slug":"ai-guardrails","title":"Guardrails & safety","icon":"shield-check","status":"available","current":false},{"slug":"local-llms","title":"Local LLMs","icon":"hard-drive","status":"available","current":false},{"slug":"ai-coding-assistants","title":"AI coding assistants","icon":"code-xml","status":"available","current":false},{"slug":"ai-in-dotnet","title":"AI in .NET","icon":"square-code","status":"available","current":false},{"slug":"ai-in-java","title":"AI in Java","icon":"coffee","status":"available","current":false},{"slug":"ai-in-node","title":"AI in Node.js","icon":"hexagon","status":"available","current":true},{"slug":"ai-in-python","title":"AI in Python","icon":"file-code","status":"available","current":false},{"slug":"ai-in-go","title":"AI in Go","icon":"rabbit","status":"available","current":false}]}