Skip to content
Eskais UI

Agent tasks

Agent Task Board

The full board for AI agent tasks: filters, search, a board or sortable table view, a summary, collapsible status columns with ready and waiting groups, a detail dialog, drawer or side panel, compact density on narrow hosts, snapshot and live modes, English and Spanish labels, and agent actions to select, filter, switch views, open threads, decide proposals and move tasks between columns.

Example

  • Tasks
    7
  • Accepted first pass
    1 of 1
  • Estimated cost
    $1.01 (estimated)
  • Awaiting a decision
    2
  • Proposed

    1
    T-011
    A person reviews it before agents runreasoningpricingperformanceDecision needed
    Updated
  • To do

    2

    Ready

    1
    T-012
    bounded
    Updated

    Waiting on dependencies

    1
    T-013
    Branchboundedusage
    Updated
  • Working

    1
    T-014
    Pull requestRunningAgents run it on their ownboundedsearchdocsCost $0.43 (estimated)3 attachments
    Updated 2 attempts
  • Review

    1
    T-015
    In StagingPossibly stuckreviewCost unknown1 attachment
    Updated 1 attempt
  • Blocked

    1
    T-016
    In DevlookupDecision needed

    Deploy token expired

    Cost unknown
    Updated 1 attempt
  • Done

    1
    T-009
    In ProdreasoningCost $0.58 (estimated)
    Updated 1 attempt

Installation

npx shadcn@latest add @eskais/agent-task-board

Usage

Import
import {  AgentTaskBoard,  NO_STAGE,  agentTaskBoardLabels,  moveTask,  agentTaskBoardLabelsEs,  taskStatusAccentTones,} from "@/components/ui/agent-task-board"import { AgentTaskBoardDetail } from "@/components/ui/agent-task-board-detail"import { AgentTaskBoardToolbar, clearedFilters } from "@/components/ui/agent-task-board-toolbar"import { AgentTaskBoardSummary } from "@/components/ui/agent-task-board-summary"import { AgentTaskBoardColumns, withColumn } from "@/components/ui/agent-task-board-columns"import { AgentTaskBoardTable } from "@/components/ui/agent-task-board-table"import { AgentTaskBoardBacklog } from "@/components/ui/agent-task-board-backlog"import { AgentTaskBoardEmpty } from "@/components/ui/agent-task-board-empty"import { useBoardFocus } from "@/components/ui/use-board-focus"

API reference

AgentTaskBoard

Takes AgentTaskBoardProps.

AgentTaskBoardDetail

PropTypeDefault
presentationrequiredDetailPresentation–
headerrequiredReactNode–
childrenrequiredReactNode–
bodyRefrequiredRef<HTMLDivElement>–
selectedrequiredTaskView | undefined–
displayrequiredTaskDisplayOptions–
onCloserequired(reason: CloseReason | "imperative") => void–
returnFocusrequired() => HTMLElement | null–
renderThreadLink(thread: ThreadRef) => ReactNode–
onOpenThread(thread: ThreadRef) => void–
renderLink(link: TaskLink) => ReactNode–
renderAttachments(task: TaskView) => ReactNode–
renderLocation(task: TaskView) => ReactNode–

AgentTaskBoardToolbar

PropTypeDefault
optionsrequiredFilterOptions–
filtersrequiredTaskFilters–
viewrequiredBoardView–
labelsrequiredAgentTaskBoardLabels–
controllerrequiredAgentTaskBoardController–
generatedAtShown as the snapshot banner.string–
localestring–
timeZonestring–
stagesShows a row of stage toggles when set.readonly Stage[]–
stageCountsTasks per stage id under the other filters.Readonly<Record<string, number>>–
noStageAdds the "No stage" toggle.boolean–
controlsrequiredThe filter controls that show; "Clear filters" clears only these.readonly FilterControl[]–

AgentTaskBoardSummary

PropTypeDefault
summaryrequiredBoardSummary–
labelsrequiredAgentTaskBoardLabels–
localestring–
formatCurrency(usd: number) => string–
classNamestring–

AgentTaskBoardColumns

PropTypeDefault
columnsrequiredStatusColumn[]–
selectedTaskIdrequiredstring | null–
displayrequiredTaskDisplayOptions & { labels: AgentTaskBoardLabels }–
onCollapsedChangerequired(status: TaskStatus, collapsed: boolean) => void–
tonesEach column's accent tone; none leaves the columns plain.Record<TaskStatus, Tone>–
renderCardActions(task: TaskView) => ReactNode–
onMoveTaskCards move between columns and within one; the host applies the move to its tasks.(move: TaskMove, details: ChangeDetails<TransferReason>) => void–
canMoveTask(task: TaskView, to: TaskStatus) => boolean–

AgentTaskBoardTable

PropTypeDefault
tasksrequiredTaskView[]–
selectedTaskIdrequiredstring | null–
displayrequiredTaskDisplayOptions & { labels: AgentTaskBoardLabels }–

AgentTaskBoardBacklog

PropTypeDefault
tasksrequiredTaskView[]–
selectedTaskIdrequiredstring | null–
displayrequiredTaskDisplayOptions & { labels: AgentTaskBoardLabels }–
renderActionsAfter Approve/Reject in each row, in every mode.(task: TaskView) => ReactNode–

AgentTaskBoardEmpty

PropTypeDefault
labelsrequiredAgentTaskBoardLabels–
filteredrequiredboolean–
canClearbooleantrue
onClearrequired() => void–

Other exports

NO_STAGEagentTaskBoardLabelsmoveTaskagentTaskBoardLabelsEstaskStatusAccentTonesclearedFilterswithColumnuseBoardFocustype AgentTaskBoardPropstype ColumnAccenttype TaskMovetype AgentTaskBoardBasePropstype BoardDensitytype DetailPresentationtype AgentTaskBoardToolbarPropstype AgentTaskBoardSummaryPropstype AgentTaskBoardColumnsPropstype AgentTaskBoardTablePropstype AgentTaskBoardBacklogProps

Accessibility

  • Board, table and backlog views, each keyboard reachable; columns collapse and keep their order.
  • Task detail opens as a dialog, drawer or side panel with focus handled.
  • With onMoveTask, each card has a drag handle: Space lifts it, Left and Right change columns, Up and Down place it.

Agent actions

Agents filter, switch views, open tasks, decide proposals and move tasks with moveTask(id, status, index); approve, reject and moves need a person by default.

Runs agent.snapshot() from @ui-sdk/react/agent on the live preview above.