# How to start a new session without restarting `mm` This guide shows how to wipe the conversation and begin again from a clean history, in the terminal and from an editor. It assumes `mm` is running and has already answered at least one question. ## In the terminal 1. Wait for the prompt (`> `). The command only acts between two generations; typed while the model is working, it first cancels that generation, then applies. 2. Type the command: ```text > /new 🆕 new session: 12 message(s) forgotten ``` The count is every message except the system prompt: your questions, the model's answers and the tool turns in between. On an already-empty session it reads `0 message(s) forgotten`. 3. Ask your next question. The model only sees the system prompt and that question; nothing from before `/new` is sent to it. ## From an editor (ACP) 1. Type `/new` in the agent panel. Editors that list the agent's commands offer it in the slash-command menu with the description *Clear the history and start a new session*; typing it by hand works as well. 2. Read the confirmation in the thread: `🆕 New session: 12 message(s) forgotten.` The turn ends there, the model is not consulted. 3. Keep working in the same thread. The session keeps its id, its working directory and the tools you already allowed "for this session"; only the history is gone. ## What `/new` resets, and what it keeps | Reset | Kept | |-------|------| | The conversation history (back to the system prompt alone). | The configuration, the model, the tools. | | The loop detector's memory of repeated commands (terminal). | The working directory. | | The server's token count of the last context, used to decide automatic compression. | In ACP mode, the session id and the "allow always" permission grants. | ## Related - [Slash commands reference](../reference/slash-commands.md) — every command, at the prompt and during a generation. - [ACP reference](../reference/acp.md) — how the command is advertised and handled over the protocol. - [Keep a long session inside the context window](manage-the-context-window.md) — `/compact` shortens the history without forgetting it; `/new` forgets it.