Cockpit
Cockpit overview
The full agent in your terminal, its layout and status bar.
The cockpit is what you get when you run frontier with no arguments: an interactive agent in your terminal. The model can read, search, edit and run things in your project. Every change is shown to you first.
The pieces
- The prompt. A bordered text area with a line under it. Enter sends. Typing
/lists the matching commands, and a real command is coloured, so a typo looks different from a command. - The status bar. The line under the prompt shows the model, the provider, the tier, how full the context is, the cost so far, the permission mode and the shell. On a narrow window the least important facts go first.
/statusprints every fact in words. - The answer footer. After a turn it shows which models did the work, which files changed, the steps and the estimated cost.
- Approvals. An edit shows a diff and asks
y,nora. A command asks too, unless a rule allows it. See Permissions. - Thinking. A reasoning model's thoughts collapse into one line while it works, and stay behind as
Thought for 12s. See Themes and plain mode.
Quiet helpers
None of these asks a model anything, so none costs money.
- Recap. After a turn that took at least
ui.recapSeconds(20), four lines: what you asked, which files changed, whether tests passed and what waits on you./recapprints the last one again. - Context hints. At 60, 75 and 90 percent of the auto compact limit it says once what to do:
/compactto keep the thread,/clearif the task is finished. - Tips. One dim line about a real command, after the third finished turn and then every fourth.
Piped output and plain mode print none of them, so scripts see what they always saw.
Long sessions
Past context.autoCompactTokens (80,000 estimated tokens), older turns are summarized into the system prompt and the last two user turns stay verbatim. The cut is never made between a tool request and its result. /compact does it now and hands back a resume prompt to paste. /context shows the size, and /resume-prompt prints the last one again, for example after /clear.
Sessions are saved. /resume picks one up, and /save [path] writes the conversation to a Markdown file with secrets masked.
First time in a folder
The first time you run the cockpit in a project folder, it asks Trust this folder? and remembers the answer. See Trusted folders.