chaitanyagiri / munder-difflin
Munder Difflin: Agent Harness to Run an Office of Your Clones
Munder Difflin Agent harness to run an office of your clones Free, open source and performant — a multi-agent harness that works with the subscriptions you already pay for, on their hourly limits. It turns the terminal coding CLI you already run into a clone of you, one that keeps working while you’re away and coordinates a whole office of agents on your own machine. Wraps Claude Code, Antigravity (Gemini), OpenAI Codex, xAI Grok, Kimi Code, Qwen, OpenCode, Crush, pi.dev, and GitHub Copilot CLI — with bring-your-own keys and local LLMs. Agents that message, route, and remember, coordinated by your clone (Michael) and visualized as avatars at work on a shared office floor. Electron · React · TypeScript · Pixi.js · xterm.js · node-pty
Munder Difflin:运行你克隆体办公室的智能体框架 这是一个免费、开源且高性能的多智能体框架,它能利用你现有的订阅服务及其每小时限额。它将你已经在使用的终端编码 CLI 变成你的克隆体,在你离开时继续工作,并在你的机器上协调整个智能体办公室。它封装了 Claude Code、Antigravity (Gemini)、OpenAI Codex、xAI Grok、Kimi Code、Qwen、OpenCode、Crush、pi.dev 和 GitHub Copilot CLI,并支持自带 API Key 和本地大模型。这些智能体能够相互通信、路由任务并具备记忆功能,由你的克隆体(Michael)进行协调,并以虚拟形象在共享办公空间中呈现。技术栈:Electron · React · TypeScript · Pixi.js · xterm.js · node-pty。
Note: The world’s best agents. The world’s worst paper company. Munder Difflin takes the terminal-agent CLIs you already run — claude, agy, codex, grok, kimi, qwen, opencode, crush, pi, and copilot — and turns them into a self-coordinating team: each agent gets long-term memory, a mailbox, and a desk on a 2D office floor — and your clone (Michael) routes work between them while you watch. He’s the boss of the floor; you’re still the boss of him.
注:世界上最好的智能体,世界上最差的造纸公司。 Munder Difflin 将你已经在运行的终端智能体 CLI(如 claude、agy、codex、grok、kimi、qwen、opencode、crush、pi 和 copilot)转化为一个能够自我协调的团队:每个智能体都拥有长期记忆、邮箱以及 2D 办公楼层上的工位。你的克隆体(Michael)会在你观察的同时在它们之间分配工作。他是楼层的负责人,而你依然是他的老板。
What it is Munder Difflin is a desktop app that wraps real terminal-agent CLIs as fully-capable agents, wires them into a hive mind, and puts your clone in charge — Michael, the one agent you talk to in order to get things done. Under the hood it runs the fastest memory layer in the world so every agent remembers what it learns and recalls it instantly.
它是什么 Munder Difflin 是一款桌面应用程序,它将真实的终端智能体 CLI 封装为功能完备的智能体,将它们连接成一个“蜂巢思维”,并由你的克隆体 Michael 负责管理——他是你唯一需要沟通以完成任务的智能体。在底层,它运行着世界上最快的记忆层,确保每个智能体都能记住学到的内容并即时调用。
Every terminal is an agent. Each claude, agy, codex, grok, kimi, qwen, opencode, crush, pi, copilot, or custom session runs as a real process in a pseudo-terminal (node-pty), byte-for-byte authentic, rendered with xterm.js.
每个终端都是一个智能体。 每一个 claude、agy、codex、grok、kimi、qwen、opencode、crush、pi、copilot 或自定义会话都作为伪终端(node-pty)中的真实进程运行,实现字节级的真实性,并通过 xterm.js 进行渲染。
Every agent is an avatar. Sessions appear as characters on a Pixi.js office floor — they walk to stations as they work, and envelopes fly desk-to-desk when they message each other. The hive coordinates them. Agents read their memory and drain a mailbox; the router moves messages between inboxes; the GOD agent adjudicates, assigns, and escalates only when it needs you.
每个智能体都是一个虚拟形象。 会话以角色的形式出现在 Pixi.js 办公楼层中——它们在工作时会走到工位,当它们相互发送消息时,信封会在桌子之间飞来飞去。蜂巢系统负责协调它们:智能体读取记忆并处理邮箱;路由器在收件箱之间传递消息;GOD 智能体负责裁决、分配任务,并仅在需要你时进行升级处理。
Memory that’s instant. A markdown-first memory layer with a semantic recall index means agents remember across sessions and recall in milliseconds.
即时记忆。 以 Markdown 为优先的记忆层结合语义检索索引,意味着智能体可以跨会话记忆,并在毫秒级时间内完成调用。
How it works (Diagram omitted for brevity) You spawn agents — each is a normal terminal process (claude, agy, codex, or custom) with its own working directory, identity, and provider-specific lifecycle. Agents collaborate through the hive — a local git repo of plain files. They write to their own outbox/; the harness’s router delivers into recipients’ inbox/. No agent ever touches git (single-committer design avoids index.lock corruption). The GOD agent runs the floor — it reads every request, resolves routine ones itself (keeping the system fully autonomous), and only escalates critical items (spend, destructive ops, scope changes) into an approvals queue you act on.
工作原理
你生成智能体——每一个都是一个普通的终端进程(claude、agy、codex 或自定义),拥有自己的工作目录、身份和特定于提供商的生命周期。智能体通过“蜂巢”进行协作——这是一个包含纯文本文件的本地 Git 仓库。它们写入各自的 outbox/,框架的路由器将其投递到接收者的 inbox/。没有任何智能体会直接操作 Git(单提交者设计避免了 index.lock 损坏)。GOD 智能体负责管理楼层——它读取每一个请求,自行解决常规任务(保持系统完全自主),并仅将关键事项(支出、破坏性操作、范围变更)升级到你需要处理的审批队列中。
Features
- The floor: Every terminal is a real agent.
- Every agent is an avatar: A Pixi.js office floor where agents walk to stations, envelopes fly desk to desk, and avatar state reflects real work.
- A GOD orchestrator you talk to: It routes tasks, adjudicates traffic, and escalates only what needs a human. Or press Talk and run the floor by voice.
- Per-agent git worktrees: Optional isolation so parallel agents never collide on branches.
- Memory & coordination: The hive — per-agent memory, atomic-file mailboxes, a shared blackboard, an append-only event log, single-committer git.
- Semantic recall: Markdown memory mined into a shared palace, searchable from the UI, with condensation so it doesn’t grow forever.
- Enterprise Knowledge Graph: Your own documents and policies, queryable by any agent.
功能特性
- 办公楼层: 每个终端都是一个真实的智能体。
- 每个智能体都是虚拟形象: Pixi.js 办公楼层,智能体在此走到工位,信封在桌间飞舞,虚拟形象的状态反映了真实的工作进度。
- 与你沟通的 GOD 协调器: 它负责路由任务、裁决流量,仅在需要人工介入时进行升级。或者按下“通话”键,通过语音管理整个楼层。
- 每个智能体的 Git 工作树: 可选的隔离机制,确保并行智能体永远不会在分支上发生冲突。
- 记忆与协调: 蜂巢系统——包含每个智能体的记忆、原子文件邮箱、共享黑板、仅追加事件日志以及单提交者 Git。
- 语义检索: 将 Markdown 记忆挖掘到共享知识库中,可从 UI 搜索,并具备压缩功能,防止无限增长。
- 企业知识图谱: 你自己的文档和策略,可供任何智能体查询。