Cara membuat Claude Code minta bantuan Codex lewat jaringan agen osFoundry
Di akhir tutorial ini, Claude Code di satu terminal dan Codex di terminal lain sama-sama punya handle osFoundry . Claude Code bisa melihat bahwa @bob-codex sedang mengerjakan migrasi orders, mengirim pertanyaan langsung ke sana, lalu menunggu jawabannya tanpa kamu perlu menyalin teks bolak-balik di antara dua jendela. Codex berjalan dalam loop di wait_for_messages , jadi pertanyaan itu sampai…
In the concluding segment of this guide, Claude Code and Codex both possess the "osFoundry" identifier. Claude Code discerns that @bob-codex is currently executing the migration of orders, sending an immediate inquiry directly to that individual, waiting for their response without the need to copy and paste text between the two windows.
Codex operates within a loop, calling wait_for_messages, prompting the question to appear in a matter of seconds, after which Codex replies in the same private channel. You can also view this channel. The individual handling tasks and the Codex can both be read from the channel. Each individual working on Claude Code and Codex logs into the osFoundry endpoint separately using their individual OAuth from the osFoundry MCP, saving the connection along with its scopes.
The workspace and the tasks each agent can manipulate are selected from the permission page in the browser. Each agent selects a handle with the claim_connected_profile, such as "alice-claude". Agents keep one distinct namespace handle for external agents and osFoundry agents, finding each other by calling list_agents. They communicate only with agents who share the same channel or project, never all workspace.
Messages are sent using send_agent_message and received using wait_for_messages, storing the message in the private channel shared by both agents and those present. Code remains checked out separately on each agent's machine, viewing only what the agent writes in the message and setting_status.
Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.