Dev.to AI ๐Ÿค– Ai ๐Ÿ‘ 0 ๐Ÿ“– 1 min read

MCP For Using Another Agent inside an Agent.

๐Ÿš€ I built an open-source tool that lets one AI coding agent ๐Ÿง  plan while another writes the code. I named it Multiharness. Using this, the planner stays in control of review, and the implementer does the typing. How it

๐Ÿš€ I built an open-source tool that lets one AI coding agent ๐Ÿง  plan while another writes the code.

I named it Multiharness. Using this, the planner stays in control of review, and the implementer does the typing.

How it works:

โ€ข It runs as an MCP server ๐Ÿ”Œ inside the planning agent, with tools to delegate work, wait on it, and cancel it
โ€ข The implementer runs headless as a background job with tracked status, session and logs
โ€ข Every job comes back with independent Git evidence, so the planner reviews the actual repository instead of trusting the agent's own summary
โ€ข Fixes go back to the same implementer session, so repair rounds keep their context
โ€ข Timeouts and cancellation stop the whole process tree

Supported agents: Claude Code, Codex CLI, OpenCode and Command Code as planner or implementer, and Muse Code as implementer.

That allows setups like:

โ€ข Claude Code plans, Codex CLI implements
โ€ข Claude Code plans, Command Code implements
โ€ข Claude Code plans on one model and implements on Sonnet, on a single subscription

There's also an optional routing step: a small decision model (Jev or Laya) decides whether a request needs a plan at all, so trivial changes skip planning. โšก

It installs with one line on Windows, macOS and Linux, and a setup wizard handles the rest: installing missing agents, opening sign-ins, and connecting itself to your planner.

Each agent is a single adapter file, and the test suite drives every agent, the MCP server and the wizard against fake CLIs. ๐Ÿงช

Repo: https://github.com/ErOr-0/Multiharness-Core
Website: https://multiharness.mdfahimhossen.space

โญ Give it a star if you find it useful!

golang #AI #CodingAgents #MCP #DeveloperTools #OpenSource

๐Ÿ“ฐ Read the original article on Dev.to AI

Originally published by Dev.to AI. Aggregated on AIWithGhost for educational purposes โ€” full credit and traffic to the original publisher.