---
url: https://lettuceai.app/docs/branching
title: "Chat Branching — LettuceAI"
description: "Split a conversation into alternate paths from any message, explore different directions, and switch between branches without losing the original."
---

Menu 

# Chat Branching

Branching lets you split a conversation into alternate paths. From any point in a chat you can start a new direction while the original stays exactly as it was. Think of it like save points or alternate timelines: you can explore a different choice without losing what you already have.

Why use it

Want to try a different reply, retell a scene a new way, or test where a conversation could go? Branch from that spot. The new branch is a separate chat, so the original is never changed.

## What a branch is

A branch is a new chat that starts as a copy of an existing one, up to and including the message you picked. Everything before that point is carried over, and from there the two chats go their own way. The new branch remembers which chat and which message it came from, so the app can show you how they connect.

Because each branch is its own chat, you can have as many as you like. Branches can even branch again, building a tree of related conversations.

![A chat splitting into alternate branches, with the active path highlighted](https://lhdgeo5fms.ufs.sh/f/m0TBUtMLsaiEXHz5AwhURCmJTLy5bkWoeHzN28xMVBZ4s6f7)

A branch copies the chat up to the message you pick and leaves the original untouched. You can branch in the same chat, into a new character, or into a group, and the branch you are in is the history the AI reads from.

## Creating a branch

Open the actions for any message (long-press or right-click a message) and choose **Branch from here**. A short confirm menu appears, telling you how many messages the new branch will contain. Confirm with **Create** and the app makes the branch and opens it for you.

You can also branch in a couple of other ways:

-   **Branch to character**: start the new branch with a different character, carrying the conversation so far over to them.
-   **Branch to group chat**: continue the conversation as a group chat from that point.

The original is safe

Creating a branch never edits or deletes the chat you branched from. It only makes a new copy that diverges from the chosen message onward.

## Finding your way between branches

Once a conversation has branches, the chat shows small markers so you never lose track of where you are.

-   **Branch marker**: when you are in a branch, a marker appears at the message you branched from, labeled with the parent chat's name. Tapping it opens a small confirm menu so you can jump back to the parent branch, or stay where you are.
-   **Child-fork indicators**: on a message that has branches growing out of it, a marker shows how many branches start from there. Tapping it lists those branches so you can open any of them.

## The branch tree

The branch tree gives you the full picture of a conversation and all of its offshoots in one place. Open it from the chat to see every branch laid out as a tree, with lines showing how each one connects to its parent.

-   **Lineage**: branches are drawn under the chat they came from, so you can read the whole family of conversations at a glance.
-   **Active path**: the line from the current branch back to the very first chat is highlighted, and the branch you are in is marked as Current.
-   **Quick stats**: a summary shows how many branches exist, the total messages, and how deep the tree goes.
-   **Branch actions**: each branch has options to open it, rename it, branch from it, export it, or delete it.

### Comparing branches

The branch tree has a **Compare** mode. Pick two branches and the app shows where they stop being the same, how many messages they share, and then their differing messages side by side. It is an easy way to see exactly how two directions diverged.

## What the AI sees

Each branch is its own conversation with its own message history. The branch you are currently in is the history the AI reads when it replies. Switching to another branch switches the conversation the model continues from.

Branches are independent

A reply you generate in one branch does not appear in the others. The AI only ever continues from the active branch you are viewing, so each path stays clean and self-contained.

## When branching helps

-   Trying an alternate outcome for a scene without giving up the first.
-   Exploring a "what if" while keeping the main storyline intact.
-   Testing different phrasings or choices to see which conversation you like best.
-   Handing the same setup to a different character to compare replies.

[

PreviousChat Widgets

](/docs/chat-widgets)[

NextDiscovery

](/docs/discovery)
