All projects
AgentsExperimental

Office Sim

Tycoon game where AI managers delegate real coding tasks

Office Sim

About

A pnpm workspace with seven packages (shared, runtime, orchestrator, server, mcp, game, client) that turn an isometric office tycoon game into a real coding shop. Managers use MCP tools to spawn tasks; employees execute them as Claude CLI subprocesses (--print --resume) in isolated git worktrees, each with persistent session history and a custom personality. Approval flows (ask/allow/deny) gate execution. Fastify + WebSocket backend, PixiJS isometric renderer, React + Zustand UI, fal.ai sprite generation, 319 unit tests across packages.

Status

Core loop runs: managers spawn tasks via MCP, employee agents execute against worktrees. Visuals and economy still rough.

Next steps

  • Tune the manager prompt so tasks land at a useful granularity
  • Persist office state across sessions
  • Polish sprite animation and the office UI

Stack

TypeScriptpnpmFastifyReactPixiJSZustandClaude CLIMCPfal.ai

Links

More in Agents