Blog — Mar 2025 till Feb 2025
Updates, tutorials, and engineering deep-dives on building AI agents, workflows, and TypeScript tooling with Mastra.
Mastra Changelog 2025-03-14
Major workflow enhancements, new Mastra Voice features, and more
Announcing our new book: Principles of Building AI agents
Mastra founder Sam Bhagwat is excited to announce the release of our new book: Principles of Building AI agents. This book is a guide for developers who want to rapidly build AI applications.
AI Beats Laboratory: A Multi-Agent Music Generation System
A demo using Mastra to show how multiple AI agents can work together to generate music
Integrating Mastra with Next.js: Two Approaches for AI-Powered Apps
A comprehensive guide to adding Mastra's agent capabilities to your Next.js applications, with flexible integration options for projects of any size
Why We're All-In on MCP
A deep dive into why Mastra is adopting Model Context Protocol (MCP) for AI tool integration, comparing it with Agents.json and Composio, addressing current limitations in discovery, quality, and configuration, and providing a framework-friendly proposal with practical code examples for implementation.
Building a Code Assistant with Large Context Windows
How we used Mastra and Gemini Flash 2.0 to build a natural language interface for code repositories
Mastra Changelog 2025-03-04
Introducing Mastra Cloud and Mastra Voice (as well as a few other things)
From Whiteboard to Excalidraw: Building a Multi-Agent Workflow
How we built a whiteboard image to Excalidraw converter using Mastra's multi-agent workflows, and what we learned about breaking down complex AI tasks into deterministic steps with validation loops.
Giving Agents a Voice
Mastra Voice lets developers add speech-to-text and text-to-speech capabilities to AI agents using a straightforward API
Benchmarking pgvector RAG performance across different dataset sizes
Benchmark tests for pgvector, showing how IVFFlat, adaptive lists, flat search, and HNSW perform at different dataset sizes in recall and latency.
Mastra is moving into beta
Mastra moving into beta
Solving the hardest problem in computer science with LLMs
How we use LLMs at Mastra to design clean, intuitive APIs by improving naming, structure, and developer workflow.