September 23, 2026
Mastra introduces first-class classifiers for workflow routing and policy enforcement, native background tool execution via adopt(), expanded SaaS integrations, and improved Inngest durable runs.
Why this signal matters
Mastra has updated its core framework with first-class classifier primitives manageable via new Mastra({ classifiers }) with trace integration, usable directly as typed workflow steps for branching. A new ClassifierProcessor enforces input/output/streaming policies and fails closed by default (with an opt-in warn strategy). Tools now support background execution via context.background.adopt({ completion, cancel }) , enabling immediate acknowledgments while in-memory promises handle completion and cancellation. Additionally, @mastra/connect@0.3.0 adds ten generated SaaS tool providers, Inngest durable runs gain configurable retries and snapshot resume fixes, and trace grouping via queryTraces() is deprecated in favor of queryThreads / queryTraceThreads() . Breaking UI changes occurred in @mastra/playground-ui regarding layout and styling APIs.
Actionable summary
Mastra release adds classifiers primitive to core and workflows, ClassifierProcessor for policy checks failing closed by default, context.background.adopt() for non-blocking tool execution, and deprecates trace grouping in favor of thread queries.
- Agent usefulness
- 82/100
- Confidence
- 96%
- Canonical data
- JSON + Markdown
What builders should check
- Migrate trace grouping calls from queryTraces() using group to queryThreads() or queryTraceThreads() .
- Update @mastra/playground-ui imports to remove @mastra/playground-ui/lib/springs and adapt to the reworked PageLayout and FluidHoverHighlight APIs.
- Verify policy pipelines using ClassifierProcessor , noting that failures now fail closed by default unless configured with errorStrategy: 'warn' .