Skip to content

Interactive use ​

Run oc in your project directory to open the terminal UI, or start with a prompt:

sh
oc
oc "fix the failing test"
oc -m ollama/qwen3:8b

The UI has a scrollable session transcript, a live turn, an input box, and a status bar showing the model and context size. Replies render Markdown; tool results are summarized, including diffs for edits, line counts for reads, and the first lines of command output. Enter a request and press Enter to send it. Messages entered while the agent works are queued in order; Enter can steer at the next safe boundary, while Ctrl+Q queues a follow-up. Use Alt+Up to pull the last queued message back into the editor. Pasted text, including newlines, lands in the input as-is.

Use /plan [prompt] to plan before implementation. Planning exposes read, search, language-server, web, and ask tools, but not shell, writes, extensions, or MCP tools. After a planning turn, choose whether to approve implementation, keep planning, or exit plan mode. Reads and network requests still have their normal effects: plan mode is a tool restriction, not an OS sandbox.

Shell commands and attachments ​

Enter a shell command directly in the input:

text
!git status
!!git status

! runs the command without a model call and adds its output to the conversation, where the agent can see it. !! runs it without sharing the output with the agent. Either command still executes on your machine; keeping output out of context does not undo its effects. Avoid exposing secrets in commands or shared output.

Drag files onto the terminal or paste their paths to attach them. Attachment chips appear above the input; Backspace on an empty input removes the last one. PNG, JPG, GIF, and WebP images up to 5 MB are sent as images and require a vision-capable model. Text files are included in the prompt; large or binary files are referenced by path for the agent to read. Attach only material you are willing to share with the configured provider.

Native Ctrl+V clipboard text or image paste is macOS-only; on other systems use your terminal's paste shortcut. API keys entered in the UI are masked while typing.

Keyboard reference ​

These are the default bindings; /hotkeys shows the active bindings and action names.

KeyAction
EnterSend; while the agent works, steer at the next safe boundary
/Open the command menu; Up/Down select, Tab completes, Enter runs, Esc closes
Shift+Enter, Alt+Enter, or \ then EnterInsert a newline. Shift+Enter needs a terminal with the kitty keyboard protocol, such as kitty, Ghostty, WezTerm, or recent iTerm2
Up / DownInput history, or move between lines in multiline input
PgUp / PgDnScroll the conversation transcript
Esc / Esc EscInterrupt or cancel / rewind on an empty input
Ctrl+C / Ctrl+DInterrupt or clear input (twice to exit) / exit on an empty input
Ctrl+P / Alt+MCycle models / open the model picker
Shift+TabCycle reasoning effort
Alt+Shift+PToggle plan mode
Ctrl+R / Alt+RSearch input history / retry the last prompt
Ctrl+Q / Alt+UpQueue a follow-up / return the last queued message to the input
Ctrl+O / Ctrl+TExpand the last tool output / show or hide model reasoning
Ctrl+V / Alt+EPaste native macOS clipboard text or image / expand pasted text for editing
Ctrl+GEdit input in $VISUAL or $EDITOR
Ctrl+ZSuspend; resume with fg (not supported on Windows)
Ctrl+]Open the conversations picker, including during questions and pickers
Ctrl+A / Ctrl+EMove to start / end of line
Ctrl+B / Ctrl+FMove one character left / right
Alt+B / Alt+FMove one word left / right
Ctrl+W / Ctrl+U / Ctrl+KDelete the previous word / to line start / to line end
Ctrl+YPaste the last deleted text

Except for Enter, Esc, Ctrl+C/D, Up/Down, Tab, and Backspace, keys can be rebound in ~/.oibre/keybindings.json (under OIBRE_HOME if set). An empty list unbinds an action:

json
{
  "app.model.cycle": "ctrl+n",
  "tui.editor.newline": ["shift+enter", "ctrl+j"],
  "app.suspend": []
}

Slash commands ​

Type / to browse commands and their arguments. Use /help for the commands available in your installation, and see the slash command reference for built-in commands, examples, and subcommands. Extensions and custom Markdown commands can add more.

For saved conversations and recovery, see Sessions and checkpoints.