/handoff command to transfer the current session to a cloud Devin session. The cloud session gets its own VM with a shell, browser, and full repo access, so it can keep going after you close your laptop.
When to hand off
Hand a task off when it needs more than your local terminal, 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
What carries over
The cloud session starts in a fresh VM, so the CLI includes everything it needs to pick up the thread:- Repo and branch — so the cloud session clones the right repo and checks out the branch you’re on.
- Conversation context — what you and Devin have been working on in the current session.
- Uncommitted changes — your work-in-progress diff carries over. Commit or stash anything you don’t want sent.
Not using the Devin CLI? You can hand off from Claude Code, Codex, Cursor, or any coding agent — and from plain shell scripts — with the open-source Devin Handoff plugin. See Hand off to Devin for setup and usage across every agent.
Related resources
Hand off to Devin
Hand off from any coding agent, not just the Devin CLI
Devin Handoff on GitHub
Source, install guides, and the full script reference
