> ## Documentation Index
> Fetch the complete documentation index at: https://herm.liftaris.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Herm Sessions: browse, resume, and inspect history

> Browse, resume, rename, and branch sessions in Herm. Inspect context, lineage, token usage, models, tools, and cost summaries.

The Sessions tab gives you a terminal view of Hermes Agent session history. Open it with **Alt+2** or `/sessions`.

The tab has three sub-tabs: **List**, **Context**, and **Analytics**. Move between sub-tabs with **Shift+Left** and **Shift+Right**.

## List sub-tab

The List sub-tab joins gateway session data with Herm's local session database. It shows sessions in the selected source filter with title, source, model, token, cost, tool, lineage, and timestamp details when available.

<CardGroup cols={2}>
  <Card title="Resume a session" icon="arrow-right">
    Highlight a session and press `Enter` to resume it in the Chat tab.
  </Card>

  <Card title="New session" icon="plus">
    Press `n` to start a new session.
  </Card>

  <Card title="Rename" icon="pen">
    Press `Ctrl+R` to retitle the selected session.
  </Card>

  <Card title="Delete" icon="trash">
    Press `d` to delete the selected session after confirmation.
  </Card>

  <Card title="Reload" icon="rotate">
    Press `r` to refresh from the gateway and local store.
  </Card>

  <Card title="Search" icon="magnifying-glass">
    Press `/` to filter sessions.
  </Card>
</CardGroup>

Use **Left** and **Right** in the List sub-tab to switch source filters. Session lineage appears in the detail pane, including parent and compressed-successor links when Herm can read them from the local session database.

## Context sub-tab

The Context sub-tab shows what the active Hermes Agent session has loaded into context. Use it to inspect prompt segments, source files, memory, tool schemas, or other context blocks that affect the next turn.

The sidebar context gauge mirrors this view. It fills as the context window grows and helps you decide when to run `/compress`.

## Analytics sub-tab

The Analytics sub-tab shows aggregate usage over a selected period, such as `1d`, `7d`, `30d`, or `90d`. Current panels include:

* daily cost and usage trends
* model breakdowns
* top tools
* source breakdowns
* token and cost summaries

Cost is an estimate based on the metadata Hermes Agent records. Treat it as an operational signal, not a billing ledger.

## Session commands

You can trigger common session operations from the chat composer.

<Tabs>
  <Tab title="Lifecycle">
    | Command          | Description                          |
    | ---------------- | ------------------------------------ |
    | `/new`           | Start a new session                  |
    | `/title [text]`  | Set a session title                  |
    | `/history`       | Open the transcript viewer           |
    | `/resume`        | Open session selection               |
    | `/branch [name]` | Fork the current conversation        |
    | `/compress`      | Summarize older context              |
    | `/undo`          | Remove the last message exchange     |
    | `/redo`          | Re-send the last undone user message |
  </Tab>

  <Tab title="Checkpoints">
    | Command     | Description                                     |
    | ----------- | ----------------------------------------------- |
    | `/rollback` | Browse checkpoints and restore an earlier state |
  </Tab>

  <Tab title="Prompt drafts">
    | Command       | Description                           |
    | ------------- | ------------------------------------- |
    | `/stash`      | Park the current prompt draft         |
    | `/stash pop`  | Restore the most recent stashed draft |
    | `/stash list` | List stashed drafts                   |
  </Tab>
</Tabs>

## Rollback checkpoints

Hermes Agent can save checkpoints as a session progresses. `/rollback` opens a checkpoint browser so you can restore an earlier state.

<Warning>
  Restoring a checkpoint replaces the current session state. Use `/branch` first if you want to preserve the current direction.
</Warning>

## Context compression

Run `/compress` or press `<leader>c` when a long session approaches the model's context limit. Compression summarizes older turns while keeping the visible transcript stable.

<Tip>
  Jump directly to **Context** with `/context` and **Analytics** with `/analytics` or `/insights`.
</Tip>

## Related docs

* [Chat](/features/chat)
* [Automation](/features/automation)
* [Common issues](/troubleshooting/common-issues)
