Skip to main content

Slash Commands

Type / in the chat input to open the command picker. Right now there is one user-facing command: /compact.

Compaction summarizes the older part of the current run to free context space — use it when the context ring turns amber or red and you want to keep working in the same run. See Context for how it works.

CommandWhat it does
/compact or /compact fullFull compaction — summarizes everything except the last few messages. Frees the most room.
/compact halfKeeps roughly the recent half of the conversation verbatim. Gentler, frees less.

A few notes: /compact acts on the currently selected run, you can't compact while the agent is actively working, and the summary is generated by model inference, so it has a small cost. Clicking the context ring in the run footer does the same thing as typing the command.