Devin CLI now runs in Statefold
Connect your Devin CLI sign-in and run Devin in a Statefold thread: its own sandbox, your account's models, GitHub wake-ups and delegation to Codex, Claude Code and the other harnesses.

Last updated: December 2026
Short answer: Sign in to the Devin CLI on your computer with devin auth login, then run statefold connect devin. Statefold adds Devin as a connection. Choose it when you start a thread and Devin runs there with the models your Devin account offers.
What changed
Statefold runs coding agents you already use, each in its own isolated sandbox. Until now that meant Codex, Claude Code, OpenCode, Pi and Gemini CLI. Devin CLI is the sixth harness.
A Devin thread works like any other Statefold thread:
- It gets its own sandbox with your repository, a terminal and a browser preview.
- It keeps its history, so you can leave and pick it up from your phone.
- Subscriptions to CI checks, reviews and comments wake the same thread when something changes on GitHub.
- It can delegate to child threads on other harnesses, and other harnesses can delegate to it. A Codex thread can hand a fix to Devin and carry on with the result.
How to connect
- Install the Devin CLI on your computer and run
devin auth login. - Install the Statefold CLI and sign in with
statefold login. - Run
statefold connect devin. - In Statefold, open the Connections dialog and select Check connection on Devin.
The model picker then lists your Devin account's models, grouped by who makes them: Cognition's SWE models first, then the OpenAI and Google models your plan includes.
How your Devin credential is handled
statefold connect devin reads the CLI sign-in already on your computer and sends it to Statefold once over HTTPS. It is stored with your other harness credentials and never enters the sandbox. The container sees only a placeholder. Statefold swaps in the real key on the way out, and only for Devin's own API.
Model usage bills your Devin account directly. Statefold does not mark up tokens. You pay Statefold for machine time, per second.
Devin CLI and hosted Devin
Cognition also offers hosted Devin sessions with their own workspace and GitHub integration. Statefold runs the Devin CLI instead, so a Devin thread shares one workspace model with the rest of your harnesses. Statefold vs Devin covers when each one fits.
Limits today
- Only Devin's default server is supported. A CLI sign-in on another Devin server is refused with a clear message.
- Forking a Devin thread from an earlier turn is not available yet.