Wake, Notify, and Steer Long-Running Agents with Signals

Mastra
858 views •

This workshop covers building long-running agents that receive new instructions and context in real time using Mastra Signals. Signals let user follow-ups, background task results, and external events enter the agent’s ongoing loop to wake idle threads or steer active runs. Hosted by: Abhi Aiyer, Co-Founder and CTO @ Mastra Tyler Barnes, Engineering @ Mastra CHAPTERS 00:00 Why long-running agents need signals 07:04 Thread subscriptions, durable streams, and shared sessions 17:36 Sending, queuing, canceling, and steering messages 19:36 Shopping agent: state updates and notification priorities 23:36 Coordinating builder and reviewer agents with signals 26:01 Prompt caching, state snapshots, and observational memory 29:18 Home assistant: reacting to external events and changing state 35:21 Q&A: processors, tools, storage, and PubSub 39:21 Mastra Factory: coordinating coding sessions across web and Slack 47:15 Q&A: workflows, multi-agent systems, and serverless deployment WHAT IS MASTRA Mastra is an open-source TypeScript framework designed for building and shipping AI-powered applications and agents with minimal friction. It supports the full lifecycle of agent development, from prototype to production. 📚 MASTRA RESOURCES Website: https://mastra.ai X: https://x.com/mastra_ai Discord: https://mastra.ai/community/discord GitHub: https://github.com/mastra-ai Learn Mastra: https://mastra.ai/learn Principles of Building AI Agents (Book): https://mastra.ai/books/principles-of... Patterns for Building AI Agents (Book): https://mastra.ai/books/patterns-of-b...

Keyboard shortcuts

On. Switch them off if they collide with your assistive tools; ? still opens this sheet.

Go to

Press g then the letter.

  • gh Latest
  • gs Sources
  • gm Media
  • gv Videos
  • gp Podcasts
  • gc Calendar
  • gd Decoder
  • gz Dataviz
  • ga Datasets
  • gb Blog
  • gk Markets
  • gj Careers
  • gn Prompt Notebook

On this page

  • / Focus search, where there is one
  • t Back to top
  • ? This list
  • Esc Close