In-window branches (Edit / Regenerate): Edit an earlier prompt or regenerate a reply directly inside the current conversation. The previous answer and all follow-up turns after it stay preserved on the original branch instead of disappearing; tap the left/right arrows below the message (such as 1/2 ↔ 2/2) at any time to switch back to the original branch and its follow-up history.
Create branch (fork into a separate conversation): Open a message's More → Create branch to copy that node and all preceding context into a standalone new conversation without affecting the original chat. The new branch automatically inherits and remaps the original conversation's context compression checkpoints, context-clear dividers, and session settings; if the original chat contains finished subagent records, the new branch's bottom bar also keeps a read-only entry to view them. This works well for turning a side path into a long-running task or assigning different models, tools, and workspaces.
Editing earlier messages: “Save” vs. “Save & Send”#
Editing an earlier user message:
Save & Send (the send icon on the right side of the input bar in the native app; Save & Send in the message editor on Cube Agent Web, or Ctrl/Cmd + Enter): Saves your edit as a new branch version, tucks away the old follow-ups after the previous version, and immediately asks the model to generate a reply on the new branch.
Save / Save Only (the Save icon next to the send button in the native app; Save Only on Cube Agent Web): Saves your edit as a new branch version and tucks away the old follow-ups without automatically calling the model; you can tap the message's regenerate button later whenever you are ready.
Editing an earlier AI reply: Only offers Save, which creates a new version of that reply and tucks away the follow-up turns after the previous version. You can continue asking questions directly below the new version, or use the left/right arrows to switch back to the old version and its original follow-ups.
Normal persistent chats do not delete them: Whether you tap Regenerate on an earlier prompt or on a middle or final AI reply, the old reply together with all subsequent turns stays preserved on the original branch, and the new reply starts generating as a new version. If you stop or cancel generation before any content is produced, the view automatically restores the original branch; if partial content was already produced when stopped, it is kept as the new version, and you can still tap the left/right arrows to switch back to the old branch.
Exception for Incognito Chat: Incognito chats do not persist version history, so regenerating an earlier prompt still clears later messages as prompted.
Native and Cube Agent Web sync: Phones, tablets, PCs, and Cube Agent Web share the same branching rules, so switching branches or saving edits syncs in real time across both.
Branch protection: To prevent accidentally deleting history stored on the original branch or other branches, messages that still have follow-up turns cannot be deleted individually. To delete a contiguous trailing section of the current branch, delete backward from the last message, or use Select to choose contiguous trailing messages and delete them together (provided none of those nodes have unselected follow-up branches under their other hidden versions).
Cannot create a branch while subagents are running: While background subagents in the current conversation are still running or queued, wait for them to finish or tap Stop All before using Create branch, so subagent ownership does not become mixed between the old and new chats.
Switches chat history only, not local files: Switching branches only switches the chat log and the context sent to the model; it does not revert files or configurations that AI has already modified in the session workspace, shared files, or remote servers.
Backup and merge: Regular chats that have never branched continue to support cross-device backup merging; when importing a multi-branch conversation with a conflict, choose Keep both to avoid overwriting local branches.