Highlights
Durable Agent Crash Recovery (server + client + boot-time)
Durable agents can now discover and recover orphaned RUNNING runs after a restart via DurableAgent.listActiveRuns(), recover(), and recoverActiveRuns(), plus…
npx @buildinternet/releases get mastraDurable agents can now discover and recover orphaned RUNNING runs after a restart via DurableAgent.listActiveRuns(), recover(), and recoverActiveRuns(), plus…
The heartbeats API is renamed to schedules across methods, routes, and types; agent schedule IDs now use the agent_ prefix and the default fire signal tag is <schedule>. New @mastra/livekit package enables realtime voice agents with WebRTC, VAD, STT/TTS, turn detection, and barge-in handled by LiveKit while Mastra drives replies, tools, and memory. File-system routing now auto-discovers storage.ts, observability.ts, server.ts, workflows, and agent processors from src/mastra, and @mastra/deployer can auto-construct a Mastra instance when src/mastra/index.ts is absent.
Storage retention policies can now be declared per table with a safe storage.prune() method to delete aged data across growth tables. Multi-tenant isolation is now available end-to-end for datasets, experiments, scores, and scorers via optional organizationId/projectId scoping at the storage layer. New scoreTrace() and scoreTraceBatch() APIs let you score already-stored traces without re-running agents, with optional provenance metadata linking scores back to dataset items.
Harness is now a pure factory/shared-resource owner: create isolated sessions via harness.createSession() (get-or-create by resourceId), with run control, state, event bus, model/mode switching,…
Fixed a WorkOS OAuth login failure caused by a missing PKCE verifier cookie. Agent signal drains now record pending signals through the canonical transcript path and rotate response message IDs consistently, preventing follow-up signal turns from attaching to the wrong assistant response. Also includes faster long-thread resume via optimized state signal restoration and redesigned Studio UI panels.
You can now run server-side/background work (cron jobs, schedulers, queues) as a trusted actor across workflow.execute(), tool.execute(), agent.generate()/stream(), and memory…
New record-first notification signals add a thread-scoped inbox with agent.sendNotificationSignal(), priority-aware delivery, due-notification dispatch, and low-priority rollups, persisted across Postgres, MongoDB, and LibSQL backends. Processors can now publish replayable state lanes via computeStateSignal() and external producers can update them with agent.sendStateSignal(), enabling efficient snapshot/delta state history. @mastra/react adds a fully type-safe MessageFactory for per-part rendering with strongly-typed status slots, while @mastra/core/stream exports canonical IsTaskCompletePayload and TripwirePayload types for consistent UI typing.
Mastra now includes the v1 ToolProvider runtime plus server routes, editor wiring, and client SDK methods to manage OAuth-backed connections and let stored agents…
@mastra/server adds a full HTTP surface for stored entities (CRUD, versioning, activation/restore) including favorites metadata, plus builder introspection endpoints and…
@mastra/spanner@1.0.0)New first-party storage backend for Google Cloud Spanner (GoogleSQL) covering most Mastra storage domains (memory, workflows, schedules, observability, etc.), including persisting tracing spans…
New FGA route policy coverage controls add guardrails for protected routes with built-in resource route metadata resolution and resolver hooks, and a favorites storage domain lets users favorite agents and skills with visibility and favorite count fields. Implemented across PostgreSQL, LibSQL, MongoDB, and ClickHouse adapters. Token estimation for large file parts in observational memory is improved, and fixes address workspace PATCH undefined overwrites, scheduled workflow schedule application, and a circular ESM import crash in @mastra/core/workflows.
New @mastra/acp package lets you run ACP-compatible coding agents as Mastra tools or lightweight subagents with incremental streaming support in supervisors, workflows, and the Inngest adapter. New @mastra/voice-xai-realtime adds realtime voice integration for xAI Grok Voice Agent API. Agents now support optional metadata for client-side filtering and cloning, enterprise entry points for admin model policies and RBAC enhancements, improved file handling in workspace.read_file with native media parts, and a lightweight trace listing API for observability.
Mastra now supports push delivery for workflow events via PubSubs and HTTP endpoints, enabling brokers like GCP Pub/Sub and SNS to deliver events without a pull worker. A new opt-in ResponseCache input processor skips redundant model calls by replaying cached responses per step. Agents can accept contextual signals mid-run and clients can subscribe to thread activity for reliable follow-ups during streaming responses. Breaking changes include Inngest v4 requirement, paginated list methods now requiring orderBy, and removal of some Playground UI exports.
Mastra now supports relationship-based, resource-level authorization with centralized enforcement before agent runs (generate()/stream()), tool/workflow execution, and memory…
A new channels architecture adds ChannelProvider, a dedicated ChannelsStorage domain, and ChannelConnectResult connection flows (OAuth, deep link, immediate), with Mastra-level…
New DurableAgent support lets agent streams resume after client disconnects and continue through server crashes/restarts by caching stream events and enabling reconnection via…