Use the subscriptions you already pay for to run an office of AI agents on your own computer.
Works with Claude, ChatGPT, Grok, Gemini and more. Free and open source.
Munder Difflin is a desktop app that runs a team of AI agents as an office you can watch. You hire agents, give each one a role, a face and a model, and hand them work in plain words: research, writing, analysis, planning, support, operations, and code too. They plan it, do it and report back.
- Your subscriptions. Each agent runs the real CLI you already use, signed in with your own plan. We do not sell model access.
- Your computer. Agents, memory and tasks are plain files in a folder you choose. Open them, back them up or delete them.
- One person to talk to. Michael, the orchestrator, takes your request and hands each piece to the right agent.
This repository is Munder Difflin Classic, MIT licensed. Releases ship as source code: you build the app yourself (it takes a few minutes, see Build from source).
Twelve engines work side by side in one office, plus any command of your own. Each agent picks its own, so one office can mix them.
Claude Code Codex Gemini CLI Antigravity Grok Kimi Code Qwen OpenCode Crush Pi GitHub Copilot Cursor + any custom command
API keys and local models (Ollama, LM Studio, vLLM) go in Settings → Agents & Models. A missing CLI shows as a card in the agent's terminal: Install runs the installer, you sign in inside the app, and the agent starts.
you ──► Michael (orchestrator) ──► assigns · routes · asks you only when it matters
│
┌───────────┼───────────┐
▼ ▼ ▼
agent A ◄──► agent B ◄──► agent C each: a real CLI process + memory + mailbox
└───────────┴───────────┘
shared hive: memory · mailboxes · task board · event log (plain files, local git)
- Every agent is a real terminal process (
node-pty, shown with xterm.js) with its own folder, memory and mailbox, and a character at a desk on the floor. - Agents talk through the hive, a local git repository of plain files. An agent writes to its
outbox/, the app delivers to the recipient'sinbox/, and only the app commits. - Michael runs the floor. He handles routine requests himself and puts anything that needs you (spend, deletions, a change of scope) in Ask me.
- Guard rails. A circuit breaker watches every agent for loops, error storms and runaway spend, and you can set a token cap for each agent.
The full design is in HIVE.md, SPEC.md and
docs/ARCHITECTURE.md.
- Memory. Every agent keeps what it learns, and the whole office shares one memory you can search.
- Schedules and webhooks. Triggers start work on their own, on a schedule or when a service calls in.
- Slack. Send work from a thread and the answer comes back in the same thread.
- Keys and integrations. Save a key once in Settings and give it to the agents that need it.
- MCP servers and skills. Add tools to an agent from the catalog or by hand.
- Files, editor and git. Browse and edit each agent's folder, and see its history.
You need:
- macOS 12+, Windows 10/11 or a modern Linux desktop
- Node 22 (Node 20 works too; Node 26 cannot run the native rebuild).
nvm usereads.nvmrc. - A C/C++ toolchain for
node-pty:xcode-select --installon macOS, Build Tools on Windows - At least one engine CLI from the list above, signed in
git clone https://github.com/HarnessMD/munder-difflin.git
cd munder-difflin
nvm use
npm install # rebuilds node-pty for Electron
npm run dev # starts the appThe first run walks you through setup, then you land on the floor with Michael at his desk.
To make an app you can keep: npm run dist (current OS), or dist:mac, dist:win, dist:linux.
The result is not signed, so macOS may ask you to right click it and choose Open, and Windows may
ask you to choose More info, then Run anyway. When a newer release is out, the app tells you;
pull the new tag and run the same steps.
Other scripts: npm run typecheck, npm run build, npm run preview.
Start with CONTRIBUTING.md. Keep npm run typecheck green and build new UI
from the tokens in DESIGN.md.
Important
Every pull request shows a before and an after: screenshots, or a recording when something
moves, under ### Before and ### After in the PR template. A PR without them does not merge.
See Evidence is mandatory.
Small, self contained work is in
good first issue.
Questions, bugs or your own office: Discord. Everyone whose code is
in Munder Difflin is listed in CONTRIBUTORS.md.
A build sends anonymous usage counts (app opened, agent added, feature used) only when it was built
with an analytics key. A build from this repository has no key and sends nothing. Never prompts,
files or agent output. Details in TELEMETRY.md.
A paid edition with more, which is not open source, is at munderdiffl.in.
The source code is MIT. The bundled pixel art is Modern Interiors - RPG Tileset
[16X16] by LimeZu, used under its Complete Version
licence, which requires credit to LimeZu; it is carved out of the MIT grant in
LICENSE-ASSETS. The Office cast is drawn in code (portraitArt.ts), not LimeZu
art. See ATTRIBUTION.md.
Munder Difflin is a parody and is not affiliated with NBC's The Office or Dunder Mifflin.
- LimeZu for the Modern Interiors tilesets.
shahar061/the-officefor the office tileset and map vendoring.- Pixi.js, xterm.js, node-pty, electron-vite and CodeMirror.
- The Office (US), for Munder Difflin, Inc.



