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

# Introduction

> Understand what traceroot traces and why it matters

Tracing records what your AI agent does — every LLM call, tool invocation, and function execution — so you can debug individual runs and understand behavior over time.

Once tracing is active, traceroot gives you:

* **Full span hierarchy** — see exactly how your agent executes, call by call
* **Token usage and cost** — per LLM call and aggregated per trace
* **Source code correlation** — every span links back to the file and line that produced it

![traceroot trace viewer with a multi-step agent trace and an LLM span selected showing latency, tokens and cost](https://mintcdn.com/tracerootai/TLv21OVXbJzkJk5L/images/traces_v2.png?fit=max\&auto=format\&n=TLv21OVXbJzkJk5L\&q=85\&s=f32c9d8621afcd1da8ba84bbd6305516)

Trace viewer: Trace Tree, LLM span details, Usage breakdown and Input

## Where to start

> [card] [Get Started](https://traceroot.ai/docs/tracing/get-started.md)
>
> Instrument your agent and send your first trace in minutes.

> [card] [Features](https://traceroot.ai/docs/tracing/overview.md)
>
> Attach users, sessions, tags, metadata, and more to your traces.


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