Ballmac UI home

Agent 12: mission control

Mission control for a team of agents: spend, tokens, running agents and decisions waiting at the top, the delegation tree below, and an inbox of requests with Approve and Deny that report back honestly.

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-12

Usage

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

import { Agent12 } from "@/components/ballmac/blocks/agent-12/agent-12"

export default function Agent12Demo() {
  return <Agent12 />
}

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 totals, tree and inbox under the real heading, announced as loading.

    state="loading"
  • No agents running

    Says no agents are running; emptyState sets the copy.

    state="empty"
  • Could not load

    An alert saying nothing was changed, with Try again (onRetry). An approve or deny that fails keeps the request and says why.

    state="error"

Dependencies

Use with AI

Multi-agent mission control. <Agent12 title agents={AgentNode[]} requests={[{ id, agentId?, title, detail?, risk?: 'low'|'high' }]} currency onApprove={(request) => Promise} onDeny={(request) => Promise} />. The totals are computed from agents; Needs you is the number of requests. Approve and Deny remove the request and say what was done, or keep it with the reason if the handler rejects. With the shadcn MCP server set up (guide), ask your agent:

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

Use it for

  • Overseeing an orchestrator and its sub-agents, with spend and decisions in one place
  • A queue of approvals that agents are blocked on

Not for

  • Steering one run in detail; use agent-11
  • A single approval; use agent-2
  • Past runs and traces; use agent-3

Registry JSON: https://ui.ballmac.com/r/agent-12.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.