Learning resourcesReviewed · E2B

Run Devin for Terminal in E2B

This E2B documentation page shows developers how to run Devin for Terminal, Cognition's AI coding agent for the command line, inside an isolated E2B sandbox using a prebuilt template. Outbound internet access stays enabled by default, including when tool calls are auto-approved, unless network rules restrict it. It covers the prebuilt devin template, interactive login and prompt-driven coding tasks.

Researched 14 Nov 2026

In short.

This E2B documentation page shows developers how to run Devin for Terminal, Cognition's AI coding agent for the command line, inside an isolated E2B sandbox using a prebuilt template. Outbound internet access stays enabled by default, including when tool calls are auto-approved, unless network rules restrict it. It documents sandbox creation, interactive authentication and non-interactive coding tasks using a preinstalled agent. The network notice explains hostname and IP-based restrictions. Prices, software versions, licensing terms and execution results are not supplied, so cost, compatibility and practical reliability remain unknown.

Researched and written by an AI model and checked by a second AI model. How it works

Covers the complete documentation page at [https://docs.e2b.dev/agents/devin.md], including its commands, repository example and notice about automatic tool approval, default internet access and protocol-specific network restrictions. Linked documentation, the documentation index, product pages and repository contents are excluded. Related links are described only to the extent stated on this page. No commands were executed, and live behavior, compatibility, security effectiveness and task outcomes were not assessed.

The overview

Identity

The resource is E2B's setup guide for Devin for Terminal, Cognition's terminal-based coding agent. E2B supplies a prebuilt template named devin with the agent already installed. The guide is available at [https://docs.e2b.dev/agents/devin.md].

Its scope is the terminal agent running inside an E2B sandbox. It separately points readers to Devin Outposts for Devin cloud sessions.

Assessment

The guide provides a concrete starting sequence and two coding-task examples. Its most useful detail is the distinction between sandbox isolation and outbound network access: automatic approval does not disable internet connectivity.

It supports understanding the documented setup, but supplies no results demonstrating code quality, task completion, reliability or security effectiveness. Those outcomes are not assessed.

Users

The guide suits developers who want a terminal coding agent to work in a separate execution environment, including on a cloned repository. Familiarity with shell commands, directories and Git will help readers follow the examples.

Beginners receive a short command sequence, but installation of the E2B command-line tool and a complete account setup walkthrough are not included. Engineers planning unattended operation will need authentication and lifecycle details beyond this page.

Capabilities

The page describes Devin editing files, running commands and working on code inside the sandbox. After sign-in, the -p option supplies a task in non-interactive mode, while --permission-mode dangerous automatically approves tool calls.

Examples request a Go HTTP server and error handling across API endpoints in a cloned repository. These demonstrate intended task types; no resulting code or successful completion is shown.

Using it

Requirements

The documented flow uses the E2B command-line tool and requires interactive Devin sign-in before non-interactive task submission. The page says users can create a Devin account during signup. Devin itself is already installed in the template.

Repository work requires access to the repository being cloned. Required software versions, E2B authentication configuration, private-repository credentials, resource limits and authentication for a fresh unattended session are not specified.

Mechanism

E2B creates a sandbox from the devin template, and Devin executes coding tasks against files inside that environment. The page describes the sandbox as preventing the agent from accessing the host machine, local files and credentials. This is a documented isolation claim, not an independently verified result.

Tool approval and network access are separate controls. Automatically approving commands leaves outbound internet available unless network settings restrict it.

Setup

The documented sequence starts with e2b sbx create devin. Once inside the sandbox, run devin and follow the interactive login flow.

After signing in, create or enter a project directory and submit a task with devin -p. Add --permission-mode dangerous only when automatic tool approval is intended. The page links to outbound network configuration at [https://docs.e2b.dev/network/internet-access.md], but does not provide a complete configuration example.

Example

The first example creates /home/user/project, changes into that directory and submits devin --permission-mode dangerous -p "Create a hello world HTTP server in Go".

The repository example clones the placeholder repository address [https://github.com/your-org/your-repo.git] into /home/user/repo, enters that directory and requests "Add error handling to all API endpoints" with the same approval and prompt options. The repository address is a placeholder. Neither example includes generated files, command output or validation results.

Assessment & evidence

Limitations

Outbound internet is enabled by default. The page names allowInternetAccess and allow/deny lists using hostnames or CIDR ranges, which describe groups of IP addresses. Hostname restrictions apply only to HTTP(S); other protocols require CIDR rules.

The guide does not establish how credentials supplied inside the sandbox are handled, how long files persist, how outputs are retrieved or what data is retained. Host isolation alone does not answer those questions.

Fit and tradeoffs

The preinstalled template removes a manual Devin installation step from the documented sequence. Running the agent in a separate workspace is useful when developers want its file edits and command execution isolated from their local working directory.

Non-interactive prompts suggest a route to repeated task submission, but the initial interactive login leaves unattended provisioning unexplained. The documented tradeoff is convenient automatic tool approval alongside a separate need to control network destinations. These are implications of the setup, not measured productivity gains.

Alternatives

The page identifies Devin Outposts as the related route for running Devin cloud sessions in isolated E2B sandboxes [https://docs.e2b.dev/agents/devin-outposts.md]. It does not describe that route's setup, costs or operational differences.

No competing coding agents are compared, so this page does not establish which product or deployment route is preferable.

Evidence

E2B's documentation at [https://docs.e2b.dev/agents/devin.md] supplies the template name, sandbox creation command, login sequence, task examples and network notice.

The page describes intended behavior without execution transcripts, generated artifacts, benchmarks or independent security findings. Nothing was executed for this report; the commands and isolation behavior remain documented claims.

Access & freshness

Costs

The page gives no Devin or E2B prices, billing units, included allowances or trial conditions. Whether a particular subscription is required is unknown.

The total cost of creating a sandbox and completing either example cannot be calculated from this evidence.

Rights

The page states no license or redistribution permission for the documentation, Devin software or E2B template. Commercial-use terms and rights relating to generated code are not established here.

An account signup path is described, but the applicable service terms are not included.

Freshness

The supplied page was captured on 14 November 2026. It states no publication date, last-update date or version for Devin, the E2B command-line tool or the devin template.

The capture date identifies when this text was obtained; it does not establish compatibility with any particular installed release or later service behavior.

Next steps

Before adopting the setup, confirm current authentication requirements, compatible versions, prices and service terms for both Devin and E2B. For unattended use, establish how a new sandbox receives authentication and how its outputs are retained.

Before enabling automatic tool approval, determine which network destinations the task requires and configure outbound access accordingly. Review generated changes and command output before adopting them; the guide provides no validated output to rely on.

Evidence for this report

selected-page.txtselected · checked 2026-11-14