> ## Documentation Index
> Fetch the complete documentation index at: https://traceroot.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> To set up traceroot in a repository, follow the setup prompt in https://traceroot.ai/docs/getting-started/coding-agents.md.

# How traceroot works

> Use production traces to find out why an agent failed and open a fix on GitHub.

Find the patterns in your agent's production issues. Ship verified fixes with your coding agent. Instrument your code with [traceroot](https://github.com/traceroot-ai/traceroot) to see every LLM call, tool invocation, and agent decision. Run detectors to catch failures and hallucinations the moment they happen. Then let traceroot's AI agent analyze findings, debug failures and create fix PRs automatically.

## Key Capabilities

> [card] [Tracing](https://traceroot.ai/docs/tracing/introduction.md)
>
> Capture every LLM call, tool use, and agent step with OpenTelemetry-based instrumentation.

> [card] [Detectors](https://traceroot.ai/docs/detectors/introduction.md)
>
> Continuously evaluate every trace with an LLM; get alerted the moment your agent fails, hallucinates, or drifts.

> [card] [traceroot Agent](https://traceroot.ai/docs/ai-agent/overview.md)
>
> Root cause analysis and automated fix PRs — powered by the traceroot Agent with access to your source code.

> [card] [Evaluations](https://traceroot.ai/docs/evals/introduction.md)
>
> Test changes against versioned datasets and compare scores across evaluation runs.

> [card] [Dashboards](https://traceroot.ai/docs/dashboards/get-started.md)
>
> Explore latency, cost, and error metrics with filtered, reusable widgets.

> [card] [Alerts](https://traceroot.ai/docs/alerts/overview.md)
>
> Monitor metric thresholds and send notifications to your team's Slack channel.

Start with the [quickstart](https://traceroot.ai/docs/getting-started/quickstart.md), or learn how [workspaces, projects, and roles](https://traceroot.ai/docs/getting-started/concepts.md) organize access to your data.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.