Agentic control
Task queue
Use when the agent has a backlog of tasks and people want to see and change what it does next.
What the agent will work through. Reorder, remove, watch it clear.
Part of Agentic control. The stage where the agent stops answering and starts doing. It covers the whole handover: agreeing what the agent may do, watching it work, stepping in, and checking what changed afterwards. Reach for these as soon as an action touches a customer, money or a record.
Do
- Separate the task in progress from the tasks that are waiting.
- Let people reorder and remove queued tasks without stopping the current one.
- Say when the queue is empty, and count what was finished.
Don't
- Don't let the list jump when a task completes. Rows slide up into place.
- Don't show tasks running in parallel if the agent works one at a time.
- Don't hide finished work. Keep a running count of tasks done.
States
- Working: The current task sits on top with a live timer. Queued tasks are numbered below and the first is tagged Up next.
- Row hovered: Move up, move down and remove controls appear on the row.
- Task removed: The row fades out and the rows below close the gap.
- Task finished: The next task is promoted to the top and the done count goes up by one.
- Queue clear: The top row reads All caught up with the number of tasks done, and the caption says the agent is standing by.
Usage
import { QueuePattern } from "./halaska-kit";
<QueuePattern />
Built from
Agent Glyph, Badge, Stack, Thinking Indicator, Typography
Related patterns
Halaska UI · Components · Patterns · Screens · Install