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

Stop watching · start building
Matched to Build a Customer Support Agent

Makers residency 4th edition

Your idea can be anything. At our last workshops, people built plant-based nutrition businesses, a way to measure planetary resilience, crochet headwear and a way to connect lonely people living in the same building. An asset manager went on to raise an additional £25M on their fund within nine months. The fourth workshop is a full day at KOKO with Nick Sarafa, learning to build with Claude Code. Bring the thing you keep meaning to start. We’ll bring the pizza.

◆ Fri 13 Nov 2026 ◆ KOKO, London
Makers residency 4th edition
Live event
Makers residency 4th edition
Fri 13 Nov 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.