Mastra shipped @mastra/[email protected] on 2026-09-24: register classifiers on `new Mastra({ classifiers })` and use them as typed workflow steps; `ClassifierProcessor` fails closed by default on I/O/stream; tools can `context.background.adopt()` long work; `@mastra/connect` adds ten generated SaaS tool providers (Slack, GitHub, Gmail, …).

Key Takeaways

  • ✓`@mastra/[email protected]` tagged 2026-09-24 06:58 UTC (npm also rolled 1.70.0 later that day)
  • ✓First-class classifiers with list/add/remove and typed workflow steps + token usage
  • ✓`ClassifierProcessor` fails closed by default; opt into `errorStrategy: 'warn'`
  • ✓`context.background.adopt({ completion, cancel })` for ack-then-finish tools (in-memory handles)
  • ✓`@mastra/[email protected]` ships 10 generated providers (Slack, GitHub, Gmail/Calendar, …)
🔬

In-Depth Technical Analysis

Core Background & Industry Pain Points

TS agents need typed routing/safety gates and long-running SaaS tools. Ad-hoc classifiers often fail open; background tools block execute(). Mastra 1.69 makes classifiers, policy processors, and background adopt first-class.

Architecture Highlights & Internals

Register classifiers on new Mastra({ classifiers }) with management APIs and tracing. ClassifierProcessor covers input/output/stream and fails closed by default. Tools context.background.adopt({ completion, cancel }) to ack immediately (in-memory handles). @mastra/connect adds 10 Nango-generated SaaS providers; Inngest runs gain configurable retries and better resume.

Benchmarks & Measured Numbers

No SWE-bench figures. Verified: tag @mastra/[email protected]; 10 Connect providers; fail-closed default; Playground UI breakings noted in the release.

Developer Getting Started

Bump @mastra/core to 1.69.0+, read mastra.ai/docs, wire ClassifierProcessor / connect(), see the GitHub release.

⚡
Evaluating this AI coding model or solution?
Check live multi-benchmark rankings or compare plan costs & promo credits.
ADSponsored