Mastra Traces Gain Outcomes, Stop Reasons
Mastra Observability now distinguishes how a trace ended from why it stopped, adding outcome, stopReason, and stopReasonContext fields. Developers can filter and aggregate these fields while defining custom values for application-specific spans.
This moves AI observability beyond binary success-or-error reporting toward actionable execution diagnostics.
- –Separates failures, cancellations, limits, guardrail blocks, and interruptions
- –Enables trace and span queries grouped by outcome or stop reason
- –Custom values let teams encode domain-specific agent behavior
- –Stop-reason context adds compact details such as max-step limits
- –Capability checks preserve compatibility with older storage adapters
DISCOVERED
1d ago
2026-11-10
PUBLISHED
1d ago
2026-11-10
RELEVANCE
AUTHOR
mastra