Skip to main content
o4 runs as a full-screen app in your terminal. This page explains what each part of the screen shows, how the two input modes differ, and how panes, overlays, and approval prompts take over the keyboard. For every key in one place, see Keyboard shortcuts.

Screen layout

From top to bottom, the screen has these parts: o4 fits its screen to the window, down to 20 columns and 4 rows. Below that it shows Window too small (min 20x4) until you make it bigger. As the window shrinks, the transcript keeps its rows and the rest makes room, in this order: the blank rows around the prompt, the details on the prompt’s edges, the model name under each reply, long commands (they stay on one row ending in …), and finally the prompt’s border, leaving a single line to type in. While you drag a window’s edge, o4 redraws once the size stops changing.

Transcript

The transcript shows the conversation. Each tool call gets its own block with the tool name and a short preview of its input and output. Long output is collapsed. Move to the block in Navigation Mode to expand it or open the full output. o4 turns on mouse reporting, so the mouse wheel scrolls the transcript rather than the terminal’s scrollback. While you’re scrolled up, new output doesn’t pull the view back down: you keep your place, and a ▼ marker at the bottom right (v without Nerd Font icons) shows there’s more below, with the number of newer messages. Sending a message, End in Navigation Mode, or scrolling back to the bottom follows new output again. Drag across text to select it; o4 copies the selection to the clipboard when you release the button, wherever the pointer is, even over the prompt. A click without a drag selects and copies nothing. Hold the drag above the top or below the bottom of the transcript and it scrolls a row at a time, or hold the button and roll the wheel, so you can select more than fits on screen; every selected row is copied, including rows that have scrolled away.

Status row

While a turn runs, the status row is one line that says what o4 is doing and what the turn has done so far, for example:
The status is one of Working on the request, Reading the workspace, Working through the plan, Editing files, Running a command or Running checks. It’s followed by the file o4 is reading or editing, or the model’s short description of the command it runs, then how long the turn has taken and how many messages are queued or background commands are running. The file and tool counts come last. On a narrow window the counts drop first, then the file or description, so the status itself stays readable. While o4 works on its own, the status text slowly brightens and dims; it holds still while o4 waits for your answer, with Animations off, in screen reader mode, and on a 16-color terminal. See Themes and display. When the turn ends, the row says how long o4 worked for a few seconds, such as Worked for 0:55, and a line such as ✦ Worked for 0:55 · 2 files changed · 14 tools stays in the transcript. The time leaves out waiting for your approval or answer. A turn that changed no files and ran no tools adds no line. After an error or a cancellation, the row shows That didn't work · Turn failed or Cancelled for 30 seconds. If the model and its sub-agents have been silent for three minutes, the row adds a warning such as Stalled · no activity for 184s · Esc to interrupt. Slow models can think quietly for a while, so this doesn’t always mean something is wrong. While o4 summarizes older messages to make room in the context window, the row reads Compacting context, typing waits. You can still scroll the conversation and select and copy text. What you type meanwhile is kept and handled, in order, once the summary is done. When o4 summarizes a tab that isn’t on screen, the screen waits until it’s done. See Context and cost. To get the previous status row back, a Pac-Man that walks along a row of pellets next to words such as Responding, Thinking or Running, start o4 with O4_PERSONALITY=0. That also replaces Rena on the start screen with the o4 logo. When the model is idle, the row summarizes ongoing work, for example Plan 2/5, 3 todos Alt+L, 1/2 work ↓ select, and 1 command running. 1/2 work counts the agents in the agent list: one of the two is still running. Press Down to open the list. 1 command running counts shell commands running in the background; it also shows while a turn runs, and it never shows the commands themselves. While an approval is waiting, the row shows Awaiting approval · main agent, or the name of the sub-agent that asked.

Prompt

Type in the prompt and press Enter to send. The prompt grows as you type more lines. The prompt box’s edges show session information. By default:
  • Top edge: on the left, the session tabs when more than one is open, then the current model, then a short notice such as Copied or an error while it lasts. On the right, context use such as ctx 42%. Context use changes to your theme’s warning color at 75%, and to its error color at 90%.
  • Bottom edge: on the left, the security state when it’s loosened, PLAN in Plan mode, agents waiting on you (2 need input), the number of queued messages, an active goal, and the session cost. On the right, the workspace folder and git branch. After you install a newer o4, the left side also shows new o4 installed · restart to update until you restart.
The security state appears only when it differs from the default. It reads sandbox:<tier> approve:<mode>, for example sandbox:guarded approve:Auto. See Permissions and Sandbox. In a narrow window, long names such as the model and the folder are shortened first, then the least important items drop out. The security state and agents waiting on you always stay.

Arrange the prompt box’s edges

/statusline opens a list of what the edges can show, with an example of each and where it is: Enter (or Space) moves the selected item to the next corner, then hides it. [ and ] move it earlier or later among the items in the same corner, and r restores the default layout. Changes show at once and are saved as statusline in ~/.o4/settings.json. A project’s settings never change the layout. Safety and waiting can be moved but not hidden.

Agent list

While a sub-agent, campaign worker, team member, or background agent is running, the status row counts them, for example 1/2 work ↓ select. Press Down in the prompt (when you aren’t recalling earlier prompts), or a in Navigation Mode, to open a list of them below the prompt. Press Enter on a row to open that agent’s conversation. Esc or any other key closes the list. The keys are in Keyboard shortcuts. The list sits one line below the prompt box when there’s room. Each row shows a status dot, the agent’s name, what it’s doing, and its run time and tokens. The list starts with a main row for your conversation. Agents that an agent started are drawn under it, with ├ and └. When the list has more rows than fit, the last row reads +N more. Rows you aren’t on are drawn dimmer than the conversation: a faint name, and the activity, time and tokens in a fainter color. The row you’re on, and warnings such as Needs approval or Silent 30s, keep full strength. A long activity, such as a long command, wraps under itself, up to three lines per agent. Anything longer ends in …. On a short window, agents give up their extra lines before any agent is left out of the list. Shell commands running in the background aren’t in this list. They show as a count on the status row, such as 2 commands running, and the commands themselves are listed in /agents.

Input modes

The keyboard is always in one of two modes. The same key can do different things in each, so it helps to know which one you’re in.

Prompt Mode

Prompt Mode is where o4 starts. Keys you type go into the prompt. While a completion list is open, Up and Down move through it, Tab inserts the highlighted item, and Esc closes the list. A bare / opens the commands in five tabs, Chat, System, Session, Project and Help, and a bare @ opens tabs such as Files, Folders and Skills; Left and Right switch tabs until you type after the / or @. Typing searches every tab. If Enter finds no command for a /name you typed, o4 keeps it in the prompt and shows Unknown command '/name' — kept in the input. /help lists commands. Esc does other jobs before it switches modes: it first closes an open completion list, action chips, suggestions, an image selection, or an error notice waiting to be dismissed. Press it again to switch. After a turn that changed files or hit an error, o4 may show action chips below the reply, such as Run Tests, View Diff, Fix This, and Undo. On an empty prompt, press Tab to move through the chips and Enter to run the selected one. Typing or Esc hides them. You can turn chips off in Themes and display. The Undo chip doesn’t work like /undo; see The Undo chip before you use it. Navigation Mode is for moving around the transcript. Letter keys run commands instead of typing text. Press Esc in an idle prompt to enter it, and press i to go back to the prompt. In Navigation Mode, a cursor marks one transcript block at a time: The complete list is in Keyboard shortcuts.

Panes and overlays

Some features open in a pane below the prompt. Others open as an overlay that takes over the screen. Either way, the pane or overlay owns the keyboard until you close it. Its footer lists the keys it accepts. Most panes share the same keys: Up and Down (or j and k) to move, Enter to act on the selected row, and Esc or q to close. A pane below the prompt takes these keys only while the prompt is empty. In a pane with tabs, such as /config, Tab and Shift+Tab switch tabs. The browsers that /plugins, /mcp, /sub-agents, /skills, /tools, /lsp, and /hooks open filter the list as you type, and Esc in them goes back one screen. See Keyboard shortcuts.

Transcript Reader

The Transcript Reader shows the whole conversation in place of the live view, with complete tool output. Open it with Ctrl+T. Scroll with j and k, jump between your prompts with [ and ], search with /, and switch between full and compact detail with o. Press Ctrl+T or q to close it. To change an earlier prompt, jump to it with [ or ] and press Enter. o4 forks the session just before that prompt, opens the fork in a new tab, and puts the prompt in the input box so you can edit it and send it again. The original session stays as it was. Esc does the same when the reader is on one of your prompts, so use q to close the reader without forking. See Undo and rewind.

Agent view

When the model starts sub-agents, you can follow each one. Press Down in the prompt (when you aren’t recalling earlier prompts), or a in Navigation Mode, to open the agent list, then pick an agent and press Enter to open its conversation. Anything you type there steers that agent. Press Esc to return to the main conversation. See Subagents.

Approval prompts

When the model wants to run a tool call that needs your approval, an approval panel replaces the prompt. The panel shows:
  • a title: Would you like to run the following command? for shell commands, or Would you like to run the following tool? for other tools;
  • the security state, such as Security: sandbox guarded · approval Ask;
  • who is asking, such as Requested by the main agent — it is paused until you decide;
  • the reason the model gave for the call;
  • the command, or the tool and its input. For a file change, the lines it adds and removes;
  • your choices, numbered.
For a file edit, the choices look like this:
Move with Up and Down and press Enter, or press the key shown next to a choice. The two pattern choices appear for calls such as file edits, where o4 can suggest a pattern. Shell commands always get the shorter list: Yes, proceed, No, cancel (esc), and No, and tell o4 what to do instead. Rules are saved to the project’s .o4/config.toml. When the pattern choices are offered, Tab approves the call and lets you add a note for the model. The panel shows every line of the command. In a window too short to fit it all, it shows what fits and says how much is hidden, for example … 12 more lines · v to see all. Press v to read the whole request; Esc brings back the panel, still waiting for your answer. While an approval is waiting, the status row shows who’s waiting, and the approval takes the screen back from the Transcript Reader and from a pane below the prompt. If a dialog such as /config is open, the approval appears when you close it. You can also press Alt+Y to approve or Alt+Z to deny from anywhere in the main view. A request to reach a new network host shows a network approval panel instead, with Allow once (y), Always allow this domain (a), and Deny (n or Esc). See Permissions to change when o4 asks.

Session tabs

You can run several sessions side by side in tabs. Each tab is its own session with its own model and history. When more than one tab is open, the tabs appear at the left of the prompt box’s top edge as 1 2 3, with the tab you’re on highlighted. A tab you renamed shows its name after the number, such as 2:fix login. A * after a number means that tab has new output you haven’t seen.