Mastra Templates
Starter kits for AI agent builders. Clone a working example of an agent, workflow, or MCP server and make it yours.
Showing 21 templates
Official
Deep Search
An AI research assistant that evaluates its own work.
Google Sheet Analysis
Builds financial models, projections, and analyses directly in Google Sheets.
Browser Agent
Integrate Stagehand into Mastra
Chat with Database
Query a database using natural language
Chat with PDF
An AI-powered PDF assistant that lets you chat with any PDF document.
Flash Cards from PDF
Generate educational flash cards from PDF documents
CSV to Questions Generator
Let an agent analyze your CSV
Customer Support and Refund Agent
Answers support requests and proposes policy-backed refunds for human review.
Security Incident Triage and Response
Investigates alerts and prepares evidence-based response actions for human approval.
KYC and Customer Onboarding
Verifies identities, assesses risk, and routes KYC cases for compliance review.
Accounts Payable Invoice Processing
Validates invoices, matches records, detects duplicates, and routes approvals.
Agent Harness
Runs research and multi-step tasks with tools, memory, approvals, and schedules.
Agent Builder
Builds Mastra agents through natural language or a visual editor.
Chat with YouTube
Summarizes YouTube videos and answers questions with clickable timestamp citations.
Slack Agent
Connects Mastra Agents to Slack with streaming responses and thread memory.
GitHub PR Code Review
An AI-powered code review agent for GitHub
Docs Chatbot
Builds an MCP-powered documentation assistant connected to a Mastra agent.
Customer Feedback Summarization
An AI agent that analyzes customer feedback and produces actionable summaries.
Mastra Code
A terminal-based AI coding agent built on Mastra's primitives




