Skip to Content
CLI ReferenceCommandsagent branch-points

ah agent branch-points

Extract branch points from a recorded session.

ah agent branch-points [OPTIONS] <SESSION>

Arguments

ArgumentDescription
<SESSION>Path to .ahr recording file or session ID

Options

OptionDescriptionDefault
-f, --format <FMT>Output format: json, md, csvjson
--include-lines <BOOL>Include terminal lines in outputtrue
--include-snapshots <BOOL>Include snapshot metadatatrue

Description

Branch points are moments in a recorded session where you can create a new branch and continue from that point with different instructions.

Examples

Extract branch points (JSON):

ah agent branch-points session.ahr

Markdown output:

ah agent branch-points --format md session.ahr

CSV output:

ah agent branch-points --format csv session.ahr

Without terminal lines:

ah agent branch-points --include-lines false session.ahr