The Roving Office

Install and run it

Five minutes, and the room fills itself with people.

You do not have to install anything to look at an office — therovingoffice.com will cut you one. Install it when you want the office to be yours: on your machine, fed by your own agent sessions, and not sharing a URL with anybody.

What you need

Run it

npm run serve

Then open the URL it prints — usually http://localhost:8080. You arrive directly in the demo office, with a random building and season and a clock showing your local time. Simulated agents are already getting to work. Watch, move things around, or press ? — or tap the ? button — for shortcuts. Choose Open your own office in the scene menu to open a personal office, or use the keycard page to enter one you already have.

The demo office with simulated agents and a small hint at the bottom: Watch. Play. Discover. (You can't break anything) If lost, type ?. If agent, setup yourself.

Open a new office and it is busy within seconds. It starts empty and says so — "The office is ready" — and then the default source's own agents walk in through the door, the first after about four seconds. There is nothing to configure before you can watch somebody take a coffee break; there is just a door to watch for a moment.

That one command does everything — the page, the office, and the receiver your agents will eventually post to. One process, no services.

The other command, and when you want it

node server.cjs        # a private office, on the first free port from 8080

The difference is who they speak for.

npm run serve publishes. It tells every agent adapter on this machine "post here", by writing a small file in your home directory that they all read. That is what you want for the office you actually watch.

node server.cjs does not touch that file. It takes the first free port between 8080 and 8095 and leaves the adapters pointing wherever they already point. That is the right choice for a second or third office, because there is only one of those files — and a server that quietly grabs it redirects the agents you were watching into a different room.

Name a port and you get that port or an error, never a silent substitution:

node server.cjs 8081

A plain static file server will not do. Offices live on this server's own routes, and opening the files directly with file:// will not load the app at all.

What to do next

Want to change how the office works? That is the developer documentation, which covers the tests, the scene probe and the traps.