Skip to content
Local OperatorDocs

The terminal UI

lop opens a full-screen Textual app, not a REPL. Everything the agent does shows up as a card or a one-line receipt: tool cards expand to show the full command and output, and the status line tracks the current step, token usage and cost.

#

Launch

bash
lop

That is the whole command. If no provider is configured, the welcome state walks you through /login; a headless or piped run prints the exact commands to configure hosting, model and a key instead.

The welcome screen: the local operator mark, the version and working directory, and a composer ready for a first prompt
The launch state — the composer takes a first prompt; `/` opens the command picker.
#

The screen

  • Transcript — streamed responses, expandable tool cards, and one-line receipts for every action.
  • Composer — where you type. While the agent works, your message is delivered at the next step as steering.
  • Status line — current step, token usage, and cost.
  • Approval prompts — when a tool needs sign-off, the prompt shows the exact command before anything touches your system.
An approval prompt showing the exact command about to run, with Allow, Deny and Allow all options
An approval prompt — the exact command first, then allow once, deny, or allow for the session.
#

Keys worth knowing

KeyDoes
escStop the agent without ending the session
enter / spaceExpand or collapse a tool card
ctrl+b or /sidebarShow or hide the conversation sidebar (f9 focuses it)
shift+tabCycle reasoning effort
f8Open an aside — a side question that never joins the conversation
ctrl+lClear the transcript (history is untouched)
ctrl+t / ctrl+gExpand the todo list · cycle the subagent panel
$ aloneOpen the skill picker ($research the payments rewrite runs one)
#

Slash commands that matter

/help shows the full table in-app. The highlights:

  • /model — switch model for this session; /model default saves the current one for new conversations.
  • /resume — pick a past conversation and continue it.
  • /theme — 20+ built-in themes, with live preview as you move.
  • /usage and /context — provider quota and spend; what is occupying the context window.
  • /approvals — set whether tools ask first (ask/auto).
  • /update — install the latest version from PyPI and relaunch.
  • /team, /skills, /mcp — launch a saved team; list loaded skills; list MCP servers.
The slash-command picker open in the composer, filtering a list of commands
Type `/` to filter the command list — `/help` shows the full table in-app.
#

Sessions and resume

Transcripts persist — come back with /resume and pick from a list of recent conversations with titles and ages. In a terminal multiplexer (tmux, wezterm, cmux), lop also publishes a per-pane crash-restore binding, so a killed terminal does not take the session with it.

The resume picker listing recent conversations with titles and ages
`/resume` — recent conversations with titles and ages; type to filter.
#

Themes

/theme previews each registered theme live as you arrow through; the chosen theme is stored as tui.theme in ~/.local-operator/config.yml.

The theme picker with the registered themes, descriptions and a live preview as the selection moves
`/theme` — every registered theme, previewed live as you move.