Mastra 1.77.0 released
A major release adding sandbox provider contracts, environment builds, durable execution safety, and observational memory improvements.
What changed in 1.77.0
- Factory now supports FactorySandbox contract with tunable settings, repository templates, and prebuilt environment builds for Docker, E2B, and Mastra Platform providers.
- Sessions can boot multiple repositories in a shared workspace and manage changes across them via source control tools with repository slug support.
- Run fencing prevents durable executions that lost ownership from overwriting recovered runs across multiple storage backends including DynamoDB, MongoDB, MySQL, and others.
- Observational memory gains conflict-aware writes with generation protection, new commitActiveObservations and appendBufferedObservations APIs, and improved reflection fidelity.
- Spans now support links for cross-trace correlation, with W3C traceparent helpers and bidirectional linking between agent and MCP server traces.
Check before you update
- Factory projects now use MastraFactoryConfig.sandbox for provider-instance sandboxes with settings and builds; callback form still works but lacks these features.
- /server workflow HTTP routes no longer allow starting or resuming internal workflows; use agent routes like POST /agents/:agentId/stream instead.
- SessionRecord fields modeId, modelId, state, and pending are deprecated; SessionSuspensions.resolveToolCallId() is deprecated with new address claiming APIs.
Summarised by AgentGid from Mastra's official release notes on GitHub, as reported there; read the original before relying on it. Price, status and release dates come from our daily data.
Mastra at a glance
| What it is | A TypeScript framework for building agents and AI workflows, with memory, evals, retrieval and observability built in. |
|---|---|
| Latest version | 1.83.0, Nov 13, 2026. This page is about an earlier release. |
| Release pace | 5 stable releases in the last 30 days; 1.77.0 came 1 day after the previous one |
| Price | Free (OSS). Mastra is open source and free to use; you pay only for the models and infrastructure it runs on. (checked Nov 9, 2026) |
| Downloads, last 7 days | 3.6M up 13.1% |
| Gid Score | 61 #5 in Agent frameworks and SDKs |