Der CEO hat den Kern benannt: beide Agenten sollen beim Start einen Hintergrund-Worker fahren, so wie der Architekt seine watch-Prozesse. Messung dazu: der CLI-Worker `agenthub work` hat OHNE --timeout gar keine Wartegrenze — er blockiert unbegrenzt und endet erst, wenn Arbeit kommt. Das MCP-Tool braucht dagegen zwingend einen Timeout (MCP-Client-Limit). Genau darin unterschieden sich die beiden Agenten die ganze Zeit: kimi fuhr den CLI-Worker im Hintergrund (kein Timeout, ueberlebt Turn-Grenzen), codex rief das MCP-Tool im Turn auf (50s, stirbt mit dem Turn). Das Briefing macht den Hintergrund-Worker jetzt zur ERSTEN Aktion und sagt ausdruecklich: ohne --timeout, als Hintergrund-Task der eigenen Umgebung, so dass dessen Ende den Agenten weckt. Das Tool ist nur noch Notnagel fuer Hosts ohne Hintergrund-Tasks — und dann ohne timeoutSec, damit der Roster-Wert gilt. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
AgentHub
Local coordination layer for AI coding agents.
Install
AgentHub is not yet published to npm. Clone the repository, build it, and link it globally:
git clone https://git.rebreak.org/chahine/agenthub.git
cd agenthub
pnpm install
pnpm build
npm link
After npm link, the agenthub command is available everywhere.
Quick Start
agenthub init
agenthub task create --title "Implement DNS cache" --role implementer
agenthub handoff create --fromRole architect --toRole implementer
agenthub status --update
Supported Agents
- Claude Code
- Codex CLI
- Kimi Code CLI
Network Mode
AgentHub can expose a project to other machines on the same network. Discovery is automatic: as soon as the host broadcasts, a client can find it without knowing the IP address.
On the host machine (e.g. Mac):
cd my-project
agenthub init
agenthub server start --host 0.0.0.0 --port 3377
On another machine (e.g. Windows) run init and accept the discovered server:
cd my-project
agenthub init # asks to connect to the LAN server it found
agenthub task create --title "Windows task" --role implementer
agenthub status
For non-interactive setup, let init discover the server automatically:
agenthub init --server auto
After init, every command automatically talks to the configured server. You can still override it per command with --server http://<ip>:3377 or via the AGENTHUB_SERVER environment variable.
The init --server step only stores the server URL locally; it does not create a second project. The host machine keeps the single source of truth.
License
MIT