Mastra Workshops

Join the Mastra team and expert guests for live, hands-on workshops that teach you how to build and deploy AI agents and applications.

No Upcoming Workshops

Check back soon for new workshop announcements or watch our past workshops below.

Follow us on Luma for updates

Past Workshops

December 4, 2025

60 minutes

Build a Slack Agent with Mastra

In this hands-on workshop, Alex Booker and Grayson Hicks from Mastra will show you how to build a Slack AI agent from scratch using Mastra. You will jump straight into code and ship a production-ready agent in around 40 minutes. Slack is an ideal interface for AI agents. It works across web, desktop, and mobile, supports rich inputs like files and media, and keeps context clean through threads. You can work directly with APIs or plug into existing Slack integrations. The session ends by demonstrating how to connect a Mastra agent to Slack with zero code using Mastra Cloud, followed by time for questions.

November 27, 2025

60 minutes

Build Multi-Agent Networks with Mastra

If you've been working with individual AI agents but find yourself wishing they could collaborate more intelligently, this workshop is for you! Agent Networks in Mastra let you create teams of specialized agents that dynamically work together to solve complex tasks. This session will teach you how to build Agent Networks using Mastra's new Agent Network feature. Unlike traditional workflows where you control every step, Agent Networks use LLM-based routing to automatically decide which agent should handle each part of a task. Build a research network that coordinates web search agents with data analysis agents, or create a content team where writing agents collaborate with editing and fact-checking agents. You'll learn when to use Agent Networks versus Workflows, how to design effective agent collaboration, and how to debug multi-agent interactions. This event is open to all devs and aspiring AI engineers, regardless of background, so feel free to share the invite link. You should be comfortable with basic JavaScript and the command line. This isn't a talk; it's a live workshop where you'll walk away with your own multi-agent network ready to tackle complex, collaborative tasks.

November 20, 2025

1 hour

Mastra Studio workshop

Become the Mastra power user your team relies on. In this fast‑paced, hands‑on session, Shane (Mastra co-founder and CPO) and Alex (Developer Experience fanatic) will unveil 10 lesser‑known Mastra Studio features that unlock serious day‑to‑day leverage - stuff that cuts build time, streamlines iteration, and makes your development workflow sing 🎵 Who this is for: Mastra users who want to level up from competent to power user Teams looking to standardise best practices and speed up delivery You’ll leave with: A practical checklist of 10 high‑impact Studio tips Guidance for sharing Studio with your team via Mastra Cloud What is Mastra Studio? Studio, formerly Playground, provides an interactive UI for building and testing your agents. This lets you start building without worrying about integration right away. As your project evolves, Studio's development environment helps you iterate on your agent quickly. Meanwhile, Observability and Scorer features give you visibility into performance at every stage.

October 30, 2025

45 minutes

Implement Guardrails in Mastra: Build Safer, Smarter Agents

Join Alex Booker (Developer Experience Engineer @ Mastra) and Daniel Lew (Staff SWE @ Mastra, and the engineer behind Guardrails) for a deep dive into how Mastra empowers developers to secure and control AI interactions. ​In this hands-on workshop, you’ll learn how to: ​Apply input and output processors to moderate, sanitize, and transform AI messages ​Prevent prompt injection and data leaks ​Detect and redact PII ​Configure hybrid processors for content moderation and security enforcement ​Chain and customize processors to create your own custom guardrails ​Learn directly from the source how to implement guardrails that make your AI agents safe, reliable, and production-ready.

October 23, 2025

45 minutes

Build agentic workflows with Mastra

2025 has seen AI agents evolve rapidly, but orchestrating complex AI operations remains a challenge. This session is your chance to master Mastra’s battle-tested workflow system to create sophisticated, multi-step AI processes that actually work in production. ​Workflows in Mastra help you orchestrate complex sequences of operations with powerful features like branching, parallel execution, and state management. The Mastra team will show you how to build resilient, observable AI workflows in less than an hour. ​Use workflows to create systems like a content generation pipeline that coordinates research, writing, and editing steps. Or design an AI recruiting workflow that gracefully handles user input, database lookups, and external API calls while maintaining context throughout the process. ​This event is hosted by Alex at Mastra, and joined by Tony — Founding Engineer at @mastra_ai; previously co‑founder at @vercel, co‑authored @nextjs, developer on @gatsbyjs and Socket.IO. ​This event is open to all devs and aspiring AI engineers, regardless of background, so feel free to share the invite link. You should be comfortable with basic JavaScript and the command line.

October 16, 2025

1 hour

Build and deploy your first agent with Mastra

2025 might be the year of AI agents but this session is your chance to actually build and deploy an agent yourself. AI agents are autonomous systems that can perceive their environments, make decisions, and independently take actions to achieve specific goals. With today’s tools and frameworks, it’s never been easier to build them, and Alex at Mastra how to do it in less than an hour. Use agents to build things like a personalized travel agent that puts together vacations for you. Or use multiple-agents to simulate a ‘team’ of writers and editors that seamlessly collaborate on content. This event is open to all devs and aspiring AI engineers, regardless of background, so feel free to share the invite link. It’s recommended that you have a code editor and node v20+ installed prior to the session. You should be comfortable with basic JavaScript and the command line.This isn’t a talk; it’s a live workshop where you’ll walk away having built and deployed your first AI agent.

October 9, 2025

1 hour

Build agents that never forget with Mastra

Agent memory is the difference between chatbots that forget everything and AI assistants that truly understand you. This workshop will teach you how to implement Mastra's newly improved memory system that achieved 80% accuracy on the LongMemEval benchmark - outperforming other frameworks by 8 points. ​​We'll cover both types of memory in Mastra: working memory for tracking user preferences and characteristics, and semantic recall (RAG) for long-term conversation history. You'll learn the practical techniques we discovered while spending $8k and burning through 3.8 billion tokens to optimize these systems. ​​Build agents that remember user preferences across sessions, recall relevant context from months of conversation history, and handle temporal reasoning correctly. We'll walk through real implementation examples including how to configure memory templates, optimize retrieval settings, and format recalled information for better LLM understanding. ​​You'll learn why RAG is very much alive for agent memory (despite claims otherwise), when to use working memory versus semantic recall, and how proper formatting can dramatically improve accuracy. We'll also cover the performance considerations and cost optimizations that matter in production. ​​This event is open to all devs and aspiring AI engineers, regardless of background, so feel free to share the invite link. It's recommended that you have a code editor and node v20+ installed prior to the session. You should be comfortable with basic JavaScript and the command line. This isn't a talk; it's a live workshop where you'll walk away with agents that have state-of-the-art memory capabilities.

October 2, 2025

1 hour

Understanding Mastra's new streaming architecture

Join Abhi (co-founder and CTO) and Ward (Principal Software Engineer) for an informative workshop where we will dive into the recent updates to Mastra's streaming architecture. With the release of @mastra/core v0.19.0, our new streaming protocol has become the default experience, introducing significant changes designed to enhance the functionality and compositional capabilities of AI applications. ​What You Will Learn: ​The rationale behind the transition to our custom streaming layer, moving away from reliance on Vercel's AI SDK. ​An in-depth look at the streamVNext and generateVNext functions, now promoted to the primary stream and generate functions. ​How the updated functions handle nested agent calls, long-running tools, and complex orchestration patterns. ​The benefits of adopting the new streaming format options, such as 'aisdk', and what this means for frontend compatibility. ​Guidance on migrating from the original functions, with insights into the provided Legacy variants. ​Who Should Attend: ​This workshop is ideal for developers currently using Mastra, especially those who have been working with the vNext functions or are planning to transition from the original streaming functions. Whether you're looking to understand the new architecture or need assistance with migration, this session will provide valuable insights.

September 18, 2025

1 hour

Build Production-Ready RAG Applications with Mastra

Retrieval Augmented Generation (RAG) has become essential for building AI applications that can effectively leverage your data. In this hands-on workshop, you'll learn how to build sophisticated RAG systems that go beyond basic implementations. Learn the proven techniques that make RAG systems reliable and effective, including optimal chunking strategies, modern retrieval methods, and hybrid search approaches that combine the best of semantic and keyword search. Join Mastra.ai to understand the architectural decisions that can make or break your RAG application's performance. You'll get hands-on experience implementing: Evaluating when RAG is needed vs. when context windows suffice Advanced document chunking strategies for different content types Sophisticated semantic search and embedding techniques Hybrid retrieval systems combining keyword and semantic search Re-ranking strategies to improve result relevance Performance optimization techniques for production environments This workshop is ideal for developers and AI engineers who want to build more sophisticated RAG applications. Participants should have familiarity with JavaScript and understand fundamental RAG concepts. Come prepared with a code editor—you'll leave with working implementations of advanced RAG components that you can integrate into your projects. Move beyond basic RAG implementations and learn how to build systems that can handle real-world complexity. Join us for this practical session where you'll implement production-ready RAG solutions using proven architectural patterns.