Mastra Express adapter for the server
Mastra is a framework for building AI-powered applications and agents with a modern TypeScript stack.
cli for mastra
Memory management for Mastra agents. Visit [the docs](https://mastra.ai/docs/memory/overview) for more information.
Typed HTTP handlers and utilities for exposing a `Mastra` instance over HTTP. This package powers `mastra dev` and can be added to your own server to provide REST and streaming endpoints for agents, workflows, telemetry and more.
Core observability package for Mastra - includes tracing and scoring features
Mastra supports the [Model Context Protocol (MCP)](https://modelcontextprotocol.io/docs/getting-started/intro), an open standard for connecting AI agents to external tools and resources. It serves as a universal plugin system, enabling agents to call tool
Core deployment infrastructure for Mastra applications, handling build, packaging, and deployment processes.
Adds custom API routes to be compatible with the AI SDK UI parts
The official TypeScript library for the Mastra Client API
Langfuse observability provider for Mastra - uses official Langfuse v5 SDK
A collection of logging transport implementations for Mastra, extending the `LoggerTransport` class from `@mastra/core`.
DynamoDB storage adapter for Mastra
Datadog LLM Observability exporter for Mastra - exports tracing data to Datadog's LLM Observability product
OpenTelemetry observability bridge for Mastra
Tool schema compatibility layer for Mastra.ai
Mastra Hono adapter for the server
The Retrieval-Augmented Generation (RAG) module contains document processing and embedding utilities.
Postgres provider for Mastra - includes both vector and db storage capabilities
Libsql provider for Mastra - includes both vector and db storage capabilities
`@mastra/evals` ships a collection of scoring utilities you can run locally or inside your own evaluation pipelines. These scorers come in two flavors:
PostHog observability provider for Mastra
Langsmith observability provider for Mastra - includes tracing and future observability features
Agentic Provider for mastra in Composio SDK