Documentation Index
Fetch the complete documentation index at: https://cli.devin.ai/docs/llms.txt
Use this file to discover all available pages before exploring further.
Starting Devin for Terminal
By default, sessions happen in a REPL, a graphical terminal interface where you can chat back and forth and observe Devin’s actions.Use
-- before your prompt so it is interpreted as a prompt and not a subcommand.Type
@ in the prompt input to open autocomplete for local files/directories. Selecting one adds it as context for your message.Modes
Devin for Terminal has 4 built-in permission modes: Normal, Accept Edits, Bypass, and Autonomous, and 3 agent-modes: Normal, Plan, and Ask. For plan and ask, use/plan and /ask.
Normal
Normal
Auto-approves read-only tools within the current directory, and asks for permission for write/execute operations.This is the default mode.
Accept Edits
Accept Edits
Auto-approves file edits within the workspace while still prompting for shell commands and other actions. We expect people to spend most of their time here.
Bypass
Bypass
/yolo, /dangerousBypass mode never overrides organization-level permissions configured by your admin via Team Settings. Admin-enforced deny and ask rules always take priority.
Autonomous
Autonomous
Roughly equivalent to Accept Edits in the current workspace, with the additional ability to run any shell command within an OS-level sandbox (to contain what those commands can actually touch).Autonomous is the only permission mode available when running with
--sandbox, and it is selected automatically — Normal, Accept Edits, and Bypass are hidden in sandbox sessions.In Autonomous mode…- You are prompted for capabilities rather than commands.
- Commands respect the
WriteandReadscopes via a filesystem sandbox. - Commands prompt you when they try to connect to network resources.
- Commands respect the
- Read-only operations within the current directory auto-approve.
Autonomous relies on the sandbox for safety. Without
--sandbox, the mode is unavailable — use Bypass if you want unattended execution without OS-level isolation. See Bypass vs Autonomous below for a direct comparison.Bypass vs Autonomous
Bypass and Autonomous both reduce approval prompts, but they rely on different safety mechanisms:| Bypass | Autonomous | |
|---|---|---|
Requires --sandbox | No | Yes (only available in sandbox sessions) |
| Shell commands | Auto-approved, unrestricted | Auto-approved, contained by the sandbox |
File writes via edit/write tools | Auto-approved anywhere | Still prompt (granting a scope expands the sandbox) |
| Network access | Unrestricted | Filtered by the sandbox’s domain allow/deny lists |
| Respects admin Team Settings | Yes | Yes |
--sandbox (which selects Autonomous) when you want unattended execution with OS-enforced limits on what files and domains the agent can touch. If you like the feel of bypass but want the agent to have its own computer, try cloud Devin!
Session History
Your conversation history is saved so you can resume a session later.Slash Commands
You can use these commands while in an active session.Navigation & Control
| Command | Description |
|---|---|
/help | See all available commands |
/exit or /quit | Exit the application |
/clear or /new | Clear conversation history (start fresh) |
Mode Switching
| Command | Description |
|---|---|
/mode | Show current mode |
/mode <name> | Switch mode (normal, accept-edits, plan, bypass; autonomous in sandbox sessions) |
/normal | Switch to Normal mode (default) |
/plan | Switch to Plan mode |
/ask <question> | Ask a question without making code changes (oneshot) |
/bypass | Switch to Bypass mode (aliases: /yolo, /dangerous) |
Model Switching
| Command | Description |
|---|---|
/model | Show model selector |
Session Management
| Command | Description |
|---|---|
/resume | Open the interactive session picker |
/resume <id> | Resume session by ID |
/ls | List recent sessions in current directory (alias: /list-sessions) |
/ls --all | List all sessions across all directories |
/continue | Resume most recent session |
/continue <id> | Resume session by ID |
/rm-session <id> | Irreversibly delete a session by ID |
Workspace
| Command | Description |
|---|---|
/workspace | List workspace directories (alias: /workspaces) |
/add-dir <path> | Add additional workspace directory |
/undo-add-dir <path> | Remove a workspace directory |
Automation
| Command | Description |
|---|---|
/loop <prompt> | Run a prompt then auto-review the diff in a loop (requires clean git state to start) |
Extensibility
| Command | Description |
|---|---|
/hooks | List all loaded hooks with their IDs, event types, and source paths |
Account & System
| Command | Description |
|---|---|
/login | Authenticate with Devin |
/logout | Clear stored credentials and exit |
/update | Check for and install updates |
/upgrade | Upgrade your subscription plan |
/bug | Report a bug to the Devin for Terminal developers |
/compact | Force conversation compaction |
Keyboard Shortcuts
Here are the most important keyboard shortcuts. See Keyboard Shortcuts for more shortcuts.| Shortcut | Description |
|---|---|
Shift+Tab | Cycle between modes (Normal, Accept Edits, Plan, Bypass, Autonomous) |
Ctrl+C | Clear input text, or cancel the running agent |
Esc | Cancel the running agent |
Shift+Enter | Insert a newline (multi-line input) |
Ctrl+V or Shift+Insert | Paste from clipboard |
Ctrl+G | Open external editor |
Ctrl+O | Open full-screen thinking trace viewer |
@ | Mention files to add as context |

