Workflows

Durable, branching, human-in-the-loop pipelines that combine LLMs, tools and code.

29 posts

Aug 12, 2026Blog

Introducing Dynamic Workflows for Mastra

Add, update, and remove workflows from a running Mastra server — without touching the code.

Jul 20, 2026Article

Workflow orchestration: a complete guide

Learn what workflow orchestration is, how it compares to automation, common patterns like DAGs and state machines, and how to implement it for AI agents.

Jul 9, 2026Blog

Introducing Custom Signal Providers for Mastra Agents

Send notification signals to your agents from any external source.

Jul 8, 2026Blog

Introducing Schedules for Mastra Agents and Workflows

A unified API for managing automated recurring tasks

Jul 1, 2026Blog

Introducing Webhook Signals for Mastra Agents

Your agents can now react to webhook events from GitHub, Slack, Stripe, or your own API.

Jun 30, 2026Blog

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.

Jun 26, 2026Blog

Introducing Durable Agents

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

Jun 25, 2026Blog

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

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

Jun 24, 2026Blog

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.

Jun 22, 2026Article

Agentic workflows: how they work, key components, and how to build them

Learn how agentic workflows work, what components you need, and how to build one step by step, including observability, testing, and real-world use cases.

Jun 22, 2026Article

AI agent workflows: a complete guide for developers

Learn how AI agent workflows work, common patterns like routing and parallelization, and how to build, evaluate, and monitor agentic workflows in production.

Jun 22, 2026Article

AI workflow automation: how to build reliable pipelines that handle complexity at scale

Build AI workflow automation that handles complexity at scale, with branching, conditions, and human-in-the-loop checkpoints that adapt where rules can't.

Jun 22, 2026Article

AI workflows: what they are, how they work, and how to build them

AI workflows combine LLMs, tools, and orchestration logic to automate complex tasks. Learn key components, use cases, and how to monitor them.

Jun 3, 2026Blog

Announcing Agent Signals

A context engineering primitive for interacting with running agents.

May 27, 2026Blog

Mastra Workflows, Enhanced

Mastra's new Temporal integration brings durable execution, advanced retries, and richer observability to your workflows.

May 12, 2026Blog

Introducing Temporal Support for Mastra Workflows

Your workflows can now run on Temporal with durable, fault-tolerant execution.

May 7, 2026Blog

9 Best AI Workflow Automation Tools in 2026

Compare the best AI workflow automation tools in 2026, from developer-native frameworks like Mastra to no-code platforms like Gumloop, and more.

May 7, 2026Blog

Introducing Background Tasks for Mastra Agents

Your agents can now stream progress feedback during long-running tool calls.

Feb 4, 2026Blog

Human-in-the-Loop: Where to Put Approval in Agents and Workflows

Agents can pause before tool calls. Workflows can suspend at steps. But when they're working together, where's the right place for a human-in-the-loop?

Jan 28, 2026Blog

Human-in-the-Loop: When to Use Agent Approval

When should an agent ask for permission? How to think about approval, suspension, and the trust spectrum in your agent design.

Jan 1, 2026Blog

Building a signal provider

Build a polling signal provider that watches an external service and pushes notifications into an agent thread.

Oct 28, 2025Blog

HITL: Ask Before Acting

Learn how to use HITL (Human-in-the-Loop) to safely build tools that require human approval.

Oct 22, 2025Blog

You can suspend/resume workflows in playground

Mastra workflows now support suspend and resume in Playground. You can also use the new resumeStream API to close streams on suspend and resume them later.

Oct 22, 2025Blog

Workflow State: Share Data Across Steps

Workflow state lets you share values across steps without threading them through every `inputSchema` and `outputSchema`.

Jun 6, 2025Blog

Building an AI Research Assistant with vNext Workflows

A deep dive into building MastraManus, an AI research assistant powered by Mastra's vNext workflows.

Apr 29, 2025Blog

Introducing vNext Workflows: the next generation of Mastra Workflows

vNext brings stronger control flow, better type safety, and multi-engine support.

Feb 28, 2025Blog

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.

Jan 30, 2025Blog

Baby steps towards AI Ops

How do we apply the lessons learned from the last decade of DevOps to manage, deploy, and operate AI agents at scale?

Jan 13, 2025Blog

Building workflows with Mastra

A few patterns for building workflows

Ship better agents

Quickstart