Recipes

Parallel agent workspace for running Codex and Gemini CLI on isolated Git worktrees

From README links · today

Software & DevOpsWork & Operations

Orchestrate multiple coding agents side by side without file collisions.

What they did

They set up Paradev as a control surface for parallel coding agents. After installing the desktop app and adding a repository, they created separate workspaces for the same task, assigning Codex to one and Gemini CLI to another. Each workspace got its own Git worktree, branch, and terminal, so the two agents could attempt the same change without touching each other's files. They described a small, scoped change in each session, watched the sidebar status indicators flip from working to waiting, and used the in-app diff viewer to read each agent's output. They selected diff lines to send targeted feedback back to an agent, ran the test suite in the workspace terminal, and previewed the dev server in the built-in browser pane. Finally they compared the two branches, kept the better approach, and opened a pull request from inside the app, watching checks and merging without leaving the workspace.

How it went

Both agents produced working branches in parallel, and the diff viewer made it easy to pick the cleaner implementation and discard the other. The worktree isolation meant no stashed changes or accidental overwrites, and the browser pane caught a layout regression before commit. The result felt polished for a single-developer workflow, though merging still required manual conflict resolution when the two branches overlapped.

Worth knowing

Worktrees isolate files but do not sandbox processes, so agents can still interfere via shared ports, databases, or global config. Windows is not supported yet, and the Linux build is experimental. Pull request workflows need the optional gh CLI. Parallel branches can conflict on merge, and running several agents at once multiplies API usage and cost.

Wiring

Install the Paradev desktop app (macOS dmg or Linux AppImage) and confirm Git is present; install gh if pull requests are wanted. Add the repository, then create one workspace per agent, selecting Codex in one and Gemini CLI in the other from the agent picker. Paradev provisions a Git worktree, branch, and terminal per workspace automatically. Each agent runs on existing CLI credentials or API keys. Use the sidebar to monitor status, the Changes view to review and comment on diffs, the terminal to run tests, and the browser pane on auto-detected ports for previews. The bundled superset CLI and MCP server can let an agent drive the app and spawn further agents if orchestration is needed.

Try it yourself

Set up two parallel Paradev workspaces on this repo for the same task: add input validation to the signup form. Assign Codex to workspace A and Gemini CLI to workspace B. In each, have the agent implement the change, run the existing test suite, and start the dev server so I can preview the form in the browser pane. Then show me both diffs side by side, summarize the tradeoffs, and recommend which branch to keep before opening a pull request.

Source

Tools in this stack

Run this stack

Install the stack into this project. It writes AGENTS.md and the manifest, merges the MCP servers into .mcp.json, and — with --yes — runs the tool installs.

npx runchr install runchr/stack-codex-and-gemini-cli-and-hermes-agent-4cd3577a
No CLI?curl -s https://api.runchr.com/api/recipes/runchr/stack-codex-and-gemini-cli-and-hermes-agent-4cd3577a/manifest

This stack has no prompt yet. You get the tools and the wiring, not the prompt.

The manifest is also at api.runchr.com/api/recipes/runchr/stack-codex-and-gemini-cli-and-hermes-agent-4cd3577a/manifest.