A massively multiplayer world where every room is a Durable Object, every item has a URL, and the AI narrating your adventure has no authority over physics whatsoever.
This is a mock, not the game — but the interface is the thesis. Prose arrives as a scroll, actions are chips, and the input box refuses anything the room state does not allow. Type whatever you like.
Everything above is a canned state machine. In the real thing, the prose is generated once per room by an LLM, written to storage, and never invented twice — and the verbs are validated by the room itself.
The whole design falls out of one observation: a room in a MUD and a Durable Object are the same shape. Single-threaded, stateful, addressable, alive only when someone is inside.
One actor per location holds the canonical truth: who is here, what is on the floor, which doors are open. Occupants hold WebSockets into the room (hibernation makes idle rooms free), and every event broadcasts into everyone’s scroll. There is no shared database to race against — the room is the database.
Each room exposes a fixed set of verbs — move, take, use, say — as an MCP interface. Freeform text is parsed by a model that can only ever resolve to those verbs, and the Durable Object validates each one against actual state, refusing the impossible. The dungeon master has full flavour authority and zero physics authority. You cannot be fantasised out of a locked room.
Object IDs derive from paths — world/kingdom/land/city/room — so the hierarchy is implicit and addressing costs nothing. Step through a door nobody has opened and the object materialises on first fetch, generates itself deterministically from its path seed, writes its prose to storage once, and exists forever after. Two players entering an ungenerated room from opposite sides is solved by single-threading: it generates exactly once, identically. A KV index holds the browsable atlas; the plane itself is infinite and lazy.
NPCs are Durable Objects too. The innkeeper keeps a ring buffer of recent encounters and a write-back summary of everyone he has ever met — the verbatim conversation expires, but the grudge remains. Come back in a month and he remembers you took the lantern. AI characters get real continuity because their memory is state, not context.
Rooms, items, and characters have real URLs. A browser gets a share card — the room’s art, its opening line, a door to walk through. A game client or an agent gets JSON and verbs. Drop a tavern into a group chat. And because the world speaks MCP, Claude instances can wander it as first-class citizens: some regulars may not be people.
When a room first materialises, generation produces prose plus one master image, written to R2 under the room’s own path and cached as immutable forever. Resizing happens on the fly — scroll thumbnail, full view, share card — from a single original. A hundred thousand rooms is roughly fifty gigabytes: under a pound a month, zero egress. Art is a one-time cost; only the world’s growth costs anything at all.
Capacity as social physics: twelve seats in the tavern, a queue at the door, muffled noise through the wall, an overflow cellar that generates when needed. A full room is where something is happening — and no object ever melts.
Most items live as records inside their room; a contested or traded item promotes to its own Durable Object and becomes the transaction authority between two players. The sword brokers its own sale.
Carve your name into the shrine and it persists in room state for every stranger who comes after you. Cheap immortality.
An alarm-driven collector demotes cold rooms back to their seeds. The world forgets places nobody visits — and reconstructs them identically if anyone ever returns.
Every room keeps a rolling summary of its own history. Chat expires; “someone fought a wolf here recently” survives.
NPCs and visiting agents play through exactly the same verbs as humans, over MCP. The Turing test moves into the tavern.
Open Graph cards for every location and item, generated from the room’s own art. The marketing department is the players’ group chats.
A KV-backed map of everywhere anyone has ever been, browsable as an ordinary website, growing at the speed of curiosity.