Build a Support Agent with Vercel AI SDK – Full Tutorial

From the creator

Use the popular Vercel AI SDK to create and ship a customer support agent that makes autonomous decisions to either answer questions based on your support docs or search the web in real time. ✏️ Study this course interactively on Scrimba: https://scrimba.com/build-a-support-agent-with-vercel-ai-sdk-c0lk05ahir?utm_source=youtube&utm_medium=video&utm_campaign=fcc-vercel Vercel AI SDK is a TypeScript-first toolkit for building AI features. It streamlines text generation, embeddings, and structured outputs. It plays nicely with tools, so your agent can call functions like “search the web” or “query my knowledge base” safely and predictably. Scrimba on YouTube: https://www.youtube.com/c/Scrimba ⭐️ Contents ⭐️ 0:00:00 Customer Support AI Agent Intro 0:06:47 Retrieval Augmented Generation Refresher 0:10:05 Embeddings Recap 0:12:57 Vector Database Embed Documents 0:20:19 Vector Database Retrieval 0:28:00 Challenge: Vector Database Retrieval 0:32:51 Vector Database Text Splitting and Retrieval 0:40:34 Vercel AI SDK Basics 0:43:51 Challenge: Vercel AI SDK Basics 0:47:22 Vercel AI SDK Structured Outputs 0:52:38 Challenge: Vercel AI SDK Structured Outputs 0:58:39 Vercel AI SDK Tool Calling 1:08:37 Challenge: Vercel AI SDK Tool Calling 1:18:04 Agentic Retrieval Routing 1:31:52 Challenge: Agentic Retrieval Routing 1:35:08 Web Search AI Agent 🎉 Thanks to our Champion and Sponsor supporters: 👾 Drake Milly 👾 Ulises Moralez 👾 Goddard Tan 👾 David MG 👾 Matthew Springman 👾 Claudio 👾 Oscar R. 👾 jedi-or-sith 👾 Nattira Maneerat 👾 Justin Hual -- Learn to code for free and get a developer job: https://www.freecodecamp.org Read hundreds of articles on programming: https://freecodecamp.org/news

Choose to Build with AI
Matched to Build a Customer Support Agent

AI Maker Residence 3

The third AI workshop taught by our legendary teacher, Nick Sarafa. This is a full-day hands-on training workshop for purposeful co-creation with AI using Claude Code. Imagine having access to hundreds of billions of dollars of computing power and knowing exactly how to make it work for you through the power of super intelligence.

◆ Fri 09 Oct 2026 ◆ KOKO Cafe, London ◆ With Nick Sarafa
AI Maker Residence 3
Live event
AI Maker Residence 3
Fri 09 Oct 2026

More like this

Running one yourself?

List your AI event,
wherever it is.

A meetup, a workshop, a hackathon, a conference. Any city, or online. Tell us about it and it lands in front of people already learning this stuff.