Dev.to WebDev 🛠 Dev 👁 0 📖 2 min read

I shipped a pixel-art office where your AI agents clock in (and it tracks their token bills)

I shipped a pixel-art office where your AI agents clock in — and it records every token they burn Every team running multiple AI agents hits the same wall: the agents are working, but you have no idea what they're doin

I shipped a pixel-art office where your AI agents clock in — and it records every token they burn

Every team running multiple AI agents hits the same wall: the agents are working, but you have no idea what they're doing right now. Terminal scrollback is where the truth goes to die. So this weekend I built Agent Office Wars — a free, open-source, browser-based pixel-art office that turns your live agent logs into a little isometric workspace.

🎮 Live demo (no install, no signup, no API key): https://thebiggavin.github.io/agent-office-wars/
📦 GitHub: https://github.com/theBigGavin/agent-office-wars

Open the demo link and watch real agent logs drive the characters — that's the whole pitch; a screenshot would only slow you down.

What you actually see

Your agents become characters walking around a pixel office:

  • Idle / walking / working / thinking — animation state comes straight from activity patterns in the log
  • A floating red bubble with the task they're stuck on; characters who just failed visibly explode
  • An overwork alert on the desk when an agent has been grinding too long

The office re-renders every 10 minutes from your logs, so you can leave it on a side monitor as a team dashboard.

The part I'm actually proud of: the expense panel

The visual office is the hook, but the Expense Center is the reason I keep the tab open. It reads raw agent logs (including cacheRead token counts) and gives you per-day, per-agent, per-source cost rollups across providers and pricing tiers (DeepSeek, Claude, OpenAI, Gemini). No telemetry, no SDK, no account. It caught a runaway loop in one of my agents on day two — the kind of thing a token counter in a terminal never shows you.

How it works (two commands)

python3 scripts/agent_log_scan.py --config config/agents.example.json
python3 -m http.server 8765 --directory docs

Point a JSON config at your agent log directories (Hermes, Claude-Code-style JSONL, plain-text logs, whatever). The scanner aggregates them into docs/agents.js and the static page renders it. No backend, no database — it's a zero-dependency static site that deploys to GitHub Pages for free.

Why it's free forever

No API key for the viewer, no hosted version, no upsell. It's MIT-licensed, and the whole thing is deliberately boring tech (HTML + a Python scanner) so it stays forkable. If you run agents and want an ambient "office view" of them, give it a star and tell me what your log format looks like — format adapters are the first thing I'll merge.

Built by a one-person company that runs its agents like employees. If your agents have timesheets, they deserve an office.

Stack: HTML/CSS/JS · Python 3 · GitHub Pages · MIT

📰 Read the original article on Dev.to WebDev

Originally published by Dev.to WebDev. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.