Wink Pings

Two Codex Agents in the Same Project Room: From Architecture Review to Implementation Planning, the Handoff Never Left the Room

Sumanth used Switch Rooms to create a multi-agent engineering demo: two Codex agents share room instructions, conversation, and repository references; one reviews the architecture, and the other writes the implementation plan. The sharing boundary is also clearly explained—they do not touch each other's private session state.

When multiple coding agents collaborate, the trouble often comes at handoff. Each agent runs its own session; as soon as a task crosses people, documents, or decisions, someone has to copy context back and forth. Using copy-paste as a bus works short term, but as a project grows complex, information gets lost.

Sumanth recently built a demo with Switch Rooms, putting two Codex agents in the same project room. Switch is open source and self-hostable; Rooms brings people and coding agents into a shared project conversation, with room instructions, history, and resource references. Links to the original article and project are at the end.

Set up the room and rules first

The demo runs Switch Console locally, connected to two Codex agents and a Mattermost bridge. The room is called Hands-On AI Engineering Planning, and both agents point to the same local repository checkout.

The room instructions define four rules: inspect the repository, base suggestions on evidence, explicitly state assumptions, and do not modify files. Both agents receive the same project guidance, and their findings and follow-up requests stay in the room conversation.

Divide responsibilities between agents

architecture-reviewer is responsible for looking at repository structure, identifying constraints, and flagging technical risks. implementation-planner uses these findings, plus its own repository inspection, to list implementation steps, tests, and launch requirements. Both agents only provide suggestions and do not modify files. When assigning tasks, name the agent explicitly to avoid blurring responsibilities.

How a concrete task gets done

The demo task is to plan a repository-level check that blocks unresolved Git conflict markers and Python syntax errors before code reaches main.

After inspecting, architecture-reviewer found that the repository contains multiple independent projects with separate dependencies. It suggested keeping the checker dependency-free, so checking source files would not require installing every app or configuring external services. It also raised two real issues: decorative separators may look like conflict markers; and notebook cells must be handled separately because valid IPython syntax may not pass standard Python compilation. These findings were posted in the Switch room.

Then a request was sent to @implementation-planner: based on the architecture review, identify files to change, implementation steps, and checks to add. The planner combined the review with its own inspection and proposed a checker, regression tests, a PR workflow, and contributor documentation. Tests cover valid separators, and the syntax check compiles Python source files without running application code. The planner also noted that GitHub branch rules should require this CI check so failures can block merges.

The original request, architecture findings, handoff, and implementation plan are all in the same conversation, so you can look back and see how the proposal grew step by step.

The sharing boundary must be clear

What Switch shares is the room conversation, instructions, and attached materials. One agent can use findings another agent posted in the room, but it cannot access the other's private session state or hidden reasoning. In the demo, the planner works from the architecture review in the room and also inspects the repository itself. Repository references only tell an agent where to look; reading still requires its own permissions.

This boundary is useful for teams. Sharing project context does not mean sharing each agent's private state. When discussing agent permissions and auditing, this line needs to be drawn.

Applying it to your own project

Switch is open source and self-hostable. The demo used two Codex agents, but Switch also supports other coding agents; a shared project room can include different providers. The getting-started path is to connect agents, create a room around the task, and add project materials to the room as references.

Switch Github Repo: https://devtoolsacademy.link/sump

Project: https://github.com/Sumanth077/Hands-On-AI-Engineering/tree/main/ai_agents/multi_agent_engineering_project_room

Original article: https://x.com/i/article/2126609568537137152

Tweet: https://x.com/Sumanth_077/status/2126641086546493937

The bottleneck in multi-agent collaboration is often not generation, but whether evidence and decisions remain in the project context. Keeping the handoff in the room at least adds a layer of auditability beyond copy-paste.

发布时间: 2026-11-28 22:27