Run Claude Code, Codex and Antigravity CLI on One Repo Without Merge Hell
Hermes IDE: Download free · Star it on GitHub — one console for every coding agent, on macOS, Windows and Linux Book: AI Agents Pocket Guide · AI in TypeScript — the 5-book series Me: xgabriel.com | GitHub The suite went red, and both agents had reported back as done. Claude Code had the flaky login test. Codex, in a second terminal on the same checkout, had the auth cleanup. Codex tidied…
The article discusses a method for running multiple coding agents, such as Claude Code, Codex, and Antigravity CLI, within a single repository without encountering merge conflicts. The process involves using Hermes IDE, which creates a separate worktree for each agent in its own folder within the repository. Each worktree has its own branch and set of files, allowing the agents to work independently without interfering with each other's files.
The steps to implement this method include creating a separate worktree for each task, using a recipe file (.hermes/worktree.toml) to set up the necessary commands and files in each worktree, and launching the agents using Hermes IDE. The worktrees ensure that each agent has its own isolated environment, preventing conflicts between their changes. When a task is completed, the changes can be committed and reviewed using git diff, showing only the changes made in the specific worktree.
Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.