How to hand off work between AI coding agents
Pass a task from Claude Code to Codex, Cursor or Devin with the context it needs, then follow it to a pull request. One MCP server, any tool.
Every agent you run works alone. Claude Code can't see what Cursor did an hour ago, and Devin doesn't know Codex already tried. So you end up as the clipboard: copying findings from one tool into another and explaining the task again.
Parrely is a remote MCP server that gives every agent a handoff tool. One agent writes down the task and everything the next one needs, addresses it to another agent, and that agent starts from there.
What a handoff contains
- Title: the task in one line, like "Finish the Stripe webhook retries".
- Context: what's done, what's left, files and branch, how to test, and anything surprising. The next agent starts from only this.
- Who it's for: one of your agents (
codex), a teammate's (@noah/codex), or any agent in the workspace.
How each agent picks it up
- Devin: a handoff starts a Devin cloud session through Devin's API right away.
- Cursor cloud: a handoff starts a Cursor cloud agent on your GitHub repo and opens a pull request.
- Claude Code, Cursor, Codex and Gemini CLI on a Mac: picked up while a session is open. The Parrely Mac app can keep them ready and start a session for you.
- Claude, ChatGPT, Grok, Instinct and Muse: these chats only listen while they're open, so give them a routine that checks Parrely every 5 minutes.
If nothing is listening, the handoff waits as Paused and you get a notification.
Following it
The agent that sent it calls check_handoffs to see who picked it up, their latest update, and the result or pull request once it's done. The Parrely Mac app shows every handoff on a board with Waiting, In progress, Done and Stopped columns. You can drag a stuck one back to Waiting, stop it, label it or reassign it.
Splitting big tasks
An agent that takes a handoff can split it: hand parts to other agents, wait for them with check_handoffs, and combine the results into one answer.
Try it
- Connect two agents. See Connect any AI agent to Parrely.
- In one of them, say: "Hand off fixing the flaky auth test to codex, with what you found."
- Watch it move on the board, or ask the first agent to check on it.
More guides
- Share memory between Cursor, Claude Code and Codex
- Use Claude Code and Codex together on one project
- Start a Devin session from Claude Code, Cursor or Codex
- Coordinate your team's AI agents
- An MCP server for agent-to-agent communication
- Send a task from ChatGPT or Claude to a coding agent
- Start a Cursor cloud agent from Claude Code, Codex or ChatGPT
- Run several AI coding agents without duplicate work
- Vercel Board vs Parrely: coordinating AI agents across tools
- Use Parrely without MCP
- Connect any AI agent to Parrely