Ballmac UI home

Agent 14: batch run

A batch run in one view: tiles for everything being processed (done, running or failed, with Retry), and the queue of what runs next, where waiting work can be reordered, paused or cancelled.

State

The normal view. Pick a state to see what the block shows while it loads, is empty or fails.

Open in v0 (opens in a new tab)

Installation

$ pnpm dlx shadcn@latest add @ballmac/agent-14

Usage

Example: agent-14-demo.tsx
"use client"

import { Agent14 } from "@/components/ballmac/blocks/agent-14/agent-14"

export default function Agent14Demo() {
  return <Agent14 />
}

States

Pass state and the block does the rest: skeletons that match its layout, a clear empty message, an error you can retry, and announcements for screen readers.

  • Loading

    Skeleton grid and queue under the real heading, announced as loading.

    state="loading"
  • No batch running

    Says no batch is running; emptyState sets the copy.

    state="empty"
  • Could not load

    An alert saying nothing was changed, with Try again (onRetry). A retry or a queue change that fails says why and changes nothing.

    state="error"

Dependencies

npm
None

Use with AI

Batch run. <Agent14 title description items={FanItem[]} tasks={QueueTask[]} slots onRetryItems={(ids) => Promise} onMove onPause onCancel onPriority />. The grid answers which items went wrong (it opens on the first failed one); the queue answers what happens next. Both report failures plainly and change nothing when a handler rejects. (onRetry is the usual retry for the error state.) With the shadcn MCP server set up (guide), ask your agent:

Add the Ballmac UI Agent 14: batch run (@ballmac/agent-14) to this project with the shadcn MCP, then use it where it fits.

Use it for

  • Watching a bulk job where one agent task runs over many files or records
  • Deciding what runs next and retrying only what failed

Not for

  • One long run; use agent-11
  • A team of different agents; use agent-12

Registry JSON: https://ui.ballmac.com/r/agent-14.json

Free to use in personal and commercial projects.

Ballmac UI Pro

Need the whole screen, not one piece?

150 premium blocks (dashboards, settings, calendars, mail, shops, onboarding), a private shadcn registry and Figma tokens. Blocks that show data come with loading, empty and error states built in.

Not ready? Try three Pro blocks free

Leave your email and the blocks appear right here, ready to copy. Yours to use in any project.