Feeling behind on AI agents? In this free, end-to-end 90-minute course, I’ll help you get ahead by guiding you through an extremely comprehensive build of your first AI agent with TypeScript and Mastra. I’ll take you from initial setup and workspace configuration all the way to a working agent, while covering the core patterns behind modern agentic applications, including tool calling, workflows, memory, structured outputs, and production-ready agent design. By the end, you’ll have learned the foundational concepts behind AI agents, seen how they fit together in a real TypeScript project, and built something practical with Mastra that you can actually use as a starting point for your own agents.
📚 RESOURCES
Course code: https://github.com/mastra-ai/mastra-a...
Mastra docs: https://mastra.ai/docs/
💬 JOIN THE MASTRA COMMUNITY
/ discord
/ mastra
/ mastra-ai
👨🏫 ABOUT THE TEACHER
- @GuilHernandez is a software engineer and educator with over a decade of experience building software and teaching developers. His courses have reached more than 500,000 learners across platforms like @Scrimba and @gotreehouse and YouTube. He focuses on helping engineers build practical AI agents and production-ready applications with Mastra.
Connect with Guil on LinkedIn - / guiljh
🟣 WHAT IS MASTRA?
Mastra is a TypeScript framework and platform for building AI agents and workflows. Start locally with the open-source framework, then ship to production with the Mastra platform — including hosting, observability, evals, and more. Everything is built on the same framework, so you can prototype fast and ship with confidence.
https://mastra.ai
⏱️ TIMESTAMPS
00:00 Introduction
03:41 What is an Agent?
04:58 Run Your First Agent
10:59 Project Structure
15:53 Create an Agent
21:33 Create a Tool
28:23 Build with AI
32:05 Fetch Live Data
39:37 Connect to MCP
47:12 Build a Workflow
54:39 Agents vs. Workflows
57:24 Agents in Workflows
1:06:35 How Memory Works
1:12:08 Observational Memory
1:19:29 Guardrails with Processors
1:24:52 Deploy to Mastra Platform
1:29:04 Chat With Agent in Slack