Use casesUpdated

Can Claude Code and Codex agents talk to each other in Canopy?

Tell Canopy's cross-CLI messages apart from Claude's native agent teams, pick teammate models, and test a two-session handoff before relying on it.

On this page

Yes, through addressed messages, but they don't share a mind. Canopy offers direct agent messages, shared project context and file claims. Each CLI still keeps its own conversation, model, permissions and account. Test delivery in your release and make every handoff explicit.

Canopy agent messages panel showing one terminal session messaging another
Canopy agent messages panel showing one terminal session messaging another

Agents talking means three different things

A direct message is a short, addressed note from one session to another. Shared context is project evidence, such as work, decisions or files, offered to a compatible agent; it isn't a chat transcript. A native agent team is orchestration inside one provider's CLI: Claude Code's teams have a lead, a shared task list and teammate messages. Claude's team state doesn't appear in Codex, and a Canopy message doesn't hand over the sender's context window.

Pick the simplest mechanism that carries the evidence you need.
MechanismUseful forWhat it does not guarantee
Canopy direct messageA specific request, finding or handoff between sessionsA merged CLI conversation or completed task
Canopy shared project contextRecent project work and decisions for compatible integrationsIdentical context injection for every CLI
Branch, PR or task briefDurable code and acceptance evidence another agent can inspectUnderstanding without reading
Claude Code agent teamClaude teammates coordinating inside Claude CodeCross-provider Claude-to-Codex team membership

A Claude team can mix Claude models

Claude Code's agent teams are experimental and off by default. The lead spawns teammates that share a task list and message each other. Each has its own context window and loads project instructions, MCP servers and skills, but not the lead's conversation. You can name a model per teammate; Claude checks it against your organization's allowed models and may substitute one.

Two Canopy tabs don't make a Claude team, and a Codex session can't join one. For mixed Claude and Codex work, use a Canopy or repository handoff.

An example to test, not a promise that a model is available on every plan.
TaskClaude-native teamMixed CLI project
Read-only first passAsk a teammate to use a lighter Claude model and report file-backed findingsGive one CLI a bounded read-only task and save its evidence
Difficult implementationName a stronger permitted model for a teammate and limit its edit scopeChoose the model inside the owning CLI; give it a branch or worktree
Independent reviewGive another teammate a separate review lens and ask it to challenge the changeHand the PR, commit and acceptance checks to a second CLI session
IntegrationLead combines results; a person verifies code and behaviorA person reviews the combined diff, tests and running result

More teammates means more tokens

Anthropic says agent teams use significantly more tokens than one session, since each teammate carries its own context. It recommends them for independent research, review and new modules, not same-file work. A cheap first pass only helps if it doesn't miss findings or add rework. Record actual models and usage, and compare attempts, review time and the accepted change. Canopy's usage view may show estimates; the provider account is the authority. Messaging across CLI accounts doesn't pool limits.

  • Use one agent when the task is sequential or needs a short answer.
  • Add an independent reviewer when risk justifies a second context window.
  • Stop a session once its output no longer changes the decision.

Check which CLI receives shared context

Canopy's August 2026 audit records shared-context receipt for Claude Code and Codex, not every CLI. Session digests and resume vary too. Start two small sessions and confirm the recipient sees a message before you rely on it. A sent bubble doesn't prove delivery.

Send a request the recipient can answer

Give the implementer one bounded change in its own worktree. Once the diff is ready, message the reviewer with the branch or PR, acceptance checks and one concrete question, such as whether a retry path keeps the old behavior. Ask for evidence from the code or running app. If messaging isn't available for that CLI, put the handoff in a task brief or PR comment instead.

Keep ownership and cost visible

Let one session implement and another review read-only. Messages aren't file locks or merge approval, so check the final diff and branch yourself. More active agents, including Claude teammates, use more tokens. Judge by accepted work, retries and review time, not message count.

Run a ten-minute delivery test

In a throwaway repository, launch Claude Code and Codex in separate worktrees. Have the first send the second a one-sentence request about one file. In the second, confirm the text and branch, then reply with a file-backed answer. Check the messages panel, branches and files, and note versions. If either side can't receive or act on it, use a written handoff.

Copyable resources

Agent-to-agent review handoff

Send only after the implementation branch has a reviewable diff.

To: [recipient session and CLI]
From: [sender session and CLI]
Project and branch/PR: [ ]
Goal and acceptance checks: [ ]
Ready for review: [files or commit]
Question: [one specific behavior or risk]
Confirm the branch, inspect the cited evidence, and reply with a reproducible finding or 'no finding in the checked scope.' Don't edit or post a review comment until a person approves the next step.

Frequently asked questions

Does a Canopy message copy one CLI's private chat history into another?

No. It's an addressed handoff. Each CLI owns its conversation; send the branch, task and evidence the recipient needs.

Are Canopy messages the same as Claude Code agent teams?

No. Claude's agent teams coordinate Claude Code instances through a lead, shared tasks and messaging. Canopy coordinates across CLI sessions at the workspace level.

Can I assign a lighter Claude model to research and a stronger one to implementation?

Yes, within a Claude agent team you can name a model per teammate, subject to your organization's allowed models. Check which model was used and compare accepted results, not token rates.

Does a second Canopy tab create a Claude agent team?

No. A tab is a terminal view. Start Claude's native team inside Claude Code if you want one; a Codex session stays a separate provider session.

Can every CLI receive the same shared context?

No. The August 2026 parity audit lists shared-context receipt for Claude Code and Codex, with different support elsewhere. Test your installed versions.

More questions and answers →

Sources and further reading