> ## 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.

# Welcome to MutagenT

> AI Engineering Platform

# MutagenT Platform

MutagenT is an **AI Engineering Platform** that helps you build better AI applications through systematic prompt management, evaluation, and optimization. It is CLI-first and AI-native -- designed for both developers and AI coding agents (Claude Code, Cursor, etc.).

<Note>
  `@mutagent/cli` v0.1.186 · `@mutagent/sdk` v0.2.137 — Install the CLI to get started, or use the SDK directly in your TypeScript projects.
</Note>

## What MutagenT Does

<CardGroup cols={2}>
  <Card title="Trace LLM Calls" icon="radar">
    Collect traces from LangChain, LangGraph, Vercel AI, OpenAI, and Anthropic — TypeScript and Python
  </Card>

  <Card title="Manage Prompts" icon="file-lines">
    Version-controlled prompt libraries with template variables, datasets, and evaluation criteria
  </Card>

  <Card title="Evaluate Quality" icon="chart-line">
    Run evaluations with G-Eval, semantic similarity, and custom metrics against your datasets
  </Card>

  <Card title="Optimize Automatically" icon="wand-magic-sparkles">
    Automated prompt optimization through AI-driven mutation and evaluation cycles
  </Card>
</CardGroup>

## How to Use MutagenT

<Steps>
  <Step title="Install the CLI">
    Install the MutagenT CLI globally with your preferred package manager.

    <CodeGroup>
      ```bash bun theme={null}
      bun add -g @mutagent/cli
      ```

      ```bash npm theme={null}
      npm install -g @mutagent/cli
      ```
    </CodeGroup>
  </Step>

  <Step title="Authenticate">
    Log in to your MutagenT account. The CLI supports browser OAuth, API keys, and environment variables.

    ```bash theme={null}
    mutagent auth login
    ```

    For CI/CD or AI agents, use an API key directly:

    ```bash theme={null}
    export MUTAGENT_API_KEY=<your-key>
    ```
  </Step>

  <Step title="Integrate Your Framework">
    Generate framework-specific integration code with a single command.

    ```bash theme={null}
    mutagent integrate <framework>
    ```

    Supported frameworks: `langchain`, `langgraph`, `vercel-ai`, `openai`
  </Step>

  <Step title="Observe and Optimize">
    View traces, manage prompts, and run optimizations from the CLI or the [MutagenT Dashboard](https://app.mutagent.io).

    ```bash theme={null}
    mutagent prompts list
    mutagent traces list
    mutagent prompts optimize start <prompt-id> --dataset <dataset-id>
    ```

    Add `--json` to any command for machine-readable output (useful for AI agents and CI pipelines).
  </Step>
</Steps>

## Quick Links

<CardGroup cols={3}>
  <Card title="CLI" icon="terminal" href="/cli/overview">
    Install and use the MutagenT CLI
  </Card>

  <Card title="Integrations" icon="plug" href="/integrations/overview">
    Connect your LLM framework
  </Card>

  <Card title="Platform" icon="gauge" href="/platform/overview">
    Explore traces, prompts, and evaluations
  </Card>
</CardGroup>
