r/threejs • u/xzinkx • 13d ago
Demo I turned my Claude Code sessions into a live Three.js office. Every sub-agent walks in, works at a desk and walks back to report when it's done
Side project I've been building: Agent Office. It reads the local logs Claude Code writes and turns every session into a team lead and every sub-agent into a character that walks in, sits at a role-based desk and reports back when it's done. Idle ones end up on the sofa or the console in the lounge.
Some three.js bits that might be interesting:
- low-poly articulated characters with animations per activity (typing, reading, walking over to a colleague)
- A* pathfinding so they walk around the desks instead of through them
- the monitors are canvas textures that change with what the agent is doing (code, terminal, search)
- the server rack LEDs blink with the share of busy agents, and the floor LED strip turns yellow when someone is waiting on me
- rendering slows down when the tab is unfocused and stops when it's hidden, so it can stay open all day
React 19 + three.js r170, fully local, MIT.
Live demo (made-up data): https://zinkxx.github.io/agent-office/
Code: https://github.com/zinkxx/agent-office
Happy to answer questions. What would you add to the office?
19
u/riccioverde11 13d ago
I think i've seen clones of clones of this, and yet i'm not sure why someone ever would need this
2
u/q_tech_x51 13d ago
I totally get it.
For some people, it's easier to visualize logic in a manner that's more relatable to what we already understand.
I did the same thing for my entire business.... made a virtual headquarters, virtual employees, chief of staff, etc...
Reading through terminals is not the same as visual game-like representations.
People play video games but then think this is weird....
Keep up the great work!
1
u/ILoveHexa92 13d ago
I want them to walk to other specialist to give them their report!!! Haha it's nice honestly. Probably won't use it, but it made me smile :)
1
u/seanmg 13d ago
Why do they get up and walk to report it? Why don't you just write an email client for your agents to use in your sim so they can communicate faster.
1
u/p0ggs 12d ago
A watercooler for gossiping over, and the obligatory employee microwaving fish in the kitchen.
4
u/Inner_Opening5497 13d ago
Something about these feels so dystopian and wrong. Some peeple cheerleeding the technology that will replace the actual human version of this office environment and then replicating a virtual version of it.
1
u/New-Sand-4608 13d ago
Damn, pretty cool
1
u/Muenstervision 12d ago
Hahaha. I LOVE this !!
1
u/AppMunchies 12d ago
haha thanks for making me laugh!