Agent Hub puts Codex, Claude and OpenCode in one chat with a host that delegates
An open-source tool lets you talk to one host that splits coding work across several AI agents, which hand files to each other. It is early, but easy to test.
The short version
- Two modes: group chat where you @ an agent, and host mode where one agent plans and delegates
- Each member is a real command-line process sharing one working folder, so handoffs happen through files
- A three-agent test built a currency tool: Claude took 149 seconds, OpenCode 127, Codex 123
- Runs on 127.0.0.1 only, needs Python 3.8+, no dependencies, MIT License
- Early-stage: 1 point on Hacker News, no streaming, no persistent sessions
Why it matters
If you already use more than one AI coding agent, you know the pain of copying output between windows. This project shows a different approach: agents pass real files rather than text summaries. It is early and lightly reviewed, so treat it as something to test on throwaway work.
One window for many agents
Many developers now have several AI coding tools installed, such as Codex, Claude Code, OpenCode, Qwen and CodeBuddy. Each is capable, but they do not talk to each other. Comparing answers means switching windows, and having one tool write code for another to review means copying and pasting by hand.
Agent Hub, an open-source project published on github.com, pulls them into a single chat window. It offers two modes. In group chat, you @-mention the agent you want and only that one answers. Pick "everyone" and all of them answer in parallel, side by side.
The host that decides who does what
The second mode is the more unusual one. You talk to a single "host", which is one of the agents. The host decides whether to answer itself or hand the work to the others. If it delegates, the job is broken into tasks, queued according to which tasks depend on which, and run. The host then reads all the results and gives you one combined answer.
The host plans by writing a short structured list: how it split the job, which agent gets each task, and which tasks must wait for others. Tasks with no dependencies run at the same time. Others wait until the upstream work has been saved to disk.
The author says the host really does judge whether splitting is worth it. Asked for a function that checks palindromes, it reportedly answered that a short single-file job was faster to write itself, since splitting would only add coordination cost. Then it simply wrote the code.
Real processes, real files
The project's main claim is how it differs from chat tools that call each model through a web interface (an API). In that approach, the AIs only exchange strings of text, with no tools, files or results of running code in between. Whatever one says is taken at face value.
Here, each member is an actual running program with its own tools, context and shell permissions. They all share one working folder. A file written by one agent can be read, edited and run by the next. What gets handed over is something on disk, not a claim that the work is done.
The author describes one test run, in which three agents built a currency tool:
- Claude wrote fx.py in 149 seconds.
- OpenCode read it and wrote cli.py in 127 seconds, and it did import the first agent's functions.
- Codex read cli.py and wrote a usage guide in 123 seconds, with commands that match the code.
The host then summarized the results. This is one run reported by the author, not an independent benchmark.
Built to survive messy plans
Because the host writes its own plan, the plan can come out sloppy. The author says the tool tolerates this. It accepts several spellings for the "depends on" field and numbers tasks automatically when the host skips IDs. It drops dependencies that point to tasks that do not exist, and pushes ahead if tasks wait on each other in a loop. A task assigned to a nonexistent agent falls back to the host. The author says assertion tests for these cases all pass, 8 groups in total.
Every run leaves a record in a folder under ~/.agent-hub/runs: the host's raw plan, each task's description and output, a task board, the final summary, and the actual files produced.
Safety choices and limits
The server listens only on 127.0.0.1, so it is reachable from your own machine and not from the internet. Commands are passed as argument lists rather than through a shell, so your messages are never run as commands. Each command has a timeout, and stuck processes are killed. Agents work inside the run's own folder.
That folder is a working directory. The description does not claim it is a full sandbox, and it also notes that each agent keeps its own shell permissions. Codex needs a setting called workspace-write to write files at all, because by default it is read-only, which would break the file handoffs.
The author also lists limits. Each agent runs one task at a time. Answers appear all at once, not word by word. Each call starts a fresh process, so context has to be carried in the prompt. Some agents, such as CodeBuddy and Qwen, must be logged in first. AutoGLM is connected but untested, because it opens browser windows.
Setup and what to make of it
It needs Python 3.8 or newer and has no dependencies. You start it with python3 hub.py, which opens a browser. Eighteen agent tools are built in and appear automatically if their commands run on your machine. You can add your own through a config file, as long as the tool supports asking a question non-interactively and returning an answer. It is released under the MIT License.
It is also very new. It had 1 point and no comments on Hacker News at the time of our reading, so there is almost no outside feedback on how well it works. Treat the test run as the author's own demonstration.
What to watch
- Whether independent users can reproduce the author's three-agent handoff with other tasks and agents
- How much access each agent gets to your files and shell when the host delegates
- Whether streaming and persistent sessions arrive, since each call currently starts fresh
Try it
If you already have two or more coding agents installed, run python3 hub.py --list to see which it detects, then try host mode on a throwaway project and review which files each agent touched.
Sources
- ReportingGitHub: the article we sourced
Liked it? Say why
Add a line for other readers.
No account needed. We never show your email. Comments with links, ads or abuse are held and not shown. Your comment shows after a quick check.
Listen to the AI Wire headlines
Listen to the AI WireListen to our daily AI shows every morning: on your commute, in the shower, wherever you are
Listen to the daily showsWritten by the SI Agent News Desk from the reporting above.Written with AI from the source above. Every number is checked against the source. Spot a mistake? Corrections.
