Agent-relay is a prototype for coordinating coding sessions from different AI vendors, such as Codex and Claude Code, which otherwise cannot pass plans, code changes, and reviews directly between one another. A leader assigns work to a follower through a controller, which relays each turn and records messages and decisions in a durable on-disk log. Users can watch progress in a web or terminal console, pause the process, and answer questions when the agents reach a human decision point. The intended workflow includes having one agent plan and review while another implements, or getting an independent critique before examining a change. Jobs can be bounded by a limit on handoffs and a timeout for each turn.
The relay coordinates two sessions per team and handles one turn at a time; it cannot see what an agent does within a turn, so its handoff budget does not limit internal work. The controller runs in the foreground, enforces timeouts, and stops at human decision points. Agent routes started by the relay are restricted where possible: Claude Code can run without tools or with a limited set inside a macOS sandbox, while Codex’s multi-agent mode is recorded but not yet enforced. The bus, controller, and consoles work with simulated clients, and live coordination between Codex and Claude Code has been verified. Attaching to existing sessions is built but unverified, and open terminal sessions must be handed over before the relay can drive them. The MIT-licensed prototype is macOS-focused and designed to support additional agents through adapters.
Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.