This tutorial shows how to set up Keywords AI tracing with Mastra to monitor and trace your AI-powered applications. To help you get started quickly, we’ve provided a pre-built example. You can find the code on GitHub.Documentation Index
Fetch the complete documentation index at: https://docs.keywordsai.co/llms.txt
Use this file to discover all available pages before exploring further.
Setup
Here’s the tutorial about the Mastra Weather Agent example.1. Install Dependencies
2. Environment Variables
Copy the example environment file and add your API keys:.env.local
3. Setup Mastra client with Keywords AI tracing
Configure with KeywordsAI telemetry insrc/mastra/index.ts: