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, 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.
/handoff fix the flaky integration tests in CI
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

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 as DEVIN_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 remote and git 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.

Devin CLI

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

Devin 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