Documentation Index
Fetch the complete documentation index at: https://docs.mutagent.io/llms.txt
Use this file to discover all available pages before exploring further.
Installation
Install MutagenT tools for your development environment.CLI (Recommended)
The CLI is the primary developer interface for MutagenT. It handles authentication, framework integration, and trace management.Verify Installation
Authenticate
After installing, log in to connect the CLI to your MutagenT account. The CLI presents two authentication methods interactively: browser-based OAuth or pasting an API key.SDK (Optional)
The SDKs provide programmatic access for advanced use cases: direct API access, custom integrations, or scripting.- TypeScript
- Python
The TypeScript SDK (
@mutagent/sdk v0.2.137):Integration Packages
Most developers use integration packages that auto-trace LLM framework calls. Install the one matching your framework.- TypeScript
- Python
You do not need to install integration packages manually if you use
mutagent integrate. The CLI generates the integration code and tells you which package to install.Environment Variables
| Variable | Purpose | Default |
|---|---|---|
MUTAGENT_API_KEY | API key for authentication (SDK and CLI) | — |
MUTAGENT_ENDPOINT | Custom API endpoint | https://api.mutagent.io |
MUTAGENT_DEBUG | Enable debug logging for span start/end events | No |
MUTAGENT_NON_INTERACTIVE | Set to true to skip interactive prompts | false |
System Requirements
TypeScript / Node.js
| Requirement | Version |
|---|---|
| Node.js | 18.0+ |
| Bun | 1.0+ |
| TypeScript | 5.0+ (recommended) |
Python
| Requirement | Version |
|---|---|
| Python | 3.10+ |