![]()
🚀 Master AI SDK v6 with AI Hero's comprehensive crash course. This repository contains all the code examples and exercises from our hands-on, practical course focused on AI SDK v6 - the incredible TypeScript library that's becoming the standard for AI app development.
Learn to build production-ready AI applications using AI SDK v6's powerful features and modern development patterns. Available on aihero.dev.
This crash course will take you from AI SDK v6 basics to advanced production patterns:
streamTextgit clone https://github.com/ai-hero-dev/ai-sdk-v6-crash-course.git
cd ai-sdk-v6-crash-course
pnpm install
cp .env.example .env
.env and you're ready to start learning!Start by running pnpm dev:
pnpm dev
This will allow you to choose between the different course sections.
You can also run pnpm exercise <exercise-number> to jump to a specific exercise.
exercises/
├── 01-basics/ # AI SDK v6 fundamentals
│ ├── 01.1-what-is-the-ai-sdk/
│ ├── 01.2-choosing-a-model/
│ ├── 01.3-stream-text-to-terminal/
│ ├── 01.4-ui-message-streams/
│ ├── 01.5-stream-text-to-ui/
│ └── 01.6-system-prompts/
├── 02-agents/ # Tool calling & agents
├── 03-advanced/ # Advanced patterns
└── 99-reference/ # Material reference
Each exercise follows this learning structure:
problem/ folderreadme.md with detailed instructionsTODO comments for you to implementsolution/ folderexplainer/ folderReady to master AI SDK v6 and become an AI development expert? Let's start building the future! 🚀
$ claude mcp add ai-sdk-v6-crash-course \
-- python -m otcore.mcp_server <graph>