- From the Devin CLI — the built-in
/handoffcommand, no setup required. - From any other coding agent — Claude Code, Codex, Cursor, and more, using the open-source Devin Handoff plugin.
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
Devin Handoff is an open-source plugin and skill that brings the same handoff workflow to any coding agent — Claude Code, Codex, Cursor, and more. Install it once, then just say “hand this off to Devin” and your agent gathers the current repo, branch, and uncommitted changes, creates a session, and hands you back a URL. You’ll need a Devin API key — generate one on the API keys page and export it asDEVIN_API_KEY. For install and usage instructions across every agent, follow the repository README, which stays current as the plugin evolves.
How context reaches the cloud session
A cloud session starts in a fresh VM, so the skill packages up what your local agent already knows and includes it in the session prompt:- Repo and branch — detected from
git remoteandgit rev-parse, so Devin clones the right repo and checks out the branch you’re on. - Uncommitted changes — the output of
git diff HEAD(truncated to 100KB) is included, so your work-in-progress carries over. If you have local edits you don’t want sent, commit or stash them first. - Extra context — whatever the calling agent has learned so far: files it examined, root-cause hypotheses, partial fixes.
Related resources
Devin CLI
The local coding agent with the built-in
/handoff commandDevin Handoff on GitHub
Source, install guides, and the full script reference
Devin API
The Sessions API that powers the handoff
Devin MCP
Manage sessions, playbooks, and knowledge from any MCP client
