Cognition launched Devin Outposts on July 21, 2026, enabling its AI software engineer, Devin, to execute code within user-controlled environments like Modal Sandboxes. This extends Devin's capabilities beyond its default cloud, allowing for custom toolchains and GPU access, according to the Modal Blog.
Cognition's Devin functions as an AI software engineer, capable of planning, writing, testing, and shipping code. The specific environment an engineer uses often depends on the task at hand.
Devin's default cloud-based environment handles general software engineering tasks. However, complex operations, such as optimizing large language models, frequently demand specialized hardware. Devin Outposts, powered by Modal, offer this critical flexibility.
How Does Modal Enhance Devin's Capabilities?
Modal significantly enhances Devin's capabilities by providing on-demand access to specialized execution environments, including those with powerful GPUs, for tasks Devin's default setup cannot manage. This integration enables Devin to run intensive workloads, access custom toolchains, and seamlessly resume work from previously snapshotted states, as detailed by the Modal Blog.Modal's Sandboxes provide fast cold-starts and robust custom image support. This allows Devin to spin up a GPU-backed environment for tasks like optimizing large language models. The system automatically scales back to zero after the session, significantly optimizing cost efficiency.
The `modal-devin` open-source integration acts as the execution layer for Devin Outposts. It connects Devin's cloud-based reasoning with user-operated machines. This allows Devin to leverage existing developer toolchains, including pre-installed dependencies and internal registries. This aligns with trends in AI agent development, as seen in projects like Orchestra Research's AI-Research-SKILLs.
Implementing Devin Outposts with Modal
Implementing Devin Outposts with Modal uses the `modal-devin` open-source library and CLI, which simplifies setting up secure, isolated execution environments. It automates queue watching, credential handling, and lifecycle management, allowing development teams to quickly configure GPU-enabled or custom-tooled sandboxes for specific engineering tasks.The `modal-devin` library handles the complex infrastructure setup for agent execution. A single command, `uvx modal-devin init`, deploys the necessary components. These include a scheduler function that monitors for queued sessions. A session function then executes Devin's tasks within an isolated Modal Sandbox.
This setup ensures Devin sessions are ephemeral, launching on demand and stopping when complete. The system can snapshot an entire workspace, including files and installed tools. This allows Devin to pick up exactly where it left off in suspended sessions.
Feature | Devin's Default Environment | Modal-backed Outpost (with modal-devin) |
|---|---|---|
Hardware Access | General compute | GPUs (e.g., H100), custom compute |
Custom Toolchains | Managed by Cognition | User-defined, pre-installed |
Cold Start Time | Standard | Fast |
Cost Efficiency | Continuous | Scales to zero when idle |
Persistence | Standard | Workspace snapshotting |








