Integrations
MutagenT integrations allow you to send traces from your LLM applications to the MutagenT platform for observability, analysis, and optimization.How Integrations Work
Integrations use callback handlers that:- Intercept LLM calls in your application
- Capture request/response data, timing, token usage
- Send traces to MutagenT asynchronously
- Don’t impact your application’s performance
Generate Integration Code
The easiest way to integrate is using the CLI:Supported Frameworks
| Framework | Package | Status |
|---|---|---|
| Mastra | @mutagent/mastra | Available |
| LangChain | @mutagent/langchain | Available |
| LangGraph | @mutagent/langgraph | Available |
| Vercel AI | @mutagent/vercel-ai | Available |
| Generic | Direct API | Available |
What Gets Tracked
LLM Calls
Input prompts, outputs, model used
Token Usage
Input/output tokens, costs
Latency
Request duration, time to first token
Errors
Failures, rate limits, timeouts