Wink Pings

Two Codex Agents Working in the Same Room: Switch Turns AI Coding Assistants into Team Colleagues

Sumanth used two Codex agents to demonstrate Switch: turning channels such as Slack and Teams into project rooms shared by humans and agents. Context stays in the room, and handoffs no longer depend on people copying it. The real question is: in a 40-person room, who has the authority to give instructions to the agents?

Sumanth recently shared an open-source project called Switch on X. What it does is very concrete: it turns channels in Slack, Teams, Discord, Telegram, and Mattermost into rooms shared by humans and multiple coding agents. Claude Code can run locally, Codex can run on a colleague's machine, and another agent can run on a server; they enter the same room, and conversations, instructions, documents, and decisions all stay there.

The background is not complicated. Today, when using Codex or Claude Code, you usually open a session, hand off a task, and the agent accumulates context in the conversation. This works fine when one person is doing one thing. Once an engineering task spans people, documents, and decisions, context has to be copied by humans. Sumanth's demo article is aimed precisely at this handoff step.

He used Switch Console, two local Codex agents, and the Mattermost bridge. The room was called Hands-On AI Engineering Planning, and both agents pointed to the same local repository checkout. The room instructions required them to inspect the repository, give evidence-based recommendations, state assumptions explicitly, and not modify files. One agent was called architecture-reviewer and looked at repository structure, constraints, and technical risks; the other was called implementation-planner and, based on the former's findings and its own inspection, provided implementation steps, tests, and release requirements. The task was to check for unresolved Git conflict markers and Python syntax errors before main.

architecture-reviewer's findings were quite detailed: the repository contains independent projects with separate dependencies, so the checker should preferably not depend on application dependencies; decorative separators might be mistaken for conflict markers; notebook cells should be handled separately because valid IPython syntax does not necessarily compile as standard Python. It posted these into the room. Sumanth then @mentioned implementation-planner, asking it to provide the files to change, implementation steps, and checklist based on the architecture review. The planner provided the checker, regression tests, PR process, and contributor documentation. It also pointed out that GitHub branch rules should require the CI check; otherwise, failures cannot block merges.

Switch project screenshot

Switch shares the room's conversations, instructions, and attachment materials. Sumanth put it clearly: one agent can use findings another agent posted in the room, but it cannot access the other's private session state or hidden reasoning. A repo reference only tells the agent where to look; the agent still needs its own access permissions. This boundary is more important than the slogan of “multi-agent automatic collaboration.” The easiest place for multi-agent systems to fudge things is by copying context back and forth until no one knows where a conclusion came from. A room at least keeps the handoff process in place.

At the feature level, Switch supports different agents and models; Claude Code, Codex, Gemini Antigravity, Cursor, GitHub Copilot, or custom agents can all connect; it supports MCP and connectors such as GitHub, Jira, Notion, Google Workspace, Datadog, and Airtable; agents can run locally or remotely; it can be self-hosted, and there is also Switch Cloud. The GitHub page shows 5.1k stars and 414 forks. The project is 100% open source, with the repository at https://github.com/sandbox-quantum/switch . Sumanth's demo setup is also at https://github.com/Sumanth077/Hands-On-AI-Engineering/tree/main/ai_agents/multi_agent_engineering_project_room .

One question in the replies is more worth looking at than the feature list. A netizen asked: in a room with 40 people, who has the authority to give instructions to the agents, and is anyone who can do so an entry point for prompt injection? This question is not new, but products like Switch cannot avoid it. An agent only sees the room it belongs to, and the room becomes the unit of permission and context, which can reduce the exposure surface. But instruction governance, role permissions, and auditing in multi-person rooms still need to be enforced through rules. An extra bot in a group chat is not unusual; the hard part is who has the authority to change its brain, and what record is left after changes are made. Switch puts this question on the table, and it is suitable for developers who want to try multi-agent collaboration to run it themselves.

发布时间: 2026-12-04 06:29