munder-difflin README

项目的 README,来自 github.com/HarnessMD/munder-difflin。合并为一个 markdown 文件:README.md。

Munder Difflin: coolest app to use agents. Run an office of AI agents on subscriptions you already pay for.

Munder Difflin

Coolest app to use agents

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.

License: MIT Version: 0.6.0 Platform: macOS | Windows | Linux PRs welcome Discord

The office floor: Michael, the orchestrator, and a team of agents at their desks

What it is

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.

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).

Engines

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.

How the office works

  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)
  1. 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.
  2. Agents talk through the hive, a local git repository of plain files. An agent writes to its outbox/, the app delivers to the recipient's inbox/, and only the app commits.
  3. Michael runs the floor. He handles routine requests himself and puts anything that needs you (spend, deletions, a change of scope) in Ask me.
  4. 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.

What's in the box

The Add agent dialog: name, role, engine and model The Command Center with tasks on the board
Hire in a few clicks. Name, role, engine and model, or start from a briefing template. Command Center. The office's task board, next to Michael's terminal, Ask me, triggers, memory and skills.
Settings, Prerequisites: each agent engine and whether it is ready
Settings. Prerequisites shows each engine and whether it is ready; keys, integrations and MCP servers sit beside it.

Build from source

You need:

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 app

The 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.

Contributing

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.

Munder Difflin contributors

Telemetry

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.

Munder Difflin Pro

A paid edition with more, which is not open source, is at munderdiffl.in.

License

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.

Acknowledgements

munder-difflin (HarnessMD/munder-difflin)

正在搜索数据库…

这是什么?Munder Difflin 是一款免费的开源桌面应用,能把你已经在用的编程智能体命令行工具(Claude Code、Codex、Gemini CLI、Grok、Qwen、OpenCode 等)组织成一个协同工作的“办公室”。这些自主智能体以头像的形式在 2D 办公室地板上工作,并由你自己的 AI 分身 Michael 统一管理。
这是一个库还是独立应用?它是一款独立的 Electron 桌面应用,你下载后直接运行即可,而不是需要接入你自己代码库的库或框架。
我该怎么把它跑起来?从最新的 GitHub 发布版本下载已签名的 macOS、Windows 或 Linux 安装包,安装并打开,之后引导向导会带你完成其余步骤;如果要从源码构建,则需要 Node.js 18+ 和 npm。
我需要先自己准备好智能体命令行工具和订阅吗?需要。你至少要在 PATH 中装好一个受支持的智能体命令行工具,例如 Claude Code、Antigravity、OpenAI Codex、xAI Grok、Kimi Code、Gemini CLI、Qwen、OpenCode、Crush、pi.dev、GitHub Copilot CLI 或 Cursor,并使用你现有的订阅。你也可以通过 Ollama、LM Studio 或 vLLM 使用自己的 API 密钥或本地模型。
有什么需要注意的吗?它还是早期软件(v0.4.6)。按照设计,任何智能体都不允许直接操作 git,以避免代码仓库损坏;另外,本版本新增的阿拉伯语翻译尚未经过母语者审校。
Michael 到底是什么?Michael 是你的个人分身智能体,也是你唯一会直接下达任务的对象。他负责把工作分配给其他智能体、在它们之间转发消息,并且只把真正需要你决定的事项上报给你。
GOD 智能体究竟做什么?GOD 智能体负责管理办公室的日常运转:它会阅读每一条智能体请求,自己处理常规请求以保持自主运行,只把涉及花费、破坏性操作或范围变更等关键事项上报到人工审批队列。
为什么叫 Munder Difflin?这个名字是对《办公室》(The Office)中 Dunder Mifflin 的谐音戏仿。README 中写道:“世界上最好的智能体,世界上最差的造纸公司”,借用情景喜剧里办公室的主题来比喻它的多智能体配置。
我不在的时候,智能体还会继续工作吗?会的。每个智能体都作为一个真实的终端进程运行,并在你设定的自主权限范围内独立继续工作;只有遇到需要你批准的花费、范围或破坏性操作关卡时才会暂停。
有哪些类似的项目?Agentlas-OS, Orkas, SoduWork, endo, ruflo, Orbital, hive, nocobase
作者
HarnessMD
大小
554.4 MB
星标
10.3K
时长
6个月
提交 · 90 天