Mastra 101
Learn how to build agents- Explained by Shane Thomas CPO of Mastra
- Led by an MCP Agent
- 4 Lessons and more soon
- 12 Hours to compete
- Interactive progress
In this hands-on course, you'll learn to develop and deploy AI agents using Mastra, including how to equip them with tools, memory, and MCP. But here's the twist: you're not just learning about agents, you're learning from one.
This course is delivered entirely inside your agentic code editor, where your code agent guides you step-by-step, writes code with you, and helps you build real, working agents from the ground up.
You need to be on a display with a larger screen widthChoose your editor and paste the command to install the mcp server automatically
Course Outline
Build and deploy your first AI agent that can read data from external sources, use custom tools, and remember previous interactions. Set up your development environment, test your agent in a live playground, and ship your agent to production. This section covers the basics needed to create a working, memory and tool-enabled agent.
introduction to mastra
what is mastra
verifying installation
Add new abilities to your agent by connecting it to external services using MCP servers. Search across MCP registries to easily integrate tools for email, social media, GitHub, news, and local files, without writing any custom code.
introduction to mcp
installing mcp
setting up mcp configuration
Add memory to your agent so it can remember previous conversations, user preferences, and important details. Learn how to configure conversation history, semantic recall, and working memory to create agents that provide more relevant and personalized responses.
understanding memory
why memory matters
installing memory
Learn to build powerful workflows that orchestrate multiple AI agents and tools. Create sequential, parallel, and conditional workflows, while testing them in the Mastra playground.
introduction to workflows
understanding steps
creating your first step
#Faqs
Frequently asked questions
What is Mastra 101?
Mastra 101 is a hands-on course where you learn to develop and deploy AI agents using Mastra, including how to equip them with tools, memory and MCP. The course is explained by Shane Thomas, CPO of Mastra, and delivered entirely inside your agentic code editor, where your code agent guides you step-by-step, writes code with you and helps you build real, working agents from the ground up.
What does Mastra 101 cover?
Mastra 101 covers four lessons: building your first AI agent, adding tools and MCP, adding memory and building workflows. Lessons cover reading data from external sources, connecting to MCP servers, configuring conversation history, semantic recall and working memory, and orchestrating multiple agents and tools.
How long does Mastra 101 take to complete?
Mastra 101 takes 12 hours to complete across 4 lessons. More lessons are coming soon.
Which code editors does Mastra 101 support?
Mastra 101 supports Cursor, Windsurf and VSCode. Paste the installation command for your editor to install the MCP server automatically and begin the course.

