# Mastra ## Docs - [Creating Agents](https://mintlify.wiki/mastra-ai/mastra/agents/creating-agents.md): Step-by-step guide to creating and configuring Mastra agents with examples - [Agents Overview](https://mintlify.wiki/mastra-ai/mastra/agents/overview.md): Learn about Mastra agents and how they orchestrate AI interactions with tools, memory, and workflows - [Streaming Responses](https://mintlify.wiki/mastra-ai/mastra/agents/streaming.md): Stream agent responses in real-time for better user experience - [Structured Output](https://mintlify.wiki/mastra-ai/mastra/agents/structured-output.md): Get type-safe, validated output from agents using Zod schemas - [Agent Tools](https://mintlify.wiki/mastra-ai/mastra/agents/tools.md): Learn how to create and assign tools to agents to extend their capabilities - [Agent](https://mintlify.wiki/mastra-ai/mastra/api/agent.md): AI agent class for creating conversational AI systems with tools, memory, and voice capabilities - [Agent Options](https://mintlify.wiki/mastra-ai/mastra/api/agent-options.md): Configuration options for agent execution (generate and stream methods) - [Config](https://mintlify.wiki/mastra-ai/mastra/api/config.md): Configuration interface for initializing a Mastra instance - [Handler Functions](https://mintlify.wiki/mastra-ai/mastra/api/handlers.md): HTTP handler functions for API routes - [Mastra](https://mintlify.wiki/mastra-ai/mastra/api/mastra.md): Central orchestrator class for managing agents, workflows, storage, logging, observability, and more - [MastraMemory](https://mintlify.wiki/mastra-ai/mastra/api/memory.md): Abstract base class for implementing conversation memory systems - [MastraServer](https://mintlify.wiki/mastra-ai/mastra/api/server.md): HTTP server for exposing Mastra agents, workflows, and APIs - [Step](https://mintlify.wiki/mastra-ai/mastra/api/step.md): Individual step in a workflow that performs a specific task - [MastraCompositeStore](https://mintlify.wiki/mastra-ai/mastra/api/storage.md): Interface for storage providers with standardized methods for persisting data - [Thread](https://mintlify.wiki/mastra-ai/mastra/api/thread.md): Conversation thread type for organizing messages in memory - [Tool](https://mintlify.wiki/mastra-ai/mastra/api/tool.md): Type-safe tool class for extending agent capabilities with custom functions - [Toolset](https://mintlify.wiki/mastra-ai/mastra/api/toolset.md): Collection of related tools grouped together - [MastraVector](https://mintlify.wiki/mastra-ai/mastra/api/vector.md): Abstract base class for vector store implementations - [Workflow](https://mintlify.wiki/mastra-ai/mastra/api/workflow.md): Type-safe workflow class for orchestrating multi-step processes with built-in error handling - [CLI reference](https://mintlify.wiki/mastra-ai/mastra/cli-reference.md): Complete reference for Mastra CLI commands - [Agents](https://mintlify.wiki/mastra-ai/mastra/concepts/agents.md): Autonomous AI systems with tools, memory, and multi-modal capabilities in Mastra - [Mastra Class](https://mintlify.wiki/mastra-ai/mastra/concepts/mastra-class.md): The central orchestrator for Mastra applications with dependency injection and component registry - [Memory](https://mintlify.wiki/mastra-ai/mastra/concepts/memory.md): Thread-based conversation persistence with semantic recall and working memory in Mastra - [Tools](https://mintlify.wiki/mastra-ai/mastra/concepts/tools.md): Tool composition from multiple sources in Mastra - assigned tools, memory tools, toolsets, and MCP servers - [Workflows](https://mintlify.wiki/mastra-ai/mastra/concepts/workflows.md): Graph-based, type-safe execution flows with branching, parallel steps, and suspend/resume in Mastra - [Deploy to Cloudflare Workers](https://mintlify.wiki/mastra-ai/mastra/deployment/cloudflare.md): Deploy your Mastra application to Cloudflare's edge network - [Deploy to Netlify](https://mintlify.wiki/mastra-ai/mastra/deployment/netlify.md): Deploy your Mastra application to Netlify Functions - [Deployment Overview](https://mintlify.wiki/mastra-ai/mastra/deployment/overview.md): Deploy your Mastra applications to production on various platforms - [Deploy to Vercel](https://mintlify.wiki/mastra-ai/mastra/deployment/vercel.md): Deploy your Mastra application to Vercel with serverless functions - [Creating Evaluations](https://mintlify.wiki/mastra-ai/mastra/evals/creating-evals.md): Build custom evaluations and scorers for your AI agents - [Evals Overview](https://mintlify.wiki/mastra-ai/mastra/evals/overview.md): Evaluate and score AI agent outputs with prebuilt and custom scorers - [Using Scorers](https://mintlify.wiki/mastra-ai/mastra/evals/scorers.md): Learn about prebuilt scorers for evaluating AI agent outputs - [Installation](https://mintlify.wiki/mastra-ai/mastra/installation.md): Install Mastra and set up your development environment - [Auth0 Authentication](https://mintlify.wiki/mastra-ai/mastra/integrations/auth/auth0.md): Enterprise identity platform for Mastra with flexible authentication options - [better-auth](https://mintlify.wiki/mastra-ai/mastra/integrations/auth/better-auth.md): Self-hosted authentication framework for Mastra with full control - [Clerk Authentication](https://mintlify.wiki/mastra-ai/mastra/integrations/auth/clerk.md): Modern user management and authentication for Mastra with Clerk - [Supabase Authentication](https://mintlify.wiki/mastra-ai/mastra/integrations/auth/supabase.md): Open-source authentication for Mastra with database integration - [Integrations Overview](https://mintlify.wiki/mastra-ai/mastra/integrations/overview.md): Explore Mastra's plugin architecture and available integrations for storage, vectors, auth, and servers - [Express Server Adapter](https://mintlify.wiki/mastra-ai/mastra/integrations/server/express.md): Battle-tested Node.js framework adapter for deploying Mastra - [Hono Server Adapter](https://mintlify.wiki/mastra-ai/mastra/integrations/server/hono.md): Lightweight, fast web framework adapter for deploying Mastra - [DynamoDB Storage](https://mintlify.wiki/mastra-ai/mastra/integrations/storage/dynamodb.md): AWS serverless NoSQL storage for Mastra with automatic scaling - [LibSQL Storage](https://mintlify.wiki/mastra-ai/mastra/integrations/storage/libsql.md): Use LibSQL/Turso for Mastra storage with SQLite compatibility and edge deployment - [MongoDB Storage](https://mintlify.wiki/mastra-ai/mastra/integrations/storage/mongodb.md): Document-based NoSQL storage for Mastra with MongoDB - [PostgreSQL Storage](https://mintlify.wiki/mastra-ai/mastra/integrations/storage/postgres.md): Production-grade PostgreSQL storage adapter for Mastra with advanced indexing and transaction support - [Chroma Vector Store](https://mintlify.wiki/mastra-ai/mastra/integrations/vectors/chroma.md): AI-native embedding database for Mastra with Python and JavaScript support - [pgvector](https://mintlify.wiki/mastra-ai/mastra/integrations/vectors/pgvector.md): PostgreSQL vector extension for similarity search with HNSW and IVFFlat indexes - [Pinecone Vector Store](https://mintlify.wiki/mastra-ai/mastra/integrations/vectors/pinecone.md): Managed vector database service for semantic search and similarity matching in Mastra - [Qdrant Vector Store](https://mintlify.wiki/mastra-ai/mastra/integrations/vectors/qdrant.md): Open-source vector search engine for Mastra with advanced filtering and on-premise deployment - [Introduction](https://mintlify.wiki/mastra-ai/mastra/introduction.md): Build AI-powered applications and agents with TypeScript - [Conversation History](https://mintlify.wiki/mastra-ai/mastra/memory/conversation-history.md): Persist and retrieve recent messages from conversation threads - [Memory Overview](https://mintlify.wiki/mastra-ai/mastra/memory/overview.md): Learn how Mastra's memory system enables agents to persist and recall information across conversations - [Semantic Recall](https://mintlify.wiki/mastra-ai/mastra/memory/semantic-recall.md): Retrieve relevant messages from past conversations using vector similarity search - [Working Memory](https://mintlify.wiki/mastra-ai/mastra/memory/working-memory.md): Maintain structured user information and preferences that agents update over time - [Logging](https://mintlify.wiki/mastra-ai/mastra/observability/logging.md): Configure structured logging with automatic trace correlation - [Observability Overview](https://mintlify.wiki/mastra-ai/mastra/observability/overview.md): Monitor and trace your AI agents with OpenTelemetry-based observability - [Tracing](https://mintlify.wiki/mastra-ai/mastra/observability/tracing.md): Trace agent execution with OpenTelemetry-based spans - [Quickstart](https://mintlify.wiki/mastra-ai/mastra/quickstart.md): Build your first AI agent with Mastra in minutes - [Document Chunking](https://mintlify.wiki/mastra-ai/mastra/rag/chunking.md): Split documents into semantically meaningful chunks for optimal retrieval - [Document Ingestion](https://mintlify.wiki/mastra-ai/mastra/rag/ingestion.md): Load, parse, and prepare documents for RAG pipelines - [RAG Overview](https://mintlify.wiki/mastra-ai/mastra/rag/overview.md): Build Retrieval-Augmented Generation systems with Mastra's document processing and semantic search capabilities - [Semantic Retrieval](https://mintlify.wiki/mastra-ai/mastra/rag/retrieval.md): Search and retrieve relevant document chunks using vector similarity and reranking - [Server Adapters](https://mintlify.wiki/mastra-ai/mastra/server/adapters.md): Choose and configure a server adapter for your HTTP framework - [Creating an HTTP Server](https://mintlify.wiki/mastra-ai/mastra/server/creating-server.md): Set up an HTTP server to expose your Mastra agents and workflows - [Middleware](https://mintlify.wiki/mastra-ai/mastra/server/middleware.md): Add authentication, authorization, and custom middleware to your server - [Server Overview](https://mintlify.wiki/mastra-ai/mastra/server/overview.md): Learn how to create HTTP servers to expose your Mastra agents and workflows - [Routes and Handlers](https://mintlify.wiki/mastra-ai/mastra/server/routes.md): Understand the available HTTP routes and handler functions - [Storage Overview](https://mintlify.wiki/mastra-ai/mastra/storage/overview.md): Pluggable storage backends for agents, workflows, and memory - [Storage Adapters](https://mintlify.wiki/mastra-ai/mastra/storage/stores.md): SQL and NoSQL storage backends for Mastra - [Vector Stores](https://mintlify.wiki/mastra-ai/mastra/storage/vector-stores.md): Vector databases for semantic search and RAG - [Creating Tools](https://mintlify.wiki/mastra-ai/mastra/tools-mcp/creating-tools.md): Learn how to create tools with the createTool helper function - [Model Context Protocol (MCP)](https://mintlify.wiki/mastra-ai/mastra/tools-mcp/mcp-overview.md): Connect tools, resources, and prompts across applications using MCP - [Creating MCP Servers](https://mintlify.wiki/mastra-ai/mastra/tools-mcp/mcp-servers.md): Build and deploy Model Context Protocol servers - [Tool Calling](https://mintlify.wiki/mastra-ai/mastra/tools-mcp/tool-calling.md): Learn how to use tools with agents and workflows - [Control Flow Patterns](https://mintlify.wiki/mastra-ai/mastra/workflows/control-flow.md): Learn about sequential, parallel, and conditional execution patterns in Mastra workflows - [Creating Workflows](https://mintlify.wiki/mastra-ai/mastra/workflows/creating-workflows.md): Learn how to create and configure Mastra workflows with the createWorkflow and createStep functions - [Workflows Overview](https://mintlify.wiki/mastra-ai/mastra/workflows/overview.md): Learn about Mastra's graph-based workflow execution engine for building complex AI applications - [Workflow Steps](https://mintlify.wiki/mastra-ai/mastra/workflows/steps.md): Learn how to define workflow steps with schemas, execute functions, and step configuration - [Suspend & Resume Workflows](https://mintlify.wiki/mastra-ai/mastra/workflows/suspend-resume.md): Implement human-in-the-loop workflows with suspend and resume capabilities in Mastra