Learn how to integrate Mastra, a TypeScript agent framework, with LangWatch for observability and tracing.
Create a Mastra project
Set up LangWatch project
Add environment variables
.env
file with the following variables:Install required packages
Set up LangWatch observability
setupObservability
:Configure your Mastra instance
Add tracing to your agent calls
Run your Mastra application