Agent Task Queue

Command and visualize your agent’s autonomous task pipeline with queue orchestration, execution timelines, and health metrics in a single interface.

Features

  • Real-time Orchestration: Monitor running jobs, queued work, and recent outcomes at a glance
  • Execution Timeline: Visual checkpoints with status chips for each stage of the active task
  • Queue Planner: Upcoming and paused tasks with priority badges and action controls
  • Automation Controls: Toggle auto-start behavior, reorder priorities, and clear completed runs
  • Operational Metrics: Track token usage, estimated cost, and confidence per task
  • Chat Ready Layout: Drop the queue directly into conversational experiences without extra styling

Examples

Product Launch Playbook

Short-cycle launch workflow with compliance checks, messaging, and demo refreshes.

Execution queue

Active work

Monitor current work and control the tasks waiting to run.

1 running2 queued1 completeLimit 2

Finalize launch checklist

Running

Verify copy, pricing, and compliance sign-off for launch.

Launch plannerRunning • 1 min ago~4 min remaining
64%
Details
  1. Legal & compliance pass08:05
  2. Website content refresh08:11
  3. Schedule announcementpending

980 tokens

$0.09 estimated cost

88% confidence

Prep customer email

Queued

Draft segmented announcement copy for existing customers.

Lifecycle writerQueued • Auto start

Refresh demo environment

Queued

Update product walkthrough with new features enabled.

Demo orchestratorQueued behind 1 task

QA staging smoke test

Complete

Run smoke tests across critical user journeys.

QA runnerCompleted 07:42
100%
Updated moments ago4 tasks

Finance Ops Sweep

Budget guardrails, variance clean-up, and negotiation drafts tailored for finance agents.

Execution queue

Active work

Monitor current work and control the tasks waiting to run.

1 running1 queued1 completeLimit 2

Forecast infrastructure spend

Running

Blend usage telemetry with vendor rate changes for next quarter forecast.

Spend modellerRunning • 2 min ago~6 min remaining
47%
Details
  1. Collect billing exports07:18
  2. Normalize currency07:21
  3. Apply growth scenariospending

1,580 tokens

$0.17 estimated cost

82% confidence

Flag runaway services

Queued

Detect workloads exceeding cost guardrails and route to owners.

Anomaly detectorQueued • SLA 10 min

Negotiate committed spend

Paused

Draft vendor negotiation packet with projected savings.

Vendor liaisonPaused • awaiting finance review
32%

Close variance tickets

Complete

Resolve variance tickets from last month's board meeting.

Variance trackerCompleted 06:55
100%
Finance ops sync · 07:244 tasks

Analytics Command Center

Pair the queue with a trend snapshot to show how insights ship each week.

Insights shipped

Last 7 days

+29%
Insights delivered97 this week

Execution queue

Active work

Monitor current work and control the tasks waiting to run.

1 running2 queued1 completeLimit 3

Refresh weekly KPI deck

Running

Blend product, revenue, and retention metrics for leadership readout.

Insights composerRunning • 58s ago~3 min remaining
72%
Details
  1. Pull data warehouse queries06:42
  2. Generate visuals06:45
  3. Draft narrativepending

1,320 tokens

$0.14 estimated cost

90% confidence

Run churn segmentation

Queued

Segment churn risk by cohort and product surface for CS action.

Retention analystQueued behind 1 task

Publish experiment scorecard

Queued

Summarize A/B experiment lift and statistical significance.

Experiment hubQueued • needs data sync

Archive stale dashboards

Complete

Tag dashboards with <5% usage for cleanup.

Ops tidyCompleted 06:20
100%
Analytics pipeline · 06:474 tasks

Interactive Control Room

Hook into stateful handlers to simulate starting, pausing, and reordering work.

Execution queue

Active work

Monitor current work and control the tasks waiting to run.

1 running1 queued1 completeLimit 2

Pipeline rollout

Running

Deploy the updated embeddings pipeline to production.

Deploy toolkitStarted 3 min ago~6 min remaining
42%
Details
  1. Validate config11:05
  2. Run smoke tests11:07
  3. Roll outpending

640 tokens

82% confidence

Summarize legal updates

Queued

Digest new policy documents for compliance team.

Knowledge agentQueued · ETA 5 min

Prepare launch demo

Paused

Generate talking points and slide outline.

Presentation assistantPaused · awaiting assets
24%

Generate adoption report

Complete

Compile adoption metrics for Q4 stakeholders.

Analytics agentCompleted 10:45
100%

Shadow test new search

Failed

Run red team prompts against updated search stack.

Safety toolkitFailed · validation error
Updated moments ago5 tasks

Support Chat Embedding

Drop the queue into an agent conversation for instant status briefings.

Task Queue Monitoring Chat

Demonstrates how the queue appears inside an agent conversation

Give me a snapshot of everything the research agent is working on right now.
AG

Here’s the real-time task queue with live progress, blockers, and recent completions.

Execution queue

Active work

Monitor current work and control the tasks waiting to run.

1 running1 queued1 completeLimit 2

Summarize customer escalations

Running

Aggregate insights from last 200 escalations for leadership brief.

Inbox connectorRunning • just now~2 min remaining
68%
Details
  1. Ingest conversations14:20
  2. Detect product themes14:23
  3. Generate summarypending

980 tokens

$0.09 estimated cost

87% confidence

Draft product brief

Queued

Outline launch narrative for onboarding rework.

Docs writerQueued behind 1 task

Compose weekly customer digest

Paused

Generate customer story highlights for marketing

Story crafterPaused • awaiting approval
52%

Send adoption report

Complete

Package adoption metrics with insights for leadership.

Analytics agentCompleted 14:05
100%
Updated moments ago4 tasks

Installation

npx shadcn@latest add "https://agents-ui.github.io/agents-kit/c/agent-task-queue.json"

API Reference

AgentTaskQueue

PropTypeDefaultDescription
tasksAgentTask[]Pre-populated demo dataCollection of tasks to display across the queue
activeTaskIdstring | null-Explicitly select the active task (falls back to the first running task)
autoStartbooleantrueWhether queued tasks should start automatically when slots are free
concurrencyLimitnumber1Number of tasks the agent can process in parallel
isProcessingbooleanfalseDisable controls while backend actions are executing
showTimelinebooleantrueToggle display of execution checkpoints for the active task
timestampstring"Updated moments ago"Label shown in the header badge
classNamestring-Optional CSS class overrides
onStartTask(taskId: string) => void-Trigger when a queued task should start
onPauseTask(taskId: string) => void-Trigger when a running task should pause
onResumeTask(taskId: string) => void-Trigger when a paused task should resume
onCancelTask(taskId: string) => void-Reset or cancel a task
onReorder(taskIds: string[]) => void-Reorder queued tasks (receives ordered queue IDs)
onToggleAutoStart(value: boolean) => void-Toggle auto-start mode from the header action
onClearCompleted() => void-Clear completed tasks from the queue
onAddTask() => void-Handler for adding a new task from the header button

AgentTask

PropertyTypeDescription
idstringUnique task identifier
titlestringTask label shown in the queue
descriptionstringOptional concise task description
statusAgentTaskStatusCurrent lifecycle state
progressnumberPercentage progress for running tasks
priorityAgentTaskPriorityPriority badge shown alongside the title
createdAtstringOptional created timestamp
updatedAtstringRaw timestamp when last updated
updatedLabelstringHuman-friendly timestamp or status label
estimatedDurationstringEstimated time remaining for the active run
toolstringTool, model, or workflow handling the task
assignee{ name: string; avatarColor?: string; initials?: string }Optional human or agent assignee
checkpointsAgentTaskTimelineEvent[]Timeline events for the active task
relatedResources{ label: string; href?: string }[]Linked artifacts or resources
metrics{ tokens?: number; cost?: string; confidence?: number }Operational metrics for the task

AgentTaskStatus

type AgentTaskStatus = "queued" | "running" | "completed" | "failed" | "blocked" | "paused"

AgentTaskPriority

type AgentTaskPriority = "low" | "medium" | "high"

AgentTaskTimelineEvent

PropertyTypeDescription
idstringUnique event identifier
titlestringStage title
descriptionstringAdditional context for the checkpoint
status"pending" | "active" | "completed"Checkpoint status
timestampstringOptional timestamp label

AgentTaskTimelineStatus

type AgentTaskTimelineStatus = "pending" | "active" | "completed"

Design Notes

  • All action buttons use the project’s standardized Button component for consistent sizing and focus states.
  • The timeline and queue planner rely on compound conditions to avoid rendering empty containers when hooks are missing.
  • Colors align with the established blue-first palette with semantic accents for success and errors.