Agent 基础设施官方发布自动监测

September 24, 2026

Mastra introduces ModelSelectionProcessor for dynamic per-request model routing, cross-process thread input cancellation, trusted multi-tenant observability scopes, and durable streaming improvements alongside playground-ui breaking changes.

原始内容为英文;当前页面提供中文导航与来源说明,具体事实请以原文为准。

人类阅读

为什么值得关注

The September 24, 2026 Mastra release introduces ModelSelectionProcessor in @mastra/core, allowing agents to route incoming requests to specific models dynamically using built-in or custom classifiers with options like minProbability and scope: 'first-step'. Cross-process cancellation is now possible via cancelQueuedMessages({ signalIds }) across all agents sharing a runtime and thread, supported across core, server routes, and client-js. For observability, queries now support trusted multi-tenant scoping ({ organizationId, resourceId? }) bound to cursors, tag and duration predicates, and groundwork helpers for aggregateTraces(). Durable streaming in @mastra/inngest adds closeOnSuspend to close stream boundaries upon tool suspension, preventing hanging iteration loops and optimizing Inngest steps. Breaking changes in @mastra/playground-ui include the removal of ErrorState, Button outline variants, TraceKeysAndValues, and refactored auth components.

Agent 解析

可执行摘要

Mastra release (core@1.70.0, inngest@1.10.0) adds ModelSelectionProcessor for classifier-based model routing, cross-agent thread input cancellation via cancelQueuedMessages, closeOnSuspend for durable streaming, multi-tenant trace query isolation, and breaking component removals in @mastra/playground-ui.

Agent 实用度
82/100
可信度
96%
机器格式
JSON + Markdown
下一步

开发者应核对什么

  • Update @mastra/playground-ui code to replace ErrorState with EmptyState tone="error", replace outline buttons with default/primary, and remove TraceKeysAndValues references.
  • Adopt ModelSelectionProcessor in @mastra/core if per-request dynamic model routing or cost-optimization fallback is needed.
  • Add closeOnSuspend: true to DurableAgent.stream() or resume() invocations if downstream UI loops need to terminate cleanly upon tool-call suspension.
分类

标签与路由

mastraagent-runtimetypescript
相关信号

继续阅读