Machine Readiness
Stored receipt and evidence
20
65
0
0
0
Samples
No stored offer samples.
Samples
No stored action samples.
Samples
No stored product samples.
Document
# Algolia-Crawler-Verif: 8BE6FD6A85A0A0D2 User-Agent: * Allow: / Sitemap: https://mastra.ai/sitemap.xml # Allow Algolia crawler User-Agent: Algolia Crawler Allow: /
Document
# Mastra
Mastra is a framework for building AI-powered applications and agents with a modern TypeScript stack. It includes everything you need to go from early prototypes to production-ready applications. Mastra integrates with frontend and backend frameworks like React, Next.js, and Node, or you can deploy it anywhere as a standalone server. It's the easiest way to build, tune, and scale reliable AI products.
Some of its highlights include: Model routing, agents, workflows, human-in-the-loop, context management, and MCP.
The documentation is organized into key sections:
- **Docs**: Core documentation covering concepts, features, and implementation details
- **Models**: Mastra provides a unified interface for working with LLMs across multiple providers
- **Guides**: Step-by-step tutorials for building specific applications
- **Reference**: API reference documentation
Each section contains detailed docs that provide comprehensive information about Mastra's features and how to use them effectively.
These are the most popular starting points:
- [Get Started with Mastra](https://mastra.ai/docs): Create a new project with the `create mastra` CLI or use one of the framework quickstart guides
- [Agent Overview](https://mastra.ai/docs/agents/overview): Agents use LLMs and tools to solve open-ended tasks. They reason about goals, decide which tools to use, retain conversation memory, and iterate internally until the model emits a final answer or an optional stop condition is met.
- [Workflows Overview](https://mastra.ai/docs/workflows/overview): Workflows let you define complex sequences of tasks using clear, structured steps rather than relying on the reasoning of a single agent.
- [Memory Overview](https://mastra.ai/docs/memory/overview): Memory gives your agent coherence across interactions and allows it to improve over time by retaining relevant information from past conversations.
## Docs
- [Get Started](https://mastra.ai/docs)
- Fundamentals
- [Project Structure](https://mastra.ai/docs/getting-started/project-structure)
- [Manual Install](https://mastra.ai/docs/getting-started/manual-install)
- [Build with AI](https://mastra.ai/docs/getting-started/build-with-ai)
- Studio
- [Overview](https://mastra.ai/docs/studio/overview)
- [Deployment](https://mastra.ai/docs/studio/deployment)
- [Auth](https://mastra.ai/docs/studio/auth)
- [Observability](https://mastra.ai/docs/studio/observability)
- Agents
- [Overview](https://mastra.ai/docs/agents/overview)
- [Tools](https://mastra.ai/docs/agents/using-tools)
- [Structured Output](https://mastra.ai/docs/agents/structured-output)
- [Supervisor Agents](https://mastra.ai/docs/agents/supervisor-agents)
- [Processors](https://mastra.ai/docs/agents/processors)
- [Guardrails](https://mastra.ai/docs/agents/guardrails)
- [Agent Approval](https://mastra.ai/docs/agents/agent-approval)
- [Voice](https://mastra.ai/docs/agents/adding-voice)
- [Channels](https://mastra.ai/docs/agents/channels)
- [Networks](https://mastra.ai/docs/agents/networks)
- Memory
- [Overview](https://mastra.ai/docs/memory/overview)
- [Storage](https://mastra.ai/docs/memory/storage)
- [Message History](https://mastra.ai/docs/memory/message-history)
- [Observational Memory](https://mastra.ai/docs/memory/observational-memory)
- [Working Memory](https://mastra.ai/docs/memory/working-memory)
- [Semantic Recall](https://mastra.ai/docs/memory/semantic-recall)
- [Memory Processors](https://mastra.ai/docs/memory/memory-processors)
- Workflows
- [Overview](https://mastra.ai/docs/workflows/overview)
- [Workflow State](https://mastra.ai/docs/workflows/workflow-state)
- [Control Flow](https://mastra.ai/docs/workflows/control-flow)
- [Agents & Tools](https://mastra.ai/docs/workflows/agents-and-tools)
- [Snapshots](https://mastra.ai/docs/workflows/snapshots)
- [Suspend & Resume](https://mastra.ai/docs/workflows/suspend-and-resume)
- [Human-in-the-loop](https://mastra.ai/docs/workflows/human-in-the-loop)
- [Time Travel](https://mastra.ai/docs/workflows/time-travel)
- [Error Handling](https://mastra.ai/docs/workflows/error-handling)
- Editor
- [Overview](https://mastra.ai/docs/editor/overview)
- [Tools](https://mastra.ai/docs/editor/tools)
- [Prompts](https://mastra.ai/docs/editor/prompts)
- Streaming
- [Overview](https://mastra.ai/docs/streaming/overview)
- [Events](https://mastra.ai/docs/streaming/events)
- [Tool Streaming](https://mastra.ai/docs/streaming/tool-streaming)
- [Workflow Streaming](https://mastra.ai/docs/streaming/workflow-streaming)
- MCP
- [Overview](https://mastra.ai/docs/mcp/overview)
- [Publishing an MCP Server](https://mastra.ai/docs/mcp/publishing-mcp-server)
- Workspaces
- [Overview](https://mastra.ai/docs/workspace/overview)
- [Filesystem](https://mastra.ai/docs/workspace/filesystem)
- [Sandbox](https://mastra.ai/docs/workspace/sandbox)
- [LSP Inspection](https://mastra.ai/docs/workspace/lsp)
- [Skills](https://mastra.ai/docs/workspace/skills)
- [Search and Indexing](https://mastra.ai/docs/workspace/search)
- Browser
- [Overview](https://mastra.ai/docs/browser/overview)
- [AgentBrowser](https://mastra.ai/docs/browser/agent-browser)
- [Stagehand](https://mastra.ai/docs/browser/stagehand)
- [BrowserViewer](https://mastra.ai/docs/browser/browser-viewer)
- Server
- [Overview](https://mastra.ai/docs/server/mastra-server)
- [Server Adapters](https://mastra.ai/docs/server/server-adapters)
- [Custom Adapters](https://mastra.ai/docs/server/custom-adapters)
- [Middleware](https://mastra.ai/docs/server/middleware)
- [Request Context](https://mastra.ai/docs/server/request-context)
- [Custom API Routes](https://mastra.ai/docs/server/custom-api-routes)
- [Mastra Client](https://mastra.ai/docs/server/mastra-client)
- Auth
- [Overview](https://mastra.ai/docs/server/auth/index)
- [Auth0](https://mastra.ai/docs/server/auth/auth0)
- [Better Auth](https://mastra.ai/docs/server/auth/better-auth)
- [Clerk](https://mastra.ai/docs/server/auth/clerk)
- [Composite Auth](https://mastra.ai/docs/server/auth/composite-auth)
- [Custom Auth Provider](https://mastra.ai/docs/server/auth/custom-auth-provider)
- [Firebase](https://mastra.ai/docs/server/auth/firebase)
- [JSON Web Token](https://mastra.ai/docs/server/auth/jwt)
- [Okta](https://mastra.ai/docs/server/auth/okta)
- [Simple Auth](https://mastra.ai/docs/server/auth/simple-auth)
- [Supabase](https://mastra.ai/docs/server/auth/supabase)
- [WorkOS](https://mastra.ai/docs/server/auth/workos)
- Deployment
- [Overview](https://mastra.ai/docs/deployment/overview)
- [Mastra Server](https://mastra.ai/docs/deployment/mastra-server)
- [Monorepo](https://mastra.ai/docs/deployment/monorepo)
- [Cloud Providers](https://mastra.ai/docs/deployment/cloud-providers)
- [Web Framework](https://mastra.ai/docs/deployment/web-framework)
- [Workflow Runners](https://mastra.ai/docs/deployment/workflow-runners)
- Observability
- [Overview](https://mastra.ai/docs/observability/overview)
- [Logging](https://mastra.ai/docs/observability/logging)
- Tracing
- [Overview](https://mastra.ai/docs/observability/tracing/overview)
- Bridges
- [OpenTelemetry](https://mastra.ai/docs/observability/tracing/bridges/otel)
- Exporters
- [Default](https://mastra.ai/docs/observability/tracing/exporters/default)
- [Cloud](https://mastra.ai/docs/observability/tracing/exporters/cloud)
- [Arize](https://mastra.ai/docs/observability/tracing/exporters/arize)
- [Arthur](https://mastra.ai/docs/observability/tracing/exporters/arthur)
- [Braintrust](https://mastra.ai/docs/observability/tracing/exporters/braintrust)
- [Datadog](https://mastra.ai/docs/observability/tracing/exporters/datadog)
- [Laminar](https://mastra.ai/docs/observability/tracing/exporters/laminar)
- [Langfuse](https://mastra.ai/docs/observability/tracing/exporters/langfuse)
- [LangSmith](https://mastra.ai/docs/observability/tracing/exporters/langsmith)
- [OpenTelemetry](https://mastra.ai/docs/observability/tracing/exporters/otel)
- [PostHog](https://mastra.ai/docs/observability/tracing/exporters/posthog)
- [Sentry](https://mastra.ai/docs/observability/tracing/exporters/sentry)
- Processors
- [SensitiveDataFilter](https://mastra.ai/docs/observability/tracing/processors/sensitive-data-filter)
- Metrics
- [Overview](https://mastra.ai/docs/observability/metrics/overview)
- Evals
- [Overview](https://mastra.ai/docs/evals/overview)
- [Built-in Scorers](https://mastra.ai/docs/evals/built-in-scorers)
- [Custom Scorers](https://mastra.ai/docs/evals/custom-scorers)
- [Running in CI](https://mastra.ai/docs/evals/running-in-ci)
- Datasets
- [Overview](https://mastra.ai/docs/evals/datasets/overview)
- [Running Experiments](https://mastra.ai/docs/evals/datasets/running-experiments)
- Mastra Platform
- [Overview](https://mastra.ai/docs/mastra-platform/overview)
- [Configuration](https://mastra.ai/docs/mastra-platform/configuration)
- RAG
- [Overview](https://mastra.ai/docs/rag/overview)
- [Chunking and Embedding](https://mastra.ai/docs/rag/chunking-and-embedding)
- [Vector Databases](https://mastra.ai/docs/rag/vector-databases)
- [Retrieval](https://mastra.ai/docs/rag/retrieval)
- [GraphRAG](https://mastra.ai/docs/rag/graph-rag)
- Voice
- [Overview](https://mastra.ai/docs/voice/overview)
- [Text to Speech](https://mastra.ai/docs/voice/text-to-speech)
- [Speech to Text](https://mastra.ai/docs/voice/speech-to-text)
- [Speech to Speech](https://mastra.ai/docs/voice/speech-to-speech)
- Build with AI
- [Skills](https://mastra.ai/docs/build-with-ai/skills)
- [MCP Docs Server](https://mastra.ai/docs/build-with-ai/mcp-docs-server)
- Community
- [Contributing Templates](https://mastra.ai/docs/community/contributing-templates)
- [License](https://mastra.ai/docs/community/licensing)
- [Discord](https://mastra.ai/docs/community/discord)
## Models
- [Overview](https://mastra.ai/models)
- [Embeddings](https://mastra.ai/models/embeddings)
- [Gateways](https://mastra.ai/models/gateways/index)
- [Providers](https://mastra.ai/models/providers/index)
## Guides
- [Overview](https://mastra.ai/guides)
- Getting Started
- [Quickstart](https://mastra.ai/guides/getting-started/quickstart)
- [Next.js](https://mastra.ai/guides/getting-started/next-js)
- [React](https://mastra.ai/guides/getting-started/vite-react)
- [Astro](https://mastra.ai/guides/getting-started/astro)
- [SvelteKit](https://mastra.ai/guides/getting-started/sveltekit)
- [Nuxt](https://mastra.ai/guides/getting-started/nuxt)
- [Express](https://mastra.ai/guides/getting-started/express)
- [Hono](https://mastra.ai/guides/getting-started/hono)
- [Electron](https://mastra.ai/guides/getting-started/electron)
- Concepts
- [Multi-agent systems](https://mastra.ai/guides/concepts/multi-agent-systems)
- Agent Frameworks
- [AI SDK](https://mastra.ai/guides/agent-frameworks/ai-sdk)
- Agentic UIs
- [AI SDK UI](https://mastra.ai/guides/build-your-ui/ai-sdk-ui)
- [CopilotKit](https://mastra.ai/guides/build-your-ui/copilotkit)
- [Assistant UI](https://mastra.ai/guides/build-your-ui/assistant-ui)
- Deployment
- [Amazon EC2](https://mastra.ai/guides/deployment/amazon-ec2)
- [AWS Lambda](https://mastra.ai/guides/deployment/aws-lambda)
- [Azure App Services](https://mastra.ai/guides/deployment/azure-app-services)
- [Cloudflare](https://mastra.ai/guides/deployment/cloudflare)
- [Digital Ocean](https://mastra.ai/guides/deployment/digital-ocean)
- [Inngest](https://mastra.ai/guides/deployment/inngest)
- [Mastra Platform](https://mastra.ai/guides/deployment/mastra-platform)
- [Netlify](https://mastra.ai/guides/deployment/netlify)
- [Vercel](https://mastra.ai/guides/deployment/vercel)
- Tutorials
- Fundamentals
- [Agents: Chef Michel](https://mastra.ai/guides/guide/chef-michel)
- [Tools: Stock Agent](https://mastra.ai/guides/guide/stock-agent)
- [Tools: Web Search](https://mastra.ai/guides/guide/web-search)
- [Tools: Firecrawl](https://mastra.ai/guides/guide/firecrawl)
- [Workflows: AI Recruiter](https://mastra.ai/guides/guide/ai-recruiter)
- [RAG: Research Assistant](https://mastra.ai/guides/guide/research-assistant)
- [MCP Server: Notes MCP Server](https://mastra.ai/guides/guide/notes-mcp-server)
- Multi-agent systems
- [Supervisor Agents: Research Coordinator](https://mastra.ai/guides/guide/research-coordinator)
- Workspaces
- [Workspace: Dev Assistant](https://mastra.ai/guides/guide/dev-assistant)
- [Skills: Code Review Bot](https://mastra.ai/guides/guide/code-review-bot)
- [Filesystem: Docs Manager](https://mastra.ai/guides/guide/docs-manager)
- [WhatsApp Chat Bot](https://mastra.ai/guides/guide/whatsapp-chat-bot)
- [GitHub Actions: PR Description](https://mastra.ai/guides/guide/github-actions-pr-description)
- Migrations
- v1.0
- [Overview](https://mastra.ai/guides/migrations/upgrade-to-v1/overview)
- [Agents](https://mastra.ai/guides/migrations/upgrade-to-v1/agent)
- [CLI](https://mastra.ai/guides/migrations/upgrade-to-v1/cli)
- [Client SDK](https://mastra.ai/guides/migrations/upgrade-to-v1/client)
- [Deployment](https://mastra.ai/guides/migrations/upgrade-to-v1/deployment)
- [Evals](https://mastra.ai/guides/migrations/upgrade-to-v1/evals)
- [Mastra](https://mastra.ai/guides/migrations/upgrade-to-v1/mastra)
- [MCP](https://mastra.ai/guides/migrations/upgrade-to-v1/mcp)
- [Memory](https://mastra.ai/guides/migrations/upgrade-to-v1/memory)
- [Processors](https://mastra.ai/guides/migrations/upgrade-to-v1/processors)
- [RAG](https://mastra.ai/guides/migrations/upgrade-to-v1/rag)
- [Storage](https://mastra.ai/guides/migrations/upgrade-to-v1/storage)
- [Tools](https://mastra.ai/guides/migrations/upgrade-to-v1/tools)
- [Tracing](https://mastra.ai/guides/migrations/upgrade-to-v1/tracing)
- [Vectors](https://mastra.ai/guides/migrations/upgrade-to-v1/vectors)
- [Voice](https://mastra.ai/guides/migrations/upgrade-to-v1/voice)
- [Workflows](https://mastra.ai/guides/migrations/upgrade-to-v1/workflows)
- [Mastra Cloud to Mastra Platform](https://mastra.ai/guides/migrations/mastra-cloud)
- [.network() to Supervisor Agents](https://mastra.ai/guides/migrations/network-to-supervisor)
- [VNext to Standard APIs](https://mastra.ai/guides/migrations/vnext-to-standard-apis)
- [AgentNetwork to .network()](https://mastra.ai/guides/migrations/agentnetwork)
- [AI SDK v4 to v5](https://mastra.ai/guides/migrations/ai-sdk-v4-to-v5)
## Reference
- [Overview](https://mastra.ai/reference)
- [Configuration](https://mastra.ai/reference/configuration)
- Agents
- [Agent Class](https://mastra.ai/reference/agents/agent)
- [Channels](https://mastra.ai/reference/agents/channels)
- [.generate()](https://mastra.ai/reference/agents/generate)
- [.generateLegacy()](https://mastra.ai/reference/agents/generateLegacy)
- [.getDefaultGenerateOptionsLegacy()](https://mastra.ai/reference/agents/getDefaultGenerateOptions)
- [.getDefaultOptions()](https://mastra.ai/reference/agents/getDefaultOptions)
- [.getDefaultStreamOptionsLegacy()](https://mastra.ai/reference/agents/getDefaultStreamOptions)
- [.getDescription()](https://mastra.ai/reference/agents/getDescription)
- [.getInstructions()](https://mastra.ai/reference/agents/getInstructions)
- [.getLLM()](https://mastra.ai/reference/agents/getLLM)
- [.getMemory()](https://mastra.ai/reference/agents/getMemory)
- [.getModel()](https://mastra.ai/reference/agents/getModel)
- [.getTools()](https://mastra.ai/reference/agents/getTools)
- [.getVoice()](https://mastra.ai/reference/agents/getVoice)
- [.listAgents()](https://mastra.ai/reference/agents/listAgents)
- [.listScorers()](https://mastra.ai/reference/agents/listScorers)
- [.listTools()](https://mastra.ai/reference/agents/listTools)
- [.listWorkflows()](https://mastra.ai/reference/agents/listWorkflows)
- [.network()](https://mastra.ai/reference/agents/network)
- AI SDK
- [chatRoute()](https://mastra.ai/reference/ai-sdk/chat-route)
- [handleChatStream()](https://mastra.ai/reference/ai-sdk/handle-chat-stream)
- [handleNetworkStream()](https://mastra.ai/reference/ai-sdk/handle-network-stream)
- [handleWorkflowStream()](https://mastra.ai/reference/ai-sdk/handle-workflow-stream)
- [networkRoute()](https://mastra.ai/reference/ai-sdk/network-route)
- [toAISdkMessages()](https://mastra.ai/reference/ai-sdk/to-ai-sdk-messages)
- [toAISdkStream()](https://mastra.ai/reference/ai-sdk/to-ai-sdk-stream)
- [toAISdkV4Messages()](https://mastra.ai/reference/ai-sdk/to-ai-sdk-v4-messages)
- [toAISdkV5Messages()](https://mastra.ai/reference/ai-sdk/to-ai-sdk-v5-messages)
- [withMastra()](https://mastra.ai/reference/ai-sdk/with-mastra)
- [workflowRoute()](https://mastra.ai/reference/ai-sdk/workflow-route)
- Auth
- [Auth0](https://mastra.ai/reference/auth/auth0)
- [Better Auth](https://mastra.ai/reference/auth/better-auth)
- [Clerk](https://mastra.ai/reference/auth/clerk)
- [Firebase](https://mastra.ai/reference/auth/firebase)
- [JSON Web Token](https://mastra.ai/reference/auth/jwt)
- [Okta](https://mastra.ai/reference/auth/okta)
- [Supabase](https://mastra.ai/reference/auth/supabase)
- [WorkOS](https://mastra.ai/reference/auth/workos)
- Browser
- [AgentBrowser](https://mastra.ai/reference/browser/agent-browser)
- [BrowserViewer](https://mastra.ai/reference/browser/browser-viewer)
- [MastraBrowser Class](https://mastra.ai/reference/browser/mastra-browser)
- [StagehandBrowser](https://mastra.ai/reference/browser/stagehand-browser)
- CLI
- [create-mastra](https://mastra.ai/reference/cli/create-mastra)
- [mastra](https://mastra.ai/reference/cli/mastra)
- Client SDK
- [Agents API](https://mastra.ai/reference/client-js/agents)
- [Conversations API](https://mastra.ai/reference/client-js/conversations)
- [Error Handling](https://mastra.ai/reference/client-js/error-handling)
- [Logs API](https://mastra.ai/reference/client-js/logs)
- [Mastra Client SDK](https://mastra.ai/reference/client-js/mastra-client)
- [Memory API](https://mastra.ai/reference/client-js/memory)
- [Observability API](https://mastra.ai/reference/client-js/observability)
- [Responses API](https://mastra.ai/reference/client-js/responses)
- [Telemetry API](https://mastra.ai/reference/client-js/telemetry)
- [Tools API](https://mastra.ai/reference/client-js/tools)
- [Vectors API](https://mastra.ai/reference/client-js/vectors)
- [Workflows API](https://mastra.ai/reference/client-js/workflows)
- Core
- [Mastra Class](https://mastra.ai/reference/core/mastra-class)
- [MastraModelGateway](https://mastra.ai/reference/core/mastra-model-gateway)
- [.addGateway()](https://mastra.ai/reference/core/addGateway)
- [.getAgent()](https://mastra.ai/reference/core/getAgent)
- [.getAgentById()](https://mastra.ai/reference/core/getAgentById)
- [.getDeployer()](https://mastra.ai/reference/core/getDeployer)
- [.getEditor()](https://mastra.ai/reference/core/getEditor)
- [.getGateway()](https://mastra.ai/reference/core/getGateway)
- [.getGatewayById()](https://mastra.ai/reference/core/getGatewayById)
- [.getLogger()](https://mastra.ai/reference/core/getLogger)
- [.getMCPServer()](https://mastra.ai/reference/core/getMCPServer)
- [.getMCPServerById()](https://mastra.ai/reference/core/getMCPServerById)
- [.getMemory()](https://mastra.ai/reference/core/getMemory)
- [.getScorer()](https://mastra.ai/reference/core/getScorer)
- [.getScorerById()](https://mastra.ai/reference/core/getScorerById)
- [.getServer()](https://mastra.ai/reference/core/getServer)
- [.getStorage()](https://mastra.ai/reference/core/getStorage)
- [.getTelemetry()](https://mastra.ai/reference/core/getTelemetry)
- [.getVector()](https://mastra.ai/reference/core/getVector)
- [.getWorkflow()](https://mastra.ai/reference/core/getWorkflow)
- [.listAgents()](https://mastra.ai/reference/core/listAgents)
- [.listGateways()](https://mastra.ai/reference/core/listGateways)
- [.listLogs()](https://mastra.ai/reference/core/listLogs)
- [.listLogsByRunId()](https://mastra.ai/reference/core/listLogsByRunId)
- [.listMCPServers()](https://mastra.ai/reference/core/listMCPServers)
- [.listMemory()](https://mastra.ai/reference/core/listMemory)
- [.listScorers()](https://mastra.ai/reference/core/listScorers)
- [.listVectors()](https://mastra.ai/reference/core/listVectors)
- [.listWorkflows()](https://mastra.ai/reference/core/listWorkflows)
- [.setLogger()](https://mastra.ai/reference/core/setLogger)
- [.setStorage()](https://mastra.ai/reference/core/setStorage)
- Deployer
- [Cloudflare](https://mastra.ai/reference/deployer/cloudflare)
- [Deployer](https://mastra.ai/reference/deployer/index)
- [Netlify](https://mastra.ai/reference/deployer/netlify)
- [Vercel](https://mastra.ai/reference/deployer/vercel)
- Editor
- [MastraEditor Class](https://mastra.ai/reference/editor/mastra-editor)
- [ToolProvider](https://mastra.ai/reference/editor/tool-provider)
- Evals
- [createScorer()](https://mastra.ai/reference/evals/create-scorer)
- [MastraScorer](https://mastra.ai/reference/evals/mastra-scorer)
- [runEvals()](https://mastra.ai/reference/evals/run-evals)
- [Scorer Utils](https://mastra.ai/reference/evals/scorer-utils)
- Built-in scorers
- [Answer Relevancy Scorer](https://mastra.ai/reference/evals/answer-relevancy)
- [Answer Similarity Scorer](https://mastra.ai/reference/evals/answer-similarity)
- [Bias](https://mastra.ai/reference/evals/bias)
- [Completeness](https://mastra.ai/reference/evals/completeness)
- [Content Similarity Scorer](https://mastra.ai/reference/evals/content-similarity)
- [Context Precision Scorer](https://mastra.ai/reference/evals/context-precision)
- [Context Relevance Scorer](https://mastra.ai/reference/evals/context-relevance)
- [Faithfulness](https://mastra.ai/reference/evals/faithfulness)
- [Hallucination](https://mastra.ai/reference/evals/hallucination)
- [Keyword Coverage Scorer](https://mastra.ai/reference/evals/keyword-coverage)
- [Noise Sensitivity Scorer](https://mastra.ai/reference/evals/noise-sensitivity)
- [Prompt Alignment Scorer](https://mastra.ai/reference/evals/prompt-alignment)
- [Textual Difference Scorer](https://mastra.ai/reference/evals/textual-difference)
- [Tone Consistency Scorer](https://mastra.ai/reference/evals/tone-consistency)
- [Tool Call Accuracy Scorers](https://mastra.ai/reference/evals/tool-call-accuracy)
- [Toxicity](https://mastra.ai/reference/evals/toxicity)
- [Trajectory Accuracy Scorers](https://mastra.ai/reference/evals/trajectory-accuracy)
- Datasets
- [Dataset Class](https://mastra.ai/reference/datasets/dataset)
- [DatasetsManager Class](https://mastra.ai/reference/datasets/datasets-manager)
- [.addItem()](https://mastra.ai/reference/datasets/addItem)
- [.addItems()](https://mastra.ai/reference/datasets/addItems)
- [.compareExperiments()](https://mastra.ai/reference/datasets/compareExperiments)
- [.create()](https://mastra.ai/reference/datasets/create)
- [.delete()](https://mastra.ai/reference/datasets/delete)
- [.deleteExperiment()](https://mastra.ai/reference/datasets/deleteExperiment)
- [.deleteItem()](https://mastra.ai/reference/datasets/deleteItem)
- [.deleteItems()](https://mastra.ai/reference/datasets/deleteItems)
- [.get()](https://mastra.ai/reference/datasets/get)
- [.getDetails()](https://mastra.ai/reference/datasets/getDetails)
- [.getExperiment()](https://mastra.ai/reference/datasets/getExperiment)
- [.getItem()](https://mastra.ai/reference/datasets/getItem)
- [.getItemHistory()](https://mastra.ai/reference/datasets/getItemHistory)
- [.list()](https://mastra.ai/reference/datasets/list)
- [.listExperimentResults()](https://mastra.ai/reference/datasets/listExperimentResults)
- [.listExperiments()](https://mastra.ai/reference/datasets/listExperiments)
- [.listItems()](https://mastra.ai/reference/datasets/listItems)
- [.listVersions()](https://mastra.ai/reference/datasets/listVersions)
- [.startExperiment()](https://mastra.ai/reference/datasets/startExperiment)
- [.startExperimentAsync()](https://mastra.ai/reference/datasets/startExperimentAsync)
- [.update()](https://mastra.ai/reference/datasets/update)
- [.updateItem()](https://mastra.ai/reference/datasets/updateItem)
- Harness
- [Harness Class](https://mastra.ai/reference/harness/harness-class)
- Mastra Platform
- [API Reference](https://mastra.ai/reference/mastra-platform/api)
- Memory
- [Cloned Thread Utilities](https://mastra.ai/reference/memory/clone-utilities)
- [Memory Class](https://mastra.ai/reference/memory/memory-class)
- [Observational Memory](https://mastra.ai/reference/memory/observational-memory)
- [.cloneThread()](https://mastra.ai/reference/memory/cloneThread)
- [.createThread()](https://mastra.ai/reference/memory/createThread)
- [.deleteMessages()](https://mastra.ai/reference/memory/deleteMessages)
- [.getThreadById()](https://mastra.ai/reference/memory/getThreadById)
- [.listThreads()](https://mastra.ai/reference/memory/listThreads)
- [.recall()](https://mastra.ai/reference/memory/recall)
- Observability
- Logging
- [PinoLogger](https://mastra.ai/reference/logging/pino-logger)
- Metrics
- [Automatic Metrics](https://mastra.ai/reference/observability/metrics/automatic-metrics)
- Tracing
- [Configuration](https://mastra.ai/reference/observability/tracing/configuration)
- [Instances](https://mastra.ai/reference/observability/tracing/instances)
- [Interfaces](https://mastra.ai/reference/observability/tracing/interfaces)
- [Span filtering](https://mastra.ai/reference/observability/tracing/span-filtering)
- [Spans](https://mastra.ai/reference/observability/tracing/spans)
- Bridges
- [OtelBridge](https://mastra.ai/reference/observability/tracing/bridges/otel)
- Exporters
- [Arize](https://mastra.ai/reference/observability/tracing/exporters/arize)
- [Arthur](https://mastra.ai/reference/observability/tracing/exporters/arthur)
- [Braintrust](https://mastra.ai/reference/observability/tracing/exporters/braintrust)
- [Cloud](https://mastra.ai/reference/observability/tracing/exporters/cloud-exporter)
- [Console](https://mastra.ai/reference/observability/tracing/exporters/console-exporter)
- [Datadog](https://mastra.ai/reference/observability/tracing/exporters/datadog)
- [Default](https://mastra.ai/reference/observability/tracing/exporters/default-exporter)
- [Laminar](https://mastra.ai/reference/observability/tracing/exporters/laminar)
- [Langfuse](https://mastra.ai/reference/observability/tracing/exporters/langfuse)
- [LangSmith](https://mastra.ai/reference/observability/tracing/exporters/langsmith)
- [OpenTelemetry](https://mastra.ai/reference/observability/tracing/exporters/otel)
- [PostHog](https://mastra.ai/reference/observability/tracing/exporters/posthog)
- [Sentry](https://mastra.ai/reference/observability/tracing/exporters/sentry)
- Processors
- [SensitiveDataFilter](https://mastra.ai/reference/observability/tracing/processors/sensitive-data-filter)
- Processors
- [BatchPartsProcessor](https://mastra.ai/reference/processors/batch-parts-processor)
- [LanguageDetector](https://mastra.ai/reference/processors/language-detector)
- [MessageHistory](https://mastra.ai/reference/processors/message-history-processor)
- [ModerationProcessor](https://mastra.ai/reference/processors/moderation-processor)
- [PIIDetector](https://mastra.ai/reference/processors/pii-detector)
- [PrefillErrorHandler](https://mastra.ai/reference/processors/prefill-error-handler)
- [Processor Interface](https://mastra.ai/reference/processors/processor-interface)
- [PromptInjectionDetector](https://mastra.ai/reference/processors/prompt-injection-detector)
- [SemanticRecall](https://mastra.ai/reference/processors/semantic-recall-processor)
- [SkillSearchProcessor](https://mastra.ai/reference/processors/skill-search-processor)
- [SystemPromptScrubber](https://mastra.ai/reference/processors/system-prompt-scrubber)
- [TokenLimiterProcessor](https://mastra.ai/reference/processors/token-limiter-processor)
- [ToolCallFilter](https://mastra.ai/reference/processors/tool-call-filter)
- [ToolSearchProcessor](https://mastra.ai/reference/processors/tool-search-processor)
- [UnicodeNormalizer](https://mastra.ai/reference/processors/unicode-normalizer)
- [WorkingMemory](https://mastra.ai/reference/processors/working-memory-processor)
- RAG
- [DatabaseConfig](https://mastra.ai/reference/rag/database-config)
- [Embed](https://mastra.ai/reference/rag/embeddings)
- [ExtractParams](https://mastra.ai/reference/rag/extract-params)
- [GraphRAG](https://mastra.ai/reference/rag/graph-rag)
- [MDocument](https://mastra.ai/reference/rag/document)
- [Metadata Filters](https://mastra.ai/reference/rag/metadata-filters)
- [rerank()](https://mastra.ai/reference/rag/rerank)
- [rerankWithScorer()](https://mastra.ai/reference/rag/rerankWithScorer)
- [.chunk()](https://mastra.ai/reference/rag/chunk)
- Server
- [createRoute()](https://mastra.ai/reference/server/create-route)
- [Express Adapter](https://mastra.ai/reference/server/express-adapter)
- [Fastify Adapter](https://mastra.ai/reference/server/fastify-adapter)
- [Hono Adapter](https://mastra.ai/reference/server/hono-adapter)
- [Koa Adapter](https://mastra.ai/reference/server/koa-adapter)
- [MastraServer](https://mastra.ai/reference/server/mastra-server)
- [registerApiRoute()](https://mastra.ai/reference/server/register-api-route)
- [Server Routes](https://mastra.ai/reference/server/routes)
- Storage
- [Overview](https://mastra.ai/reference/storage/overview)
- [Cloudflare D1 Storage](https://mastra.ai/reference/storage/cloudflare-d1)
- [Cloudflare KV Storage](https://mastra.ai/reference/storage/cloudflare)
- [Composite Storage](https://mastra.ai/reference/storage/composite)
- [Convex Storage](https://mastra.ai/reference/storage/convex)
- [DynamoDB Storage](https://mastra.ai/reference/storage/dynamodb)
- [LanceDB Storage](https://mastra.ai/reference/storage/lance)
- [libSQL Storage](https://mastra.ai/reference/storage/libsql)
- [MongoDB Storage](https://mastra.ai/reference/storage/mongodb)
- [MSSQL Storage](https://mastra.ai/reference/storage/mssql)
- [PostgreSQL Storage](https://mastra.ai/reference/storage/postgresql)
- [Redis Storage](https://mastra.ai/reference/storage/redis)
- [Upstash Storage](https://mastra.ai/reference/storage/upstash)
- Streaming
- [ChunkType](https://mastra.ai/reference/streaming/ChunkType)
- Agents
- [MastraModelOutput](https://mastra.ai/reference/streaming/agents/MastraModelOutput)
- [.stream()](https://mastra.ai/reference/streaming/agents/stream)
- [.streamLegacy()](https://mastra.ai/reference/streaming/agents/streamLegacy)
- Workflows
- [.observeStream()](https://mastra.ai/reference/streaming/workflows/observeStream)
- [.resumeStream()](https://mastra.ai/reference/streaming/workflows/resumeStream)
- [.stream()](https://mastra.ai/reference/streaming/workflows/stream)
- [.timeTravelStream()](https://mastra.ai/reference/streaming/workflows/timeTravelStream)
- Templates
- [Overview](https://mastra.ai/reference/templates/overview)
- Tools & MCP
- [createDocumentChunkerTool()](https://mastra.ai/reference/tools/document-chunker-tool)
- [createGraphRAGTool()](https://mastra.ai/reference/tools/graph-rag-tool)
- [createTool()](https://mastra.ai/reference/tools/create-tool)
- [createVectorQueryTool()](https://mastra.ai/reference/tools/vector-query-tool)
- [MCPClient](https://mastra.ai/reference/tools/mcp-client)
- [MCPServer](https://mastra.ai/reference/tools/mcp-server)
- [Tavily Tools](https://mastra.ai/reference/tools/tavily)
- Vectors
- [Amazon S3 Vector Store](https://mastra.ai/reference/vectors/s3vectors)
- [Astra Vector Store](https://mastra.ai/reference/vectors/astra)
- [Chroma Vector Store](https://mastra.ai/reference/vectors/chroma)
- [Cloudflare Vector Store](https://mastra.ai/reference/vectors/vectorize)
- [Convex Vector Store](https://mastra.ai/reference/vectors/convex)
- [Couchbase Vector Store](https://mastra.ai/reference/vectors/couchbase)
- [DuckDB Vector Store](https://mastra.ai/reference/vectors/duckdb)
- [ElasticSearch Vector Store](https://mastra.ai/reference/vectors/elasticsearch)
- [Lance Vector Store](https://mastra.ai/reference/vectors/lance)
- [libSQL Vector Store](https://mastra.ai/reference/vectors/libsql)
- [MongoDB Vector Store](https://mastra.ai/reference/vectors/mongodb)
- [OpenSearch Vector Store](https://mastra.ai/reference/vectors/opensearch)
- [PG Vector Store](https://mastra.ai/reference/vectors/pg)
- [Pinecone Vector Store](https://mastra.ai/reference/vectors/pinecone)
- [Qdrant Vector Store](https://mastra.ai/reference/vectors/qdrant)
- [Turbopuffer Vector Store](https://mastra.ai/reference/vectors/turbopuffer)
- [Upstash Vector Store](https://mastra.ai/reference/vectors/upstash)
- Voice
- [Azure](https://mastra.ai/reference/voice/azure)
- [Cloudflare](https://mastra.ai/reference/voice/cloudflare)
- [Composite Voice](https://mastra.ai/reference/voice/composite-voice)
- [Deepgram](https://mastra.ai/reference/voice/deepgram)
- [ElevenLabs](https://mastra.ai/reference/voice/elevenlabs)
- [Events](https://mastra.ai/reference/voice/voice.events)
- [Google](https://mastra.ai/reference/voice/google)
- [Google Gemini Live](https://mastra.ai/reference/voice/google-gemini-live)
- [Mastra Voice](https://mastra.ai/reference/voice/mastra-voice)
- [Murf](https://mastra.ai/reference/voice/murf)
- [OpenAI](https://mastra.ai/reference/voice/openai)
- [OpenAI Realtime](https://mastra.ai/reference/voice/openai-realtime)
- [PlayAI](https://mastra.ai/reference/voice/playai)
- [Sarvam](https://mastra.ai/reference/voice/sarvam)
- [Speechify](https://mastra.ai/reference/voice/speechify)
- [.addInstructions()](https://mastra.ai/reference/voice/voice.addInstructions)
- [.addTools()](https://mastra.ai/reference/voice/voice.addTools)
- [.answer()](https://mastra.ai/reference/voice/voice.answer)
- [.close()](https://mastra.ai/reference/voice/voice.close)
- [.connect()](https://mastra.ai/reference/voice/voice.connect)
- [.getSpeakers()](https://mastra.ai/reference/voice/voice.getSpeakers)
- [.listen()](https://mastra.ai/reference/voice/voice.listen)
- [.off()](https://mastra.ai/reference/voice/voice.off)
- [.on()](https://mastra.ai/reference/voice/voice.on)
- [.send()](https://mastra.ai/reference/voice/voice.send)
- [.speak()](https://mastra.ai/reference/voice/voice.speak)
- [.updateConfig()](https://mastra.ai/reference/voice/voice.updateConfig)
- Workflows
- [Run Class](https://mastra.ai/reference/workflows/run)
- [Step Class](https://mastra.ai/reference/workflows/step)
- [Workflow Class](https://mastra.ai/reference/workflows/workflow)
- Methods
- [.branch()](https://mastra.ai/reference/workflows/workflow-methods/branch)
- [.commit()](https://mastra.ai/reference/workflows/workflow-methods/commit)
- [.createRun()](https://mastra.ai/reference/workflows/workflow-methods/create-run)
- [.dountil()](https://mastra.ai/reference/workflows/workflow-methods/dountil)
- [.dowhile()](https://mastra.ai/reference/workflows/workflow-methods/dowhile)
- [.foreach()](https://mastra.ai/reference/workflows/workflow-methods/foreach)
- [.map()](https://mastra.ai/reference/workflows/workflow-methods/map)
- [.parallel()](https://mastra.ai/reference/workflows/workflow-methods/parallel)
- [.sleep()](https://mastra.ai/reference/workflows/workflow-methods/sleep)
- [.sleepUntil()](https://mastra.ai/reference/workflows/workflow-methods/sleepUntil)
- [.then()](https://mastra.ai/reference/workflows/workflow-methods/then)
- Run Methods
- [.cancel()](https://mastra.ai/reference/workflows/run-methods/cancel)
- [.restart()](https://mastra.ai/reference/workflows/run-methods/restart)
- [.resume()](https://mastra.ai/reference/workflows/run-methods/resume)
- [.start()](https://mastra.ai/reference/workflows/run-methods/start)
- [.startAsync()](https://mastra.ai/reference/workflows/run-methods/startAsync)
- [.timeTravel()](https://mastra.ai/reference/workflows/run-methods/timeTravel)
- Workspaces
- [AgentFSFilesystem](https://mastra.ai/reference/workspace/agentfs-filesystem)
- [BlaxelSandbox](https://mastra.ai/reference/workspace/blaxel-sandbox)
- [DaytonaSandbox](https://mastra.ai/reference/workspace/daytona-sandbox)
- [DockerSandbox](https://mastra.ai/reference/workspace/docker-sandbox)
- [E2BSandbox](https://mastra.ai/reference/workspace/e2b-sandbox)
- [GCSFilesystem](https://mastra.ai/reference/workspace/gcs-filesystem)
- [LocalFilesystem](https://mastra.ai/reference/workspace/local-filesystem)
- [LocalSandbox](https://mastra.ai/reference/workspace/local-sandbox)
- [ModalSandbox](https://mastra.ai/reference/workspace/modal-sandbox)
- [S3Filesystem](https://mastra.ai/reference/workspace/s3-filesystem)
- [SandboxProcessManager](https://mastra.ai/reference/workspace/process-manager)
- [VercelSandbox](https://mastra.ai/reference/workspace/vercel)
- [Workspace Class](https://mastra.ai/reference/workspace/workspace-class)
- [WorkspaceFilesystem](https://mastra.ai/reference/workspace/filesystem)
- [WorkspaceSandbox](https://mastra.ai/reference/workspace/sandbox)
Document
Not stored for this site.