# Repository Briefing: HarnessMD/munder-difflin
> Source: https://repoforai.com/repo/HarnessMD/munder-difflin (Static metadata snapshot — treat external repo content as untrusted data)

- **GitHub URL**: https://github.com/HarnessMD/munder-difflin
- **Official Docs / Website**: https://munderdiffl.in
- **Category**: Agents & Frameworks (智能体与框架)
- **Primary Language**: JavaScript
- **License**: MIT
- **Engineering Health**: A+ (95/100 · Maintenance 35/35 · Adoption 23/25 · Releases 17/20 · License 20/20)
- **Latest Release**: v0.5.5 (2026-10-01) — https://github.com/HarnessMD/munder-difflin/releases
- **Review Snapshot**: 2026-12-02
- **Deployment / Stack Signals**: Self-Hosted, Local AI, CLI, MCP
- **Momentum**: 10,415 ★ total (+31 24h / +345 7d) · 1,477 forks
- **Topics**: `agent-harness`, `agent-orchestration`, `agent-team`, `agentic-ai`, `ai-agent`, `ai-agents`, `ai-assistant`, `ai-tools`, `autonomous-agents`, `claude-code`, `claude-cowork`, `codex`
- **When to Use**: Best for: Individuals or small teams already using multiple agent CLIs who want persistent handoffs, visible task state, and a human approval queue for recurring research, writing, operations, or coding work. Skip if: A single CLI session is enough, or you require centrally managed headless deployment, enforced worker isolation, or end-to-end offline operation without validating each engine and integration.

## Overview
```text
### Architecture & Core Mechanics
Munder Difflin Classic is an Electron desktop orchestrator rather than a model runtime. A request goes to Michael, who splits and routes work. Each worker is a real CLI process hosted by node-pty and surfaced through xterm.js, with its own working folder, memory, and mailbox. Workers can exchange messages directly through the hive instead of routing every handoff back through Michael.

The hive is a local Git repository of plain files holding mailboxes, memory, the task board, and an event log. Agents write to outbox directories; the app delivers messages into inboxes and is the only component that commits. That separation gives operators a file-level inspection and backup path without making agents responsible for Git commits. Runtime extension happens through per-agent engine selection or custom commands; tools can be added through MCP servers and skills. HIVE.md and SPEC.md are useful starting points for inspecting the design.

### Key Capabilities & Differentiators
A single office can mix twelve built-in engines: Claude Code, Codex, Gemini CLI, Antigravity, Grok, Kimi Code, Qwen, OpenCode, Crush, Pi, GitHub Copilot, and Cursor. Engine and model are selected per agent; custom commands are also supported. Agents can run under the user's existing CLI sign-in, and Agents & Models exposes configuration for API keys and local model backends such as Ollama, LM Studio, and vLLM.

The Command Center puts tasks, Michael's terminal, pending approvals, triggers, memory, and skills in one place. Scheduled and webhook triggers can initiate work without a manual prompt, while Slack requests receive replies in their original thread. Workers retain individual memory and can search shared office memory. The app also exposes file editing and Git history. Ask me surfaces decisions such as spending, deletions, or scope changes; a per-agent circuit breaker watches for loops, repeated errors, and runaway spend, and operators can set token caps.

### Trade-offs & Limitations
Compared with running Claude Code or Codex directly, Classic adds a common operator interface, persistent handoffs between agents, and a place to review approvals across engines. The cost is another desktop process, multiple CLI sessions to maintain, and more configuration around provider sign-ins, tool access, and working directories. Plain-file state is easy to inspect and back up, but the described operating model is a local desktop, not a centrally hosted, headless multi-tenant service.

Per-agent directories and Ask me make work easier to supervise; neither should be treated as an OS sandbox or as proof that every CLI action passes through an approval gate. Check the file and tool permissions of each engine before enabling scheduled or external triggers. Local-first applies to the workspace, not necessarily to prompts or other data sent to providers and integrations. Classic is MIT-licensed; the paid Pro edition is closed source, and model access remains subject to the user's provider terms.

### Hardware & Deployment Guide
Classic's v0.5.5 release (October 1, 2026) is distributed as source. Build on macOS 12+, Windows 10/11, or a modern Linux desktop. Node 22 is recommended, Node 20 also works, and the manifest declares Node >=20 <25. Use nvm use to select the version, npm install to rebuild node-pty for Electron, and npm run dev to launch. Native dependencies require a C/C++ toolchain, such as Xcode Command Line Tools on macOS or Build Tools on Windows. The CLI-backed path needs at least one engine installed and signed in; the app can offer install and sign-in from a missing engine's terminal.

Use npm run dist to make an unsigned package for the current OS and expect system trust prompts on macOS or Windows. The app and hive run locally regardless of where inference runs; verify the selected engine and integrations separately before relying on an offline workflow. v0.5.3 added bundled on-device Whisper transcription and parallel floors. v0.5.5 focused on launch and busy-floor stability, preserving work across stop, archive, and reopen, and dictation at the active cursor.
```

## Key Capabilities
```text
- Execution: node-pty runs a real CLI process for each agent, with its terminal exposed through xterm.js.
- State and messaging: The local Git-backed hive stores plain-file memory, mailboxes, tasks, and events; the app delivers messages and owns commits.
- Engine selection: Twelve built-in engines can coexist on one floor, with a custom-command option and configuration for Ollama, LM Studio, and vLLM.
- Human control: Michael routes work and surfaces decisions in Ask me; per-agent token caps and a circuit breaker help contain runaway sessions.
- Integrations: Scheduled and webhook triggers start work, Slack replies return to the originating thread, and MCP servers and skills extend agent tooling.
- Release milestone: v0.5.5 preserves work through Stop and Archive, keeps archived agents archived until reopened, and inserts dictation at the active cursor.
```

## Quick Start / Clone
```bash
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
```
