← back to Ai Workforce

README.md

36 lines

# AI Workforce

A live dashboard that presents Steve's real fleet as an **AI workforce** —
machines are offices, agents/services/scheduled jobs are full-time employees.
Seeded by the @ScottyBeamIO tweet: *"a Mac Mini farm, each running its own AI
agent like a full-time employee… an entire workforce."*

Built via the Claude Web-Dev Accelerator. See `BRIEF.md` for the brief.

## Run

```bash
PORT=9791 npm start      # → http://localhost:9791  (basic auth admin / DW2024!)
```

Override auth with `BASIC_AUTH_USER` / `BASIC_AUTH_PASS`. `PORT=0` picks a free port.

## What it shows (all live, local, read-only)
- **Ribbon** — total staff, working now, idle/on-call, needs-attention, cost today.
- **Offices** — Mac2 (live cores/mem/load), Mac1 + Kamatera (declared, not yet probed).
- **Today's output** — CNCP wins for today.
- **Payroll today** — paid-API spend from the cost ledger, by app.
- **Staff roster** — every pm2 service, `com.steve.*` launchd job, and cabinet
  officer/agent as an employee card with role, status, metrics, and (house rule)
  the **created/"hired" date + time**. Grid has **sort + a density slider**,
  both persisted to `localStorage`.

## Data sources
pm2 (`pm2 jlist`) · launchd (`launchctl list | grep com.steve`) ·
`~/Projects/agent-cabinet/cabinet.yaml` · CNCP `:3333/api/wins` ·
`~/.claude/cost-ledger.jsonl` · Mac2 `sysctl`.

## Status
Local prototype. **Deploy / DNS / public exposure are gated and NOT taken** —
`.deploy.conf` is scaffolded so it is one command from live, on Steve's go only.