Documentation Index
Fetch the complete documentation index at: https://docs.openhands.dev/llms.txt
Use this file to discover all available pages before exploring further.
Overview
The Command Line Interface (CLI) is the default mode when you runopenhands. It provides a rich, interactive experience directly in your terminal.
Features
- Real-time interaction: Type natural language tasks and receive instant feedback
- Live status monitoring: Watch the agent’s progress as it works
- Command palette: Press
Ctrl+Pto access settings, MCP status, and more
Command Palette
PressCtrl+P to open the command palette, then select from the dropdown options:
| Option | Description |
|---|---|
| Settings | Open the settings configuration menu |
| MCP | View MCP server status |
Controls
| Control | Action |
|---|---|
Ctrl+P | Open command palette |
Esc | Pause the running agent |
Ctrl+Q or /exit | Exit the CLI |
Starting with a Task
Start a conversation with an initial task:Confirmation Modes
Control how the agent requests approval for actions:Resuming Conversations
Resume previous conversations:Tips
See Also
- Quick Start - Get started with the CLI
- MCP Servers - Configure MCP servers
- Headless Mode - Run without UI for automation

