Cover Image for Understanding Mastra's new streaming architecture
Cover Image for Understanding Mastra's new streaming architecture
Avatar for Mastra
Presented by
Mastra
The open-source TypeScript framework for building AI agents
276 Went

Understanding Mastra's new streaming architecture

Zoom
Registration
Past Event
Welcome! To join the event, please register below.
About Event

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.

Avatar for Mastra
Presented by
Mastra
The open-source TypeScript framework for building AI agents
276 Went