Skip to content

How to use your coding agents together

Using several coding agents together means giving each the tasks it suits, on the same projects, and comparing what they do. Each vendor’s agent is its own command-line tool with its own sign-in, settings and commands. Moontors, an agentic development environment (ADE), runs all five, Claude Code, Codex, Gemini CLI, Grok Build and OpenCode, side by side on one board, each as its vendor ships it.

Each agent signs in with its own vendor:

  • Claude Code: a Claude subscription or the Anthropic Console in the browser, an Anthropic API key, or Amazon Bedrock, Google Cloud’s Vertex AI or Microsoft Foundry;
  • Codex: a ChatGPT sign-in in the browser or with a device code, an OpenAI API key, or Amazon Bedrock or Google Cloud’s Vertex AI;
  • Gemini CLI: a Gemini API key, or Google Cloud’s Vertex AI. Google no longer lets personal accounts sign in to it through the browser; an organization account may still;
  • Grok Build: a grok.com sign-in in the browser, or an xAI API key;
  • OpenCode: none for its free models, or the model provider you use it with.

Moontors installs each agent the first time you use it, and keeps its sign-in apart from the agent you use outside Moontors. See Signing in.

Choose Create session and pick the agent, with its model. Sessions of different agents can work on the same project at once:

  • in the same folder, for tasks that touch different files;
  • each in its own worktree, for tasks that might touch the same files. See Worktrees.

A preset keeps the dialog’s picks under a name, the agent and its model among them, so each agent’s usual setup is one choice away. See Presets.

Every card names its agent and where it works, so one board holds every agent’s work side by side, and the tags at the top gather the sessions that need you: those running, waiting for you, with an action denied, failed, or done and not yet seen (see The header). On your computer, each project’s button in the header starts a session in its folder (see Projects).

To try the same task with two agents, create a worktree session for each, with the same prompt. Each works in a folder of its own, on a branch if you name one, and each session’s Git view shows what it changed. See Git and Files.

A session’s agent can message your other sessions, whatever their agent: ask your Claude Code session to have the Codex session run its tests, and the answer comes back the same way. See Sessions messaging each other.

  • Its settings, MCP servers, skills, plugins, hooks and instruction files (CLAUDE.md, AGENTS.md or GEMINI.md) are used as they are, a plugin with all of its parts. See Configuration for how each agent takes them, and Known limits for what Moontors can’t switch or hasn’t tested. Moontors adds one MCP server of its own, moontors, which /mcp lists from Moontors.
  • Its own slash commands work in its sessions, beside Moontors’ own. Each agent’s commands reference says which do what: Claude Code, Codex, Gemini CLI, Grok Build and OpenCode.
  • Its account’s usage and limits are its own.

Can the five agents work on the same repository at once?

Section titled “Can the five agents work on the same repository at once?”

Yes. Give each session its own worktree when their tasks might touch the same files, and each agent works in a folder of its own.

Yes, or with a cloud that runs it, but for OpenCode’s free models, which need none. Each agent signs in with its own vendor: a Claude plan, the Anthropic Console or an Anthropic API key, a ChatGPT plan or an OpenAI API key, a Gemini API key or, where Google still allows it, an organization account’s browser sign-in, a grok.com account or an xAI API key, and for OpenCode, the model provider you use it with. Or through Amazon Bedrock for Claude Code and Codex, Google Cloud’s Vertex AI for Claude Code, Codex and Gemini CLI, or Microsoft Foundry for Claude Code. Moontors itself needs no account. See Signing in.

Can every agent do the same things in Moontors?

Section titled “Can every agent do the same things in Moontors?”

Not quite. Some commands work with some agents only, and Gemini CLI, Grok Build and OpenCode do less than Claude Code and Codex in Moontors; Known limits lists each.