Review agents and the review panel
Which other agents join a review, how they are picked, and pinning specialists to a repository.
Every repository you watch has one reviewer agent. Your other agents can review a change beside it when the change is theirs: an AWS agent for Terraform, a Kubernetes agent for a Helm chart, a payments agent for the billing code. Entropix picks them for each change and says why. You can also pin up to three specialists to one repository, so they review it whenever their conditions hold. This page explains both, and what a specialist may do while it reviews.
Before you start
- Reviews are set up: a Git host is connected and at least one repository is watched. See Set up reviews.
- You have at least one agent besides the reviewer. See Create an agent.
- Optional: a Fast model role on Settings › Models. Entropix uses it to pick agents by their Reviews when line. Without one it uses another model you have set up.
Two ways an agent joins a review
| The review pool | A repository's review panel | |
|---|---|---|
| Who is in it | Every agent, unless an admin excludes it. Nothing to set up. | Up to 3 agents an admin pins to one repository. |
| When an agent runs | When Entropix picks it for the change, by its signals or its Reviews when line. | When the conditions you tick for it hold (for example, a changed path matches). |
| Where you set it | Reviews › Review agents | Settings › Integrations, the repository's Panel link |
| Who may change it | Admin | Admin |
An agent pinned to a repository's panel keeps its seat there and is not picked again from the pool for that repository. Some agents never join a review: the background job agents (repo-scanner, tool-scanner, skill-summarizer, distiller and coach), the PRD writer and the security reviewer. The security reviewer has its own setup; see Security reviewer.
See which agents may join
- Open Reviews and choose Review agents. You can also go to /reviews/agents.
- Read the list under Agents. Each agent is one row you can open. Its badge says where it stands:
- in the pool: Entropix may pick it for any watched repository.
- 1 repository or N repositories: it may be picked only for those.
- excluded: it is never picked.
- already the reviewer: it is the organisation's default reviewer, so it reviews every change anyway.
- Open a row to see its Reviews when line. A row marked no Reviews when line is picked only by its signals.
Members and viewers see the same list with the line Only admins change who joins a review. Ask an admin.
Exclude an agent or limit it to some repositories
- On Review agents, open the agent's row.
- To exclude it, clear In the pool: may be picked for a review.
- To limit it, under Repositories choose Only these: and tick one or more watched repositories. Every watched repository is the default.
- Choose Save. The page shows the row open with its new badge.
Entropix reads these settings each time it picks agents for a round, so the change applies from the next round.
Add signals for an agent
A signal is a rule that picks the agent without asking a model. There are two kinds, and you can add both on the agent's row:
| Field | What to write | Example | Limits |
|---|---|---|---|
| Its own path signals | One path pattern per line, from the repository root. ** matches any number of folders, * any characters within one folder name, ? one character. A line ending in / means everything under that folder. | payments/** | At most 60 lines, each at most 200 characters. No backslash, and a line may not start with /. |
| Its own diff signals | One regular expression per line, matched against the lines the change adds or removes. | stripe\. | At most 20 lines, each at most 200 characters. Each must be a valid expression. |
Choose Save after you edit them. Signals you add sit on top of any built-in signals the agent already has (below).
Built-in signals
Some agents come with signals you do not have to write. An agent made with the AWS, GCP or Kubernetes type, or one that holds an AWS or Google Cloud account or a Kubernetes cluster, gets the matching set:
| Set | Picked when the change touches, for example |
|---|---|
| AWS | cdk.json, serverless.yml, template.yaml, samconfig.toml, *.cfn.yaml; or a changed line naming an aws_ Terraform resource, boto3, @aws-sdk/, aws-cdk-lib, an AWS:: resource type or an arn:aws ARN. |
| GCP | app.yaml, cloudbuild.yaml; or a changed line naming a google_ Terraform resource, @google-cloud/, cloud.google.com/go, gcloud or a googleapis.com address. |
| Kubernetes | Files under k8s/, kubernetes/, helm/ or charts/, Chart.yaml, values*.yaml, kustomization.yaml; or a changed line with a workload kind: (Deployment, StatefulSet, Secret and the like), a Kubernetes apiVersion, helm_release or a Kubernetes client library. |
Write an agent's Reviews when line
The Reviews when line tells Entropix, in plain words, which changes the agent should review. It is used only when no signal picked the agent.
- Open the agent, then its Settings tab, and find Reviewing › Reviews when. From Review agents, the row's Change it on the agent link takes you there.
- Write one line, at most 200 characters. Say what kind of change it is for: "Changes to the billing service, invoices or anything that charges a card."
- Choose Save. You see Saved beside the button.
Some agent types start with a line: AWS, GCP, Kubernetes and On-call helper agents. Code reviewer, PRD writer, Blank and imported agents start with none. Changing it needs the Admin role.
How agents are picked
For each review round, Entropix goes through the pool agent by agent, in name order, and stops at the first answer:
- Excluded, or not allowed on this repository: skipped.
- A requirement round (see Add a requirement): no specialists join it.
- From round 2: an agent that raised findings still open is picked first, to check its own items.
- A path signal or diff signal matches: picked.
- No signal matched and the agent has no Reviews when line: skipped.
- The rest go to a model in one call. It reads only the changed paths (at most 200), the diff (at most 12 KiB) and each agent's name and Reviews when line. It never reads the merge request's title, and it is told the diff is data, not instructions. It answers with the agents that fit and a short reason for each.
At most 5 specialists review one round in all. Pinned panel agents that run are counted first; the pool fills the places left. When no model is set up, only signals pick.
Every pick and every skip is kept on the review with its reason. These are the reasons you can see:
| Reason shown | What it means |
|---|---|
| picked: touches payments/** (3 files) | A path signal matched. |
| picked: diff changes stripe. | A diff signal matched a changed line. |
| picked: open item(s) F-2 | A later round: the agent's own findings are still open. |
| picked by model: … | The model picked it from its Reviews when line, with its reason. |
| not picked: no matching signal | The model did not pick it. |
| not picked: no matching signal and no Reviews when line | Nothing could pick it. Add a signal or a line. |
| not picked: the panel is full (5) | Five specialists were already picked for this round. |
| not picked: the picker's answer could not be read | The model's answer was not usable. The signals still applied. |
| excluded, not on this repository, requirement round | As above. |
Pin specialists to a repository
A repository's review panel holds up to 3 agents beside its reviewer. Use it when you always want one agent on that repository's changes, under conditions you choose.
- Open Settings › Integrations and find the repository's card. Choose its Panel: Reviewer only link (it reads Panel: Reviewer + 1 once an agent is pinned).
- The Review panel page opens. The Reviewer section names the agent that reviews every change on this repository. You change the reviewer on the repository card, not here.
- Under Add a specialist, pick the agent and choose Add to the panel. It starts with Every round ticked.
- In its section, set Runs when (below), and if you like a position and a turn limit. Choose Save.
To take an agent off, choose Remove in its section. With no agents on the panel, the page says No agents on the panel: the reviewer alone reviews this repository. and the repository is reviewed as before.
Runs when
Tick one or more conditions. The agent runs when any of them holds.
| Condition | Holds when |
|---|---|
| Every round | Always. |
| The change is in the deep risk tier | The change is big or risky. First round only. See Light and deep reviews. |
| A dependency is added or changed | A dependency file such as go.mod or a lockfile changes. |
| The secret scan finds a secret on an added line | The no-model secret scan finds something. |
| A changed package has a known vulnerability | A new or changed dependency has a known vulnerability. |
| A security check failed on the head | One of the repository's security checks failed on the latest commit. |
| The change offers a new endpoint | The change adds a route. First round only. |
| or a changed path matches | A changed file matches one of the path patterns you list (**, * and ?, one per line). |
With nothing ticked and no path listed, the agent never runs, and its section says so. From round 2, an agent whose own findings are still open runs to check them, whatever you ticked.
Position and turn limit
- Position: 1 to 3, its place on the panel. Leave it blank to take the next free one.
- Turn limit: 5 to 25 model turns for this agent's review. Leave it blank for the default.
At most 2 panel agents read a change at the same time. One of the 3 places may hold the security reviewer; that place is set from Security review.
What a specialist can do while it reviews
- It reads the change, its repositories and its own know-how, like the reviewer.
- It may call only its tools marked Runs freely that the tool server marks read-only, and its cloud tools set to Runs freely (see AWS and Google Cloud). It is never offered a tool that asks first.
- It gets 12 model turns in a first round and at most 10 in a later round or a light review, unless a panel turn limit says otherwise.
- It writes at most 10 findings. They go into the one list on the review page with its name on them, and a person decides them like any other. See Decide, send back or approve.
- It makes at most 20 live calls (tool or cloud calls) in one round.
Findings that used live data
If a specialist read live data in a round (at least one tool or cloud call that worked), all its findings that round carry a live data badge. Their words stay in the portal. The merge request comment and the channel card say only how many there were, for example "aws-helper: 1 finding, checked against live data — see Entropix", and the card line reads "Checked against live data — see Entropix." The same holds when the repository's own reviewer read live data. The counts on the Git host status do not change.
What you see on the review
On the review page, the About this review fold has Who reviewed: one line per agent with its seat (primary, pinned, rule, model), why it was there, what it read and what it found, and a Not picked list with each reason. The findings list has a chip per agent and a live data chip to show only those. See Read a review.
What you can and can't do
- Exclude any agent from the pool, or limit it to some repositories.
- Add your own path and diff signals to an agent.
- Tell Entropix in one line which changes an agent should review.
- Pin up to 3 agents to one repository, each with its own conditions.
- See why every agent was picked or skipped on every round.
- Have more than 5 specialists on one round.
- Add the job agents, the PRD writer or the security reviewer to the pool.
- Pin the repository's own reviewer to its panel.
- Let a specialist change anything while it reviews: it only reads.
- Delete an agent while it sits on a panel. Remove it there first.
Troubleshooting
| Message | What to do |
|---|---|
| Tick at least one repository, or choose every watched repository. | You chose Only these: with nothing ticked. Tick a repository, or choose Every watched repository. |
| The panel is full (3 agents): remove one to add another. | Remove a panel agent first. |
| this agent is the repository's own reviewer: it cannot also sit on its panel | Pick another agent, or change the repository's reviewer on its card. |
| panel position N is taken | Choose a free position, or leave it blank. |
| a panel member's turn limit is 5 to 25, or blank for the default | Enter a number from 5 to 25, or clear the field. |
| it sits on the review panel of: … — remove it there first | Shown when you delete an agent. Remove it from each named panel, then delete it. |
| An agent you expected was not picked | Open the review's Who reviewed › Not picked list for the reason. Add a path signal for a sure pick. |