- From the Devin CLI — the built-in
/handoffcommand, no setup required. - From any other coding agent — Claude Code, Codex, Cursor, and more, through the Devin API.
When to hand off
Hand a task off when it needs more than your local machine, or when you want it to run in the background:- VM or server — running a dev server, hitting endpoints, Docker builds
- Browser — screenshots, OAuth flows, end-to-end tests, scraping
- CI/CD — pipeline debugging, deployments, infrastructure changes
- Long-running work — migrations, batch jobs, large refactors
- Parallel execution — offload work to the cloud while you keep coding locally
From the Devin CLI
The Devin CLI is a local coding agent that runs in your terminal. It has a built-in/handoff command — nothing to install.
From other coding agents
Any coding agent — Claude Code, Codex, Cursor, and more — can hand off through the Devin API.- Create an API key in Settings > Devin API and export it as
DEVIN_API_KEY, with your organization ID asDEVIN_ORG_ID. - Ask your agent to create a Devin session from the current one:
Related resources
Devin CLI
The local coding agent with the built-in
/handoff commandDevin API
The Sessions API that powers the handoff
Devin MCP
Manage sessions, playbooks, and knowledge from any MCP client

