# How signals and rarity work

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

Signals are what Amiril tells you about a run, such as a failed check or a value the agent rarely sends. Rarity ranks the runs, so you review the ones least like their agent's earlier runs first.

## Signals on one run [#signals-on-one-run]

Your payments agent runs about 1,200 times a week. One run stands out, and its run page shows these signals:

| Kind | Signal |
| --- | --- |
| Rarity factor | args.amount was 950 on an issue_payment call, the largest of 640 observations |
| Rarity factor | verify_account was not called, which happened in 4 of 1,200 other runs |
| Check | Stated a value no tool result or earlier message contains |
| Outcome | Did not succeed |

Each rarity factor is measured in bits, and more bits means rarer. The two add up to the run's rarity. It shows as **Top 1%**, and hovering it shows the bits behind it, such as **11.4 bits**. The check and the outcome do not change the rarity. Each one can put the run in an [issue](/monitor/issues) whatever its rarity.

## The four kinds of signal [#the-four-kinds-of-signal]

A run page groups its signals by kind, in this order:

| Kind | What it tells you |
| --- | --- |
| Checks | Something in what was said. One check finds a value the agent stated with no source. Others find a frustrated user, or a turn unusual for this agent |
| Topics | The groups of similar runs and turns the run falls in. See [topics](/monitor/topics) |
| Rarity factors | Values, paths and step orders that were rare for this agent |
| Outcome | Whether the run did what the agent is there to do. It shows once you fill in **What counts as success** on the agent's page |

Checks and most topics read the words of the run, so they need the **Store message text** setting. It starts on, and you find it on the **Message text** page in **Settings**. Rarity factors and outcome work without it.

## Rarity factor labels [#rarity-factor-labels]

A rarity factor is one thing about the run that was rare for this agent. Each one is filed under one of four labels:

| Label | What it catches |
| --- | --- |
| Unusual value | A tool argument, a tool result or a model call's value that was rare for this step |
| Unusual trajectory | The run as a whole, such as its length, its timing or how many calls it made |
| Unusual event order | A step that came after a step it rarely follows, or a path with added or skipped steps |
| Broken pattern | Something this agent nearly always does that this run did not, such as calling one tool before another |

## How rarity adds up [#how-rarity-adds-up]

A run's rarity is the bits of its three strongest rarity factors added together, and those three carry **Counts toward the rarity**.

The bits come only from the same agent's earlier runs in the same environment. So the bits follow the agent's history:

- An agent's first run has nothing to compare with, so it has no rarity factors.
- A value can only be as rare as the history allows. Among 50 earlier runs, the most it can be is the largest of 50.
- Behaviour that keeps happening becomes usual and stops standing out.

## How rarity is shown [#how-rarity-is-shown]

A standing such as **Top 6%** ranks the run's bits against every run in the environment over the last 30 days, of every agent. "Top 6%" means 6% of those runs were at least as rare. That lets you rank runs of different agents in one list.

## Set your review budget [#set-your-review-budget]

Your **review budget** is how many runs you want to review, as a number a week or a share of all runs. Set it on the **Review budget** page in **Settings**.

Amiril turns the budget into an **anomaly bar** for each agent. A share applies to each agent's own runs, and a number a week is split evenly across your agents. A run whose rarity reaches the bar is marked **Anomaly** and waits for review on the Anomalies page. Changing the budget moves the bar and never changes a run's rarity.

## What your reviews teach Amiril [#what-your-reviews-teach-amiril]

When you mark runs as normal, Amiril learns which rarity factors are noise for this agent. It matches them by what they measure, such as args.amount on issue_payment, not by their label. After two such reviews, and no confirm, those rarity factors go **Quiet** and stop counting toward the rarity. One rarer than any you marked normal still counts.

A confirm works the other way. Once someone confirms a run, rarity factors that measure the same things as its strongest ones never go quiet for this agent.

## Next steps

- [Find a run and see why it was flagged](https://docs.amiril.ai/monitor/runs.md): Open a run from an issue, the Anomalies page or the Traces page and see why Amiril flagged it. Then review it to teach Amiril which rarity factors are noise.
- [Read and label topics](https://docs.amiril.ai/monitor/topics.md): 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.
- [Monitor your agents in production](https://docs.amiril.ai/monitor.md): Amiril ranks every run your agents make by how unusual it is for that agent. It groups the runs that share a problem into one issue to triage.

## 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.
- [Rarity](https://docs.amiril.ai/assistant/detection/rarity.md): How to read rarity: bits, the Top N% standing, how rarity factors add up, how much history an agent needs, the Scoring and Provisional states, the anomaly bar, and what moves a run.
