# mastra.ai > AI-optimized mirror of mastra.ai containing 50 pages totalling 27,983 words of clean markdown content, structured data, and semantic HTML. Original source: https://mastra.ai/. Last updated: 2026-04-30T22:19:58.993Z. Each page is available as HTML (with JSON-LD structured data) and Markdown (text-only, ideal for LLMs and RAG). ## Homepage - [Ship more capable agents](/site-root.html): An open-source TypeScript & JavaScript framework for building, testing and deploying AI agents and applications with ease, from idea to production. (381 words) ## Articles & Blog Posts - [guides/build-your-ui/ai-sdk-ui/index.html](/guides/build-your-ui/ai-sdk-ui/index.html) (1 words) - [podcasts/index.html](/podcasts/index.html) (1 words) - [models/providers/zenmux/index.html](/models/providers/zenmux/index.html) (1 words) - [AI Beats Laboratory: A Multi-Agent Music Generation System](/blog/ai-beats-lab/index.html): A demo using Mastra to show how multiple AI agents can work together to generate music (1,019 words) - [reference/workspace/daytona-sandbox/index.html](/reference/workspace/daytona-sandbox/index.html) (1 words) - [Mastra Changelog 2026-02-04](/blog/changelog-2026-02-04/index.html): Observational Memory, skills.sh integrations, plus improved tracing and safer error handling. (1,647 words) - [Models](/models/providers/alibaba/index.html): Use Alibaba models with Mastra. 47 models available. (193 words) - [Mastra Workshops](/workshops/index.html): Join the Mastra team and expert guests for live, hands-on workshops that teach you how to build and deploy AI agents and applications (2,290 words) - [AI engineering, two years later](/blog/ai-engineering/index.html): What's changed in AI engineering over the last two years: models, agents, knowledge, tracing, evals (1,211 words) - [AI with JavaScript in 2025](/blog/ai-engineering-javascript/index.html): A dive into four leading open-source JS AI libraries: Vercel AI SDK for model routing, Mastra for agents and workflows, Langfuse for observability, and Stagehand for web automation. (1,078 words) - [Mastra v1 Release](/docs/v0/frameworks/web-frameworks/next-js/index.html): Mastra v0.x: A step-by-step guide to integrating Mastra with Next.js. (831 words) - [Baby steps towards AI Ops](/blog/ai-ops/index.html): How do we apply the lessons learned from the last decade of DevOps to manage, deploy, and operate AI agents at scale? (861 words) - [Mastra Changelog 2026-03-04](/blog/changelog-2026-03-04/index.html): Token-aware workspace output, smarter truncation, LSP resolution, sandbox process control, end-to-end auth and RBAC, workflow path tracking, concurrent-safe snapshots, and harness.sendMessage() file support. (1,380 words) - [Integration guide](/guides/build-your-ui/assistant-ui/index.html): Learn how to integrate Assistant UI with Mastra (581 words) - [Environment Variable](/models/providers/ollama-cloud/index.html): Use Ollama Cloud models with Mastra. 39 models available. (196 words) - [How Replit Agent 3 creates thousands of Mastra agents every day](/blog/replitagent3/index.html): Replit’s Agent 3 automatically generates Mastra agents and workflows from natural language descriptions. (812 words) - [How to Structure Projects for AI Agents and LLMs](/blog/how-to-structure-projects-for-ai-agents-and-llms/index.html): Learn how Mastra is optimized for modern AI systems, and how to implement a similar approach. (1,546 words) - [Using Mastra's Agent Memory API](/blog/agent-memory-guide/index.html): A technical guide to implementing agent memory in Mastra, covering storage, vector search, and context management (615 words) - [Models](/models/providers/opencode/index.html): Use OpenCode Zen models with Mastra. 39 models available. (196 words) - [The Agent Prototype Playbook](/blog/agent-prototype-playbook/index.html): A 7-step playbook for scoping, building, and shipping AI agent prototypes. (800 words) - [Usage example](/reference/agents/channels/index.html): API reference for agent channels, which connect agents to messaging platforms like Slack, Discord, and Telegram. (914 words) - [Announcing Mastra’s Agent Studio](/blog/agent-studio/index.html): We've renamed Playground to Studio and it's now shareable with your team. (381 words) - [The evolution of AgentNetwork](/blog/agent-network/index.html): We've unified multi-agent coordination under a new .network() primitive—read about our journey, the experiments, and how you can use it to orchestrate collaborative agents simply. (537 words) - [Code Example](/models/providers/kilo/index.html): Use Kilo Gateway models with Mastra. 337 models available. (196 words) - [Usage examples](/reference/agents/agent/index.html): Documentation for the `Agent` class in Mastra, which provides the foundation for creating AI agents with various capabilities. (790 words) - [Announcing Observational Memory](/blog/observational-memory/index.html): A human-inspired memory system that scores ~95% on LongMemEval — with a completely stable context window. (933 words) - [Usage example](/reference/streaming/agents/streamuntilidle/index.html): API reference for Agent.streamUntilIdle(), which keeps an agent stream open until all dispatched background tasks have completed. (653 words) - [Manual Installation Guide for Mastra Server](/docs/getting-started/manual-install/index.html): Set up a Mastra project manually without using the create mastra CLI. (472 words) - [MASTRAFRAMEWORK](/framework/index.html): Build and ship agents with an open-source TypeScript framework. Use tools, memory, workflows, and more. (462 words) - [Integrating Mastra with Next.js: Two Approaches for AI-Powered Apps](/blog/nextjs-integration-guide/index.html): A comprehensive guide to adding Mastra's agent capabilities to your Next.js applications, with flexible integration options for projects of any size (885 words) - [Build AI agents your users actually depend on.](/docs/index.html): Create your first Mastra application in seconds. Build AI agents, workflows, and tools with TypeScript. (500 words) - [Before you begin](/guides/deployment/vercel/index.html): Learn how to deploy a Mastra application to Vercel (599 words) - [Announcing Mastra's improved agent orchestration with AI SDK v5 support](/blog/announcing-mastra-improved-agent-orchestration-ai-sdk-v5-support.html): Mastra now controls the agent loop and tool calling with increased orchestration capabilities—while maintaining backward compatibility with AI SDK v4 and v5. (541 words) - [Models](/models/providers/llama/index.html): Use Llama models with Mastra. 7 models available. (218 words) - [Models](/models/providers/xiaomi-token-plan-cn/index.html): Use Xiaomi Token Plan (China) models with Mastra. 5 models available. (202 words) - [.env](/models/providers/privatemode-ai/index.html): Use Privatemode AI models with Mastra. 5 models available. (221 words) - [Announcing Remote Filesystems for Mastra Workspaces](/blog/index.html): Mastra.ai blog - Latest updates, tutorials, and insights on building AI agents. (302 words) - [Getting Started with Mastra](/guides/getting-started/quickstart/index.html): Get started with Mastra using the create mastra CLI to build a server with agents, workflows, and tools. (498 words) - [Mastra Changelog 2025-09-08](/blog/changelog-2025-09-08/index.html): Zod v4 support with v3 compatibility and more. (466 words) - [Mastra is now Apache 2.0 licensed!](/blog/apache-license/index.html): Mastra is now licensed under Apache 2.0, making it easier for everyone to use, modify, and contribute. (358 words) - [Announcing Channels for Mastra Agents](/blog/announcing-channels/index.html): Give users access to your agent from Slack, Discord, Telegram, and more. (313 words) - [Models](/models/providers/agentrouter/index.html): Use AgentRouter models with Mastra. 20 models available. (192 words) - [LSP Inspection for Mastra Workspaces](/blog/lsp-inspection-for-mastra-workspaces/index.html): Give agents semantic understanding of your codebase. (270 words) - [Models](/models/providers/zhipuai-coding-plan/index.html): Use Zhipu AI Coding Plan models with Mastra. 4 models available. (202 words) - [Models](/models/providers/lucidquery/index.html): Use LucidQuery AI models with Mastra. 2 models available. (221 words) - [Announcing Browser Support for Mastra Agents](/blog/announcing-browser-support/index.html): Your agents can now browse and take actions on the web, just like you. (330 words) - [Models](/models/providers/kuae-cloud-coding-plan/index.html): Use KUAE Cloud Coding Plan models with Mastra. 1 model available. (202 words) - [Z.AI Coding Plan Models](/models/providers/zai-coding-plan/index.html): Use Z.AI Coding Plan models with Mastra. 5 models available. (224 words) - [Usage example](/reference/workflows/run/index.html): Documentation for the Run class in Mastra, which represents a workflow execution instance. (260 words) ## Resources - [Full Page Index](/index.html): Browse all cached pages with rich metadata - [About This Cache](/content/about.html): Methodology, technical details, and usage guidelines - [XML Sitemap](/content/sitemap.xml): Machine-readable sitemap for crawler discovery - [Robots.txt](/content/robots.txt): Crawler directives