Coding Agent Aggregator
A local-first daemon that lets a manager coding agent delegate work to worker agents in isolated git worktrees, with one control plane to approve, review and merge.

The problem
Running several coding agents on one repository goes wrong in predictable ways: they overwrite each other’s files, a blocked permission prompt goes unnoticed in a terminal, and the person coordinating ends up shuttling status between a manager agent and a markdown file.
This project is for developers who already use more than one coding-agent CLI and want one place to see all of them, approve what needs approving, and merge what is good.
My contribution
The repository starts from a written product specification, protocol and data model (five documents, all in the repo). I directed that design, and the implementation was built with AI coding agents working against it. It is open source under the MIT licence.
Several spec decisions were changed once the system met reality, and each is recorded in the README under deliberate differences. The clearest example is that the manager agent holds a separate credential that cannot approve its own merge.
The manager delegates through MCP tools. Each worker runs in its own worktree on its own branch. Permission requests and merges wait in one queue for a human decision, shown in a web and mobile control plane.
The implementation
A Node.js daemon owns task state, worktrees, agent processes and approvals. Adapters normalise Claude Code, Codex and configurable CLIs. A hook intercepts Claude’s tool calls and fails closed. The React control plane streams live terminals and diffs over WebSocket, and an MCP server exposes delegate, status, diff, feedback and merge to the manager.
Approval policies run from asking for everything to automatically allowing side-effect-free commands. Edits outside a worktree always need a human.
The trade-offs
Isolation by worktree removes file collisions but costs disk and setup time for dependencies, which the per-repository configuration partly handles by copying or symlinking.
Headless Codex runs in its own sandbox and cannot be gated by the approval queue, so the API warns when a gating policy is requested for it. Workers are children of the daemon, so a hard kill leaves a failed task and a kept worktree to retry.
A manager can target any git repository on the machine. Scoping that is not implemented and is listed as a known limit.
Current status
Type-checking and 61 daemon tests pass, covering real git operations, pseudo-terminals, the hook script and mock agent CLIs. The MCP server is tested over stdio. Continuous integration runs on Linux and macOS. The interface shown above was captured running locally against mock agents.
The Codex, Gemini and Antigravity CLIs were not available during development, so their flags are unverified against the real binaries and can be overridden in configuration. No claim is made about performance with real long-running agent sessions.
Source, specifications and licence: github.com/Waaajid/coding-agent-aggregator
Source reviewed at 913ed68 · Portfolio review: 3 November 2026.