Skip to main content
Hand a task off to a cloud Devin session and keep working locally. 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. There are two ways to hand off:
  • From the Devin CLI — the built-in /handoff command, 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
For the opposite direction, where a cloud session needs a file or command on your computer, see Local Hands.

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.
Devin CLI packages up the conversation context and current git branch, then creates a cloud Devin session that picks up where you left off. Track the session’s progress from your terminal or in the Devin web app.
Run /handoff without a task description and the cloud session continues from where you left off automatically.

From other coding agents

Any coding agent — Claude Code, Codex, Cursor, and more — can hand off through the Devin API.
  1. Create an API key in Settings > Devin API and export it as DEVIN_API_KEY, with your organization ID as DEVIN_ORG_ID.
  2. Ask your agent to create a Devin session from the current one:

Devin CLI

The local coding agent with the built-in /handoff command

Devin API

The Sessions API that powers the handoff

Devin MCP

Manage sessions, playbooks, and knowledge from any MCP client