FitWhen to use it — and when not
Use it when
- Agents that run in the background and produce many proposed actions a day
- Several agents asking several people, so asks need an owner and an expiry
- Actions that are cheap to review but too many to review one by one (replies, tags, small refunds)
Skip it when
- A single high-stakes action, where one confirmation dialog with full detail is better
- Real-time chat, where the user is watching and can answer in the conversation
- Actions that are reversible and cheap: let them run and offer undo instead
AnatomyThe parts of the pattern
- Queue badgeThe number waiting, in the place people already look, with the oldest item’s age.
- Risk groupingLow-risk items together, anything irreversible, external or costly in its own group.
- Row summaryThe outcome in one line: "Reply to Acme with a 10% discount", not "send_email".
- Bulk actionApprove selected, limited to groups where bulk is allowed.
- Per-item controlsApprove, edit, reject, and a reason field on reject that the agent learns from.
- ExpiryWhat happens to an item nobody answers: it lapses, never auto-approves.
GuidelinesDo & don’t
Do
- Sort by risk and expiry, not by arrival time.
- Let people approve a whole low-risk group in one click and show exactly what is in it.
- Make high-risk rows impossible to bulk-approve; the checkbox is disabled with a one-line reason.
- Record who approved what, when and from which view, per item.
Don’t
- Auto-approve items when the timer runs out.
- Hide the details of an item behind a second click for every row, so the fast path is a blind path.
- Show a count with no way to see the oldest or riskiest item first.
- Treat a bulk approval as one log entry; each action needs its own record.
In the wildReal-world examples
Products named for reference only — no affiliation, and the demo above is an original illustration, not a copy of their UI.
For engineersImplementation notes
- Model a pending action as data: id, proposed payload, risk class, reversible flag, expires_at, requested_by_run. The queue is a query over that table, not a UI state.
- Re-validate the payload at approval time. The world changes while an item waits, so an approved action may need to be re-checked or re-previewed.
- Make approve idempotent with the action id, so a double click or a second reviewer cannot execute it twice.
- Classify risk in the tool layer, not in the model’s own judgment of its action.
Q&ACommon questions
When is an approval queue better than a confirmation dialog?
When agents propose many actions over time and the person is not watching. A dialog suits one high-stakes action with the user present. A queue lets reviewers batch the routine ones and spend attention on the risky few.
How do you stop reviewers from approving everything without reading?
Keep the queue short by letting safe actions run with undo, group the rest by risk, and make high-risk rows impossible to bulk-approve. Show the outcome in one line and the key detail in the row, so the fast path is also an informed one.
What should happen to an approval request nobody answers?
It should lapse and the action should not run. Auto-approving on timeout defeats the point of approval. Tell the agent the request expired so it can ask again or stop.