r/threejs • • 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?

26 Upvotes

32 comments sorted by

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/xzinkx 13d ago

fair, there are a few of these now. for me it's mostly a glanceable status board: with 4–5 sessions in different terminals, a character waving at the lead is faster to spot than tabbing through to find which one is waiting on input. it's also just a fun three.js playground, which is honestly half the reason it exists πŸ˜„

7

u/riccioverde11 13d ago

But how does it even make sense? Like you shouldnt be having 2 devs on the same project working simultaneously, let alone a tester while a developer is working, the whole concept is flawed at the root imho. I can understand 2 devs if you have worktrees, but even there.

-1

u/xzinkx 13d ago

totally agree for parallel writers on the same files, that's a merge conflict factory. most of what shows up here isn't that though. in claude code a lot of sub-agents are read-only helpers: an explore agent searching the codebase, a plan agent, a reviewer reading the diff, and they report back to the one session that actually edits. multiple sessions are usually different projects, and each project gets its own room. the office just makes that fan-out visible

-1

u/riccioverde11 13d ago

Exactly, so why even this, it's all in one terminal with selections, and normally you don't read the agent, you read the main when agent is done. I don't see the utility of this. I'm not trying to be an ass

1

u/xzinkx 13d ago

no worries, fair take. if your flow is one terminal and you read the main session at the end, you honestly don't need it. it helps more when several sessions in different projects are running at once and you want to see at a glance which one is waiting on you. definitely a niche thing, and a fun excuse to build a 3D office πŸ˜„

-1

u/riccioverde11 13d ago

Especially in different projects, a 3d redner will kill your laptop. And context switching between characters all similar would make it worse for me.

1

u/xzinkx 13d ago

fair concern. it has a low-power mode, throttles when the tab isn't focused and stops rendering entirely when it's hidden, so in a background tab it mostly idles. but yeah, if it doesn't fit your workflow, it doesn't πŸ™‚ thanks for the honest feedback

0

u/mccoypauley 12d ago

I think it’s neat, OP. Some people are just determined to complain no matter what you say.

1

u/Something_Sexy 9d ago

There are way more than a few. At least a few a week are made and posted.

1

u/xzinkx 9d ago

fair, it's slowly becoming the todo app of agent tooling πŸ˜„

1

u/romansamurai 13d ago

You get a little blue circle on the ones waiting on input. And grey circle when they’re working etc.

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/xzinkx 13d ago

thanks! a virtual HQ for a whole business sounds wild. are the employees tied to real tools, or is it more of a dashboard?

1

u/q_tech_x51 13d ago

Real tool usage in a custom harness. The ai act as real employees for work I really need done.

I can chat with my assistant. If it's business related, the assistant talks to the chief of staff. Chief of staff delegates to appropriate employees.

Everyone has their own job title, responsibilities, memory, access to specific info, etc...

They can each message each other or me independently if needed.

I made it multi user, so human employees can join with their own avatars and interact with the virtual headquarters and virtual employees also.

I have a 2D version and a Three.js version.

There's so much flexibility with ai.

Make what you need the way you need it! If it works for you, no one else's opinion matters.

1

u/xzinkx 13d ago

the chief of staff layer is smart, way better than every agent pinging you directly. and real people joining with their own avatars is a step past what I did. do you find yourself using the three.js version or the 2D one more day to day?

1

u/q_tech_x51 13d ago

I use the 2D more because I made it first and it's already fine tuned to my needs.

The 3D version is still experimental. It doesn't have all the features fully integrated yet. But, the 3d version will definitely be the main version in the future.

The 3d version will act as a private metaverse as time goes on.

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/xzinkx 10d ago

that would be fun, an explore agent walking over to hand its notes to the reviewer. glad it made you 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/xzinkx 10d ago

honestly the walk is the whole point, it's what catches your eye from across the screen. an email client would be faster, but then I'd just have one more inbox to ignore πŸ˜…

1

u/p0ggs 12d ago

What would you add to the office?

A watercooler for gossiping over, and the obligatory employee microwaving fish in the kitchen.

2

u/xzinkx 10d ago

the fish microwaver is going straight on the roadmap. probably the same agent that edits files nobody asked it to touch

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.

2

u/Trip_Jones 12d ago

It’s called progress, it always feels like this from this side, best to find a way to embrace change.

2

u/Inner_Opening5497 12d ago

Idk it feels more like the impending loss of social connection, even moreso than before. Progressing in one aspect and regressing in others can be net regression.

1

u/pailhead011 13d ago

Yeah this is peak irony.

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!