Blog — Jun 2026

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

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

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

Jun 22, 2026
Paul Scanlon
# features

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.

Jun 22, 2026
Sam Bhagwat
# foundations

Introducing auto-deployment in Mastra platform

Create and deploy your Mastra platform project from GitHub

Jun 19, 2026
Joel Smith
# features

Add realtime voice to your Mastra agents with Inworld

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

Jun 19, 2026
Ashwin Mudaliar
# examples

Announcing Mastra Harness

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

Jun 18, 2026
Sam Bhagwat
# announcements

Introducing Managed Databases for Mastra Projects

Provision a database for your Mastra project in seconds.

Jun 16, 2026
Joel Smith
# features

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.

Jun 16, 2026
Ashwin Mudaliar
# examples

Partnering with Mastra

How technology partners integrate with Mastra — from shipping an integration PR, to co-marketing, to going to market together — with examples from MongoDB, Elastic, Render, CopilotKit, Bright Data, and more.

Jun 16, 2026
Ashwin Mudaliar
# announcements

Introducing Claude Code, Cursor, and Codex agents in Mastra

Build your own coding agents using Claude, Cursor, or OpenAI's agent SDKs.

Jun 15, 2026
Paul Scanlon
# features

Product Agents We Built at Mastra

Internal agents help us keep information out of silos, automate work in public, and scale how we listen to users.

Jun 11, 2026
# foundations

Introducing Code Mode for Mastra Agents

Your agents can now run multi-tool computations with more accurate results.

Jun 9, 2026
Paul Scanlon
# features

Anatomy of a harness: building a coding agent that can run for hours

How Mastra Code's harness wraps the agent loop: conversation-as-channel, event-to-display-state translation, human-in-the-loop tools, observational memory, subagents, modes, and an ordered tool-approval chain.

Jun 5, 2026
Sam Bhagwat
# foundations

Ship better agents

Deploy a template