DocumentationCommand input

Terminal

Command input

1 min read Dragent guide

The input bar handles both shell commands and natural-language requests, and decides — per keystroke — which you mean, showing a shell / agent chip. Force a mode by clicking the chip, typing /shell or /agent, or turn autodetection off in Settings.

  • Syntax highlighting and multi-line editing (Shift+Enter for a newline; optional Vim keys).
  • Ghost-text autosuggestions from history, cd paths, package.json scripts, Makefile targets, git branches, and a command database — accept with →.
  • Path completion with Tab, and @-mentions to point the agent at a file.
  • History — ↑/↓ open a preview popover (prefix-filtered), and ⌘R opens fuzzy history search.

The "!" scratch shell

While an AI CLI (like Claude Code) owns the terminal, type ! then a command (e.g. !git status) to run it in a persistent, per-pane scratch shell shown as a resizable card — with live output, its own history, and Stop / Reset controls.