Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@
"docs/agents/amp",
"docs/agents/claude-code",
"docs/agents/codex",
"docs/agents/devin",
"docs/agents/openai-agents-sdk",
{
"group": "OpenClaw",
Expand Down
46 changes: 46 additions & 0 deletions docs/agents/devin.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
---
title: "Devin"
description: "Run Devin for Terminal in a secure E2B sandbox."
icon: "/images/icons/devin.svg"
---

[Devin for Terminal](https://devin.ai/terminal) is Cognition's coding agent for working directly from a terminal. You can install it in an E2B sandbox and use the sandbox as an isolated workspace for agent tasks.

## Installation

Use a PTY for install and login because Devin's setup is interactive. You can create a Devin account during sign up if you don't have one.

```bash
e2b sandbox create base

###
# Inside the sandbox
###
curl -fsSL https://cli.devin.ai/install.sh | bash

source /home/user/.bashrc
```

## Usage

After installation and login, use `devin -p` for non-interactive mode and `--permission-mode dangerous` to auto-approve tool calls.

```bash
mkdir -p /home/user/project
cd /home/user/project

devin --permission-mode dangerous -p "Create a hello world HTTP server in Go"
```

## Example: work on a cloned repository

After installing Devin for Terminal and signing in, clone a repository and run Devin from the project directory.

```bash
git clone https://github.com/your-org/your-repo.git /home/user/repo
cd /home/user/repo

devin --permission-mode dangerous -p "Add error handling to all API endpoints"
```

Devin can edit files, run commands, and work on code inside the sandbox without accessing your local machine.
4 changes: 4 additions & 0 deletions images/icons/devin.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading