Mastra 1.80.0 adds per-user OAuth connections for agent tools
Updated Mastra
Summary
Resource-scoped connections and connection prompts arrive alongside observability and run-control changes.
- Tool
- Mastra
- Category
- Frameworks
- Date
- Pricing
- Not stated in the sources we cited.
Mastra Core 1.80.0 adds end-user OAuth connections scoped through a resource ID. Applications can request tools for that resource and expose user connection routes, while global connections remain a separate option.
Ask for a connection when needed
A missing integration can produce a structured connection prompt through request_connection. This gives an application a defined state to display instead of treating every missing authorization as an ordinary tool failure.
Observability gains span aggregation, and provider failures retain structured details such as status, request ID and recovery information. Thread subscriptions expose run status, while run abortion is explicit; disconnecting an observer no longer aborts durable or evented work.
Review changed interfaces
Connection sessions use launchUrl in place of connectUrl. Trace-thread query results and pagination also change, and built-in Code SDK subagents are no longer enabled by default.
These are integration and lifecycle changes. They do not supply users’ OAuth consent, provider accounts or inference credits. Existing applications should check the migration details against the interfaces they actually use.
See the mastra hub.
More from Mastra
Mastra core 1.79.0 moves agent sessions to session IDs
MastraMastra core 1.79.0, released October 21, 2026, keys agent controller sessions by sessionId and adds span aggregation and MCP Events.
Category: Frameworks
Pricing: Open source
Mastra Core 1.78 adds agent scopes and typed signal queues
MastraThe October 16 release introduces scoped agent identity, trace aggregation and typed queued signals, with server upgrade requirements.
Category: Frameworks
Pricing: Open source
Mastra core 1.76.0 adds durable run ownership and fencing
MastraMastra's @mastra/core 1.76.0, published October 13, 2026, makes durable agent crash recovery safe across instances and adds atomic Postgres memory merges.
Category: Frameworks
Pricing: Open source
Mastra Agent Controller
MastraMastra extracted the loop around Mastra Code into AgentController, shipping in @mastra/core 1.47.0 on June 18, 2026.
Category: Frameworks
Pricing: Open source
Mastra Code
MastraMastra Code is an open-source terminal coding agent, announced February 24, 2026, built around observational memory instead of compaction.
Category: Coding agents
Pricing: Open source
Questions
What is Mastra?
Mastra is a TypeScript framework for agents. In 2026 the team shipped Mastra Code, a terminal coding agent, and then AgentController, the class that wraps the agent loop.
What are Mastra alternatives?
OpenAI's Agents SDK and Agents API, OpenHands Agent Canvas, and OpenCode if you want a finished terminal client rather than a framework.
Filed on Agent Radar. Claims in this note are limited to the sources above.