# Read and label topics

Amiril groups each agent's runs and turns into topics. Structural, run and turn topics show what an agent does. Label one Bad to flag every run in it.

A **topic** is a group of similar runs or similar turns. Topics show you what each agent spends its time on. When you label a topic Bad, Amiril flags every run in it as a problem.

## Topics on one agent [#topics-on-one-agent]

Say your payments agent has run 3,000 times. Its topics include these:

| Topic | Kind | Size |
| --- | --- | --- |
| Checks the account, then issues the payment | Structural topic | 2,140 runs |
| Customer disputes a duplicate charge | Run topic | 310 runs |
| Asks when the refund will arrive | Turn topic, user turns | 520 turns |

Amiril names each topic by what its members have in common.

## Three kinds of topic [#three-kinds-of-topic]

Open **Topics** in the sidebar and pick a kind with the **Topic kind** dropdown. Run topics and turn topics read the words of each run. They need **Store message text**, a setting on the **Message text** page in **Settings**. It starts on.

### Structural topics [#structural-topics]

A structural topic groups runs by the steps they took and how long they ran. It reads only the shape of the run, so it works without message text. Most agents take a few paths, and a run that took none of them stands out here.

### Run topics [#run-topics]

A run topic groups runs by a one-sentence summary of what happened. The summary covers what the user wanted, what went wrong and how it ended. Read the run topics to learn what people come to the agent for.

Some run topics belong to **All agents** instead of one agent. They group runs from every agent in the environment by what went wrong, so one failure shared by several agents shows as one topic.

### Turn topics [#turn-topics]

A turn topic groups single turns by what was said. Each agent has one set for user turns and one for agent turns. Pick a side with the **Side** dropdown: **All**, **User turns** or **Agent turns**. A question users keep asking shows up as one user turn topic, and a reply the agent keeps giving as one agent turn topic.

## Read a topic [#read-a-topic]

Select a topic to open its page. It shows:

- How many runs or turns it has, and its share of the agent's traffic.
- The **Success rate** of its runs, once **What counts as success** is filled in on the agent's page.
- **Examples**, the runs or turns most typical of a run or turn topic, each linking to its run.
- **What sets it apart** from the agent's usual runs, for a structural topic. Select **See these runs** to list them.

Some run topics are not meant to have an outcome. Turn on **No outcome expected** on the topic's page, and its runs stay out of success rates.

## Label a topic [#label-a-topic]

A label tells Amiril whether a topic is a problem. Set one from a row's menu on the Topics page, or from the **Label** card on the topic's page:

| Label | What happens |
| --- | --- |
| Bad | Every run in the topic joins one [issue](/monitor/issues) |
| Benign | The topic is fine. It never forms an issue, and the investigator stops suggesting it |
| Ignore | The topic starts no new issue, and an issue it already has is ignored |

Topics that need you come first in the list. These are topics labelled Bad, topics in an open issue and topics the [investigator](/monitor/issues#issues-the-investigator-suggests) thinks look like a problem.

## Next steps

- [Triage issues](https://docs.amiril.ai/monitor/issues.md): An issue groups the runs that share one problem, with a severity and a state. Read what the runs share, then resolve or ignore it.
- [How signals and rarity work](https://docs.amiril.ai/monitor/signals.md): A signal is anything Amiril says about a run. Rarity ranks each run by how unusual it is for its own agent, shown as a standing such as Top 6%.

## More detail

- [Signals, issues, topics and suggestions](https://docs.amiril.ai/assistant/detection/signals.md): What Amiril says about a run and what each field means: checks, topics, rarity factors, outcome, issues, issue alerts, verdicts and suggestions, as the MCP tools and API return them.
