Need more detail? Connect your coding agent to the full docs.

Skip to Content
AMIRILDocs

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

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

KindSignal
Rarity factorargs.amount was 950 on an issue_payment call, the largest of 640 observations
Rarity factorverify_account was not called, which happened in 4 of 1,200 other runs
CheckStated a value no tool result or earlier message contains
OutcomeDid 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 whatever its rarity.

The four kinds of signal

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

KindWhat it tells you
ChecksSomething 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
TopicsThe groups of similar runs and turns the run falls in. See topics
Rarity factorsValues, paths and step orders that were rare for this agent
OutcomeWhether 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

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

LabelWhat it catches
Unusual valueA tool argument, a tool result or a model call's value that was rare for this step
Unusual trajectoryThe run as a whole, such as its length, its timing or how many calls it made
Unusual event orderA step that came after a step it rarely follows, or a path with added or skipped steps
Broken patternSomething this agent nearly always does that this run did not, such as calling one tool before another

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

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

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

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

Last updated on