Blog — Jun 2026

Updates, tutorials, and engineering deep-dives on building AI agents, workflows, and TypeScript tooling with Mastra.

All posts

Jun 30, 2026

Build Claude Code for X with Agent Controller

Build and control long-running agent experiences with sessions, modes, permissions, subagents.

Alex BookerCoding Agents
Jun 30, 2026

What are durable AI agents? How state persistence and checkpoints survive a restart

A long-running agent is a durable record that short-lived processes take turns with. This walks through why a context window is not a persistence layer, the three granularities of persistence, how Mastra checkpoints a run to JSON and resumes it on a fresh machine, why a worker can't judge its own work, and the two kinds of state a durable agent has to keep.

Sam BhagwatWorkflows
Jun 29, 2026

Give a Mastra agent persistent file storage with Archil

The @mastra/archil integration attaches an Archil disk to your agent's workspace — persistent file storage backed by your own S3 that an agent can read, write, run code on, search, and share, with files that outlive the run.

Ashwin MudaliarSandboxes & Filesystems
Jun 26, 2026

Introducing Durable Agents

Survive client disconnects, browser refreshes, or network blips with cacheable resumable streams.

Paul ScanlonWorkflows
Jun 25, 2026

Publish and Subscribe with Mastra's Built-In Event System

Send or receive events with Redis Streams and Google Cloud Pub/Sub.

Paul ScanlonWorkflows
Jun 24, 2026

Your Mastra Agent Now Has an Inbox With Priority Notifications

Connect external sources like GitHub and Slack and trigger them to wake up your agent.

Paul ScanlonWorkflows
Jun 23, 2026

Introducing Task Lists for Mastra Agents

Keep your agents on track through long-running, complex work.

Paul ScanlonAgents
Jun 22, 2026

Introducing deployable templates in Mastra platform

Create and deploy a new Mastra project using pre-built templates.

Joel SmithDeployment
Jun 22, 2026

Introducing Mastra CLI Actions for Claude Code, Cursor, and Codex

Run, debug, and improve your Mastra agents from the terminal.

Paul ScanlonCoding Agents
Jun 22, 2026

What is the Agent2Agent (A2A) protocol? How AI agents delegate work

A2A is a shared standard for one agent to hand work to another on a remote server. This walks through its five-object data model, the agent card, the eight task states, the three ways to watch a task, how trust is decided before work is sent, and how Mastra implements both sides on the official @a2a-js/sdk.

Sam BhagwatMulti-agent
Jun 19, 2026

Introducing auto-deployment in Mastra platform

Create and deploy your Mastra platform project from GitHub

Joel SmithDeployment
Jun 19, 2026

Add realtime voice to your Mastra agents with Inworld

Inworld's Realtime API now plugs into Mastra via @mastra/voice-inworld — one WebSocket session gives your agent speech in/out, semantic turn detection, barge-in, and tool calling, attached to the agent you already have.

Ashwin MudaliarVoice & UI
Jun 18, 2026

Announcing Agent Controller

Build interactive AI agents with multiple modes, persistent threads, tool approval, and model switching.

Sam BhagwatCoding Agents
Jun 16, 2026

Introducing Managed Databases for Mastra Projects

Provision a database for your Mastra project in seconds.

Joel SmithDatabases & Storage
Jun 16, 2026

Giving a Mastra agent web access with Bright Data

How a Mastra agent uses Bright Data's webSearch and webFetch in its reasoning loop — what comes back from each tool, why memory turns search into research, and when to choose the typed @mastra/brightdata tools over the Web MCP.

Ashwin MudaliarTools & Integrations

Ship better agents

Quickstart