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

# Find Issues in Your AI Agent's Traces

> Find recurring problems in your AI agent, understand why they happen, and decide what to fix first with Signal, Alyx, the arize-trace skill, or manual review.

An **issue** is a recurring problem across your agent's traces, such as calling the wrong tool when users ask about returns, repeatedly failing an eval, or slowing down on certain requests. Finding issues shows you the failure patterns across thousands of traces, so you can prioritize what to fix and collect real examples to build evals and validate improvements.

## Choose a method

| Method | When it runs | Use it when |
| - | - | - |
| [Signal](#signal) | Automatically, on a schedule | You want production issues found and ranked without reviewing traces yourself |
| [Alyx](#alyx) | When you ask | You want to investigate failures or explore patterns directly in Arize AX |
| [`arize-trace` skill](#arize-trace-skill) | When you ask | You want to investigate failures next to your source code and fix them |
| [Manual review](#manual-review) | When you review | You want full control over how failure patterns are identified and labeled |

These methods work alone or together. For example, Signal finds a recurring tool selection failure, Alyx investigates the affected traces, you label examples of correct and incorrect behavior, and the `arize-trace` skill implements the fix in your code.

All four read traces from a tracing project. If you don't have one yet, start with [Set up tracing](/docs/ax/instrument/set-up-tracing.md).

## Signal

[Signal](/docs/ax/observe/signal.md) discovers and ranks production issues automatically. It reviews a project's recent traces on a schedule, groups recurring errors, eval failures, and latency or quality anomalies into issues, and writes an investigation with a proposed fix for each one. Later runs update the issues Signal has already filed, so a recurring problem stays a single issue.

**1. Enable Signal**

Open the tracing project, select the **Signal** tab, and click **Enable Signal**. Signal runs every 6 hours by default, and you can change the cadence from 3 hours up to monthly in **Configure Signal**.

**2. Read an issue**

Select an issue from the ranked list. Its investigation summarizes the pattern, links the traces it's based on, and proposes a prompt, code, config, or eval change.

![Signal tab in Arize AX showing issue volume over time and a ranked list of issues](https://storage.googleapis.com/arize-assets/doc-images/landing%20page/Observe_UI-July_26.png)

Free and Pro have a monthly issue limit. Enterprise has no limit and can attach a GitHub repo so Signal opens pull requests for its proposed fixes. See [Pricing and usage](/docs/ax/security-and-settings/pricing-and-usage.md).

## Alyx

Use [Alyx](/docs/ax/alyx.md) to investigate a specific problem, explore failure patterns, or understand why your agent behaves a certain way. It's the AI engineering agent built into Arize AX, and it uses the context of the page you're on, so you can ask about a project's traces without setting up filters.

On the **Traces** page, press **Cmd+L** (macOS) or **Ctrl+L** (Windows and Linux) and ask:

```text theme={"theme":{"light":"github-light-default","dark":"github-dark-default"}}
What are the most common error types in the last 24 hours?
```

Alyx groups the spans into categories and shows them in a **Categorized Spans** widget, with a count and example spans for each category. Ask it to save the categories as annotations so you can filter traces by them later. On the **Signal** tab, Alyx reads the open issue, so you can ask it to walk you through the issue and the spans behind it.

![Alyx returning a Categorized Spans widget with category names, counts, descriptions, and example span IDs](https://storage.googleapis.com/arize-phoenix-assets/assets/images/arize-docs-images/observe/alyx_agent_insight.png)

## arize-trace skill

The `arize-trace` skill lets you investigate production failures next to your source code, so you can find the root cause and fix it in the same session. It gives your coding agent, such as Claude Code, Cursor, or Codex, access to your traces: the agent exports them with the AX CLI and reads them alongside your code.

**1. Install the skill**

The skill needs the AX CLI and an `ax` profile with your API key. See [Install & authenticate](/docs/ax/skills/install.md) for both, and the [AX CLI overview](/docs/api-clients/cli/overview.md) for CLI details.

```bash theme={"theme":{"light":"github-light-default","dark":"github-dark-default"}}
npx skills add Arize-ai/arize-skills --skill "arize-trace" --yes
```

**2. Ask for the failure patterns**

Open your AI agent's repo in your coding agent and ask:

```text wrap theme={"theme":{"light":"github-light-default","dark":"github-dark-default"}}
Use the arize-trace skill to look at the last 7 days of traces for this agent and list the failure patterns with example trace IDs before proposing any fixes.
```

Review the patterns it lists, then ask it to fix the one you choose.

![Claude Code running the arize-trace skill to find traces with errors or latency over 5000ms and summarize patterns in the terminal](https://storage.googleapis.com/arize-phoenix-assets/assets/images/arize-docs-images/observe/skill_error_analysis.png)

[Find and fix issues with a coding agent](/docs/ax/cookbooks/improve/find-and-fix-issues-with-a-coding-agent.md) walks through this on a sample app, from the first trace review to a fix and a new eval.

## Manual review

Manual review means identifying and labeling failure patterns yourself. It's slower than the other methods, and it gives you precise control over how each failure is defined.

**1. Read a sample of traces**

Filter the **Traces** tab to the traces you want to understand, such as low eval scores or calls to one tool, and read 20 to 50 of them.

**2. Note what went wrong**

Add a short [annotation](/docs/ax/evaluate/human-review.md) to each trace describing the problem, like *"called wrong tool"*.

**3. Group the notes into error modes**

Group similar notes into 3 to 5 named error modes, such as `retrieval_miss` or `agent_loop`, and label the matching traces with an annotation config that uses those names.

Annotations define each error mode and give you labeled examples, but they only cover the traces you reviewed. To measure how often an error mode happens in production, build an [eval](/docs/ax/evaluate/create-evaluators.md) that detects it automatically, then track the eval's results over time as a [custom metric](/docs/ax/observe/projects/custom-metrics-api.md).

## From issues to improvements

Finding an issue is the first step toward fixing it. Once you've identified a recurring failure:

1. Collect representative failing and successful traces in a [dataset](/docs/ax/improve/build-a-dataset.md). The successful examples show whether your fix breaks anything that already works.
2. Build an [eval](/docs/ax/evaluate/create-evaluators.md) that detects the failure.
3. Change your agent's prompt, code, or configuration. To iterate on a prompt from a failing span, see [Fix a prompt](/docs/ax/observe/take-action/fix-a-prompt).
4. [Run an experiment](/docs/ax/develop/datasets-and-experiments) on the dataset to confirm the change fixes the failing examples and keeps the successful ones passing.
5. [Monitor](/docs/ax/observe/production-monitoring.md) the eval on production traces to confirm the failure rate goes down.
