The agent that grows with you
Local multi-agent manager for Claude Code and Codex
Middleman runs a persistent manager agent on your machine and lets that manager spawn and coordinate workers for a project. It combines a backend daemon, a live dashboard, and shared swarm/protocol packages so you can assign work, watch progress, and review results in one place.
Builders who want to direct several coding agents from one persistent project manager.
You can hand off a batch of tasks to one manager and let it split, run, and route the work for you.
What it does
Persistent managers
Keeps project context, preferences, and workflow across sessions with compacting memory.
Worker dispatch
Spawns worker agents and routes messages between manager and workers.
Parallel execution
Breaks a task list into parts that can run at the same time.
Dashboard
Shows agent status, chat, artifacts, and settings in a local UI.
Skills and automation
Includes web search, image generation, browser automation, cron scheduling, and a skill system for extensions.
How to get it
- 1Run
npx middleman-app
README
[!IMPORTANT] Middleman is being superseded by bb, an agentic IDE that orchestrates Claude Code, Codex, and Pi in long-lived threads you can follow live and steer at any turn. Try it with
npx bb-app@latest, then openhttp://localhost:38886. Requires Node 22.12.0+ on macOS/Linux, or Windows via WSL2.
๐ Middleman
A local-first multi-agent orchestration platform. One manager, many workers, zero tab-juggling.
[!WARNING] Middleman is pre-v1, experimental, and updated constantly. Expect breaking changes.
If you're using agentic coding tools, you've probably hit this wall: you start with one agent, then two, then five. You're branching, worktree-ing, reviewing, merging, context-switching. The agents are cranking out code. But your entire day is spent managing them, sequencing work, checking output, nudging things along.
You're not an IC anymore. You've become a project manager. You need a middle manager.
Middleman gives you one. You talk to a single persistent manager agent per project. You describe what needs to be done, whether it's a feature, a batch of bug fixes, or a refactor, and the manager dispatches workers, parallelizes where it makes sense, and surfaces only the things that need your attention.

Quick Start
npx middleman-app
That's it. Open http://localhost:47187, go to Settings, sign in with your OpenAI or Anthropic key, create a new manager, and start talking.
Development
git clone https://github.com/SawyerHood/middleman.git
cd middleman
pnpm i
pnpm dev
# http://127.0.0.1:47187
Key Features
- Persistent managers. Onboard once, work for days. Managers remember your preferences, workflow, and project context across sessions via compacting memory.
- Worker dispatch. The manager spawns workers (Codex, Pi/Opus, etc.) and routes messages between them. You describe work at a high level; it handles the breakdown.
- Parallel execution. Dump a list of tasks and the manager figures out what can run concurrently.
- Dashboard. A Conductor-style UI for watching agents work, chatting with your manager, and managing settings.
- Skills & automation. Built-in skills for web search, image generation, browser automation, cron scheduling, and more. Extensible via the pi skill system.
Architecture
Middleman is three things running on your machine:
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Dashboard UI (TanStack + Vite SPA) โ
โ Chat, agent status, settings, artifacts โ
โโโโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ WebSocket
โโโโโโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Backend Daemon (Node.js) โ
โ HTTP + WS server, agent orchestration, โ
โ message routing, persistence, scheduler โ
โโโโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ spawns & messages
โโโโโโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Agents (pi / Codex) โ
โ Manager โ Workers โ Merger โ
โ Each in its own worktree โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
apps/backendis the daemon. HTTP + WebSocket server, swarm orchestration runtime, persistence, and scheduler.apps/uiis the dashboard. Real-time agent monitoring, chat interface, and settings management.- The manager agent is built on pi, is event-driven, and never blocks. Always ready for the next message.
How It Works in Practice
- Create a manager for your project from the dashboard.
- Onboard it by chatting. Tell it your preferred workflow, what tools to use, how you want work sequenced.
- Dump tasks on it. A feature spec, a list of bugs, a vague idea.
- The manager spawns workers, assigns tasks, and orchestrates execution in parallel where possible.
- You review when you want, or let it roll.
A Note
This is a vibecoded project. It's here to inspire, not to be a polished product. Fork it, tear it apart, or use it as a starting point to build your own middle manager.
License
Apache-2.0
Files in the repo
- .github
- .husky
- apps
- data
- docs
- packages
- scripts
- .env.example
- .gitignore
- .mods
- .prettierignore
- .prettierrc
- AGENTS.md
- LICENSE
- package.json
- pnpm-lock.yaml
- pnpm-workspace.yaml
- profiling.md
- README.md
- README.package.md
- RELEASING.md
- tsconfig.json
Discussion (0)
Ask about usage, or say what you built with itSign in to join the discussion.
No comments yet. Be the first to say what this is good for.
More agents
Open-source coding agent for your terminal, built in Rust and on a journey of continuous community improvement. Issues and PRs welcome.
A lightweight alternative to OpenClaw that runs in containers for security. Connects to WhatsApp, Telegram, Slack, Discord, Gmail and other messaging apps,, has memory, scheduled jobs, and runs directly on Anthropic's Agents SDK
OpenSquilla โ Token-Efficient AI Agent with same budget, higher intelligence density

An open-source AI coding agent that lives in your terminal.
Run and supervise teams of coding agents from planning to merge. Any harness (Claude code, codex, +25 more). Desktop, web, mobile, and cloud agents.