---
title: "Devin Outposts on Modal"
description: "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."
---

# Devin Outposts on Modal

[Modal](https://yomu.fyi/company/modal) · Jul 21, 2026

**Type:** Announcement

## 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.

**Tags:** [AI Agents](https://yomu.fyi/topic/ai-agents), [Deployment](https://yomu.fyi/topic/deployment), [Modal](https://yomu.fyi/topic/modal), [Open Source](https://yomu.fyi/topic/open-source), [Sandbox](https://yomu.fyi/topic/sandbox)

- Source: [Modal](https://modal.com/blog/devin-outposts-run-devin-in-modal-sandoxes)
- Source URL: https://modal.com/blog/devin-outposts-run-devin-in-modal-sandoxes
- Ingested by Yomu: 2026-09-20T07:47:13.806Z

[Read original post](https://modal.com/blog/devin-outposts-run-devin-in-modal-sandoxes)
