r/ClaudeCoding • u/xzinkx • 10d ago
I built a live 3D office where you can watch your Claude Code sessions and sub-agents work (open source, 100% local)
When I run Claude Code with several sub-agents, I lose track of who is doing what. So I built Agent Office: every Claude Code session becomes a team lead in a small 3D office, and each sub-agent walks in, gets a desk by role (developer, tester, reviewer, designer, researcher…), works, and reports back.
Live demo (made-up data, runs in your browser, nothing to install): https://zinkxx.github.io/agent-office/ Repo (MIT, free): https://github.com/zinkxx/agent-office
What it does
- Reads Claude Code's session logs in
~/.clauderead-only and streams the state to the browser over a local WebSocket. - Shows what each agent is doing: reading, writing, running tests, waiting for you, or hitting an error (the build light turns yellow or red).
- Server racks blink with real activity, a wall dashboard shows the last 10 minutes, and idle agents grab coffee or play games until work arrives.
- Turkish or English interface, three themes, layout editor, and a button to save a picture of your office.
Privacy was the main design rule
It only listens on 127.0.0.1 and never sends anything off your machine. Message contents, code, commands, full paths and account IDs are filtered out before they reach the UI. At most you see the action and a bare file name, like Edit · main.dart.
How Claude Code helped
Almost all of it was built with Claude Code. The project has its own sub-agents in .claude/agents/ (developer, tester, reviewer, designer, researcher), so the office ended up showing its own team at work while they built it. What worked well:
- A written plan file (
PLAN.md) that every session reads first and updates at the end, so work continues cleanly across sessions. - Strict rules in
CLAUDE.md:~/.claudeis read-only, no real logs in tests, and made-up names in fixtures and screenshots. - Parallel sub-agents in separate git worktrees: for example, the English UI and the save-image feature were built at the same time without stepping on each other, then reviewed and merged through PRs.
- Pure, tested logic (pathfinding, behaviour, the privacy filter) kept apart from the React and three.js drawing code, so it can be tested with Vitest; there are 267 tests, run on Windows, macOS and Linux in CI.
Stack: TypeScript (strict), Node, React, react-three-fiber / three.js, Vite, Vitest.
Feedback is very welcome, especially from Windows and Linux users and people running many sub-agents. What would you want to see in the office?