ModalAnnouncement
Devin Outposts on Modal
Summary
Devin, an AI software engineer by Cognition, plans, writes, tests, and ships code semi-autonomously. Cognition now extends Devin with Outposts, moving execution into user-controlled environments while reasoning stays in Cognition’s cloud. Modal is a launch partner with modal-devin, an open-source integration running Outpost sessions in Modal Sandboxes with pre-built custom images, fast cold-starts, snapshotting, and cost-efficient bursting. For example, a task that requires a GPU fails immediately in the default sandbox but succeeds on a Modal-backed Outpost that spins up a GPU on demand and scales to zero when done. One command, uvx modal-devin init, sets up secure infrastructure with a scheduler and worker functions, and each team can have its own outpost with separate credentials.
Context
Devin’s default environment handles most software engineering tasks but lacks specialized hardware like GPUs. Devin Outposts extends this by letting execution run in user-controlled environments while reasoning remains in Cognition’s cloud. Modal’s integration provides an open-source way to run Outpost sessions in Modal Sandboxes.
Approach / What changed
modal-devin uses a queue to connect Devin Cloud to user-operated machines. It consists of a Modal application with an orchestrator function that watches the outpost for queued sessions and starts an isolated Modal Sandbox as a worker for each session. Users set it up with a single command, uvx modal-devin init, which generates scheduler and session functions that can be customized.
Takeaways
Devin Outposts moves execution to user-controlled environments while reasoning stays in Cognition’s cloud, enabling tasks like GPU-dependent serving configuration that fail in the default sandbox.
modal-devin provides custom images, fast cold-starts, snapshotting for session resumption without re-cloning or reinstalling, and cost-efficient bursting with million-sandbox scale.
Each team or environment can have its own outpost with separate credentials and no visibility into other teams’ secrets, set up with the single command uvx modal-devin init.
FAQ
What is Devin Outposts?
Devin Outposts is a feature that moves Devin's code execution to environments users control while reasoning remains in Cognition's cloud. It handles tasks requiring specialized hardware like GPUs that the default environment cannot support.
How does modal-devin work?
modal-devin implements the execution side as a Modal application. An orchestrator function watches an outpost queue for scheduled sessions and starts an isolated Modal Sandbox worker per session. It also snapshots the workspace for quick resume.
What are the prerequisites for modal-devin?
You need uv, Python 3.11+, a Modal account, and a Devin organization with Outposts enabled. The setup is done with uvx modal-devin init.
Source and freshness
- Source
- modal.com
- Published
- Added to Yomu
Summaries are generated from the original by a language model. Check the original before relying on it.
Keep reading
Related reading
The Good Stuff
Paid picks we use ourselves. Links carry a referral code — a subscription through one earns us a commission at no extra cost to you.
The best engineering reads, once a week
One useful email. Unsubscribe anytime.