Hermes Agent /rewind: Edit, Resend, or Fork a Conversation (v0.23.0 Guide)

Hermes Agent /rewind: Edit, Resend, or Fork a Conversation (v0.23.0 Guide)

Hermes Agent··10 min read·hermes-agentrewindconversationsv0.23.0

Hermes Agent v0.23.0 adds /rewind: browse your prompts, edit and resend an earlier one, or fork a branch. Edit-and-resend cuts the session like /undo.

Every long agent session has a moment where the right move is to go back, not forward: the prompt you sent three turns ago set the wrong course, and everything after it is baggage. Hermes Agent v0.23.0 gives you two clean ways to do that with a single keypress or command. You can edit an earlier prompt and resend it, or fork a branched session from that point. The cut behaves like /undo, and /undo never touches files, so editing and resending leaves your files alone.

This guide is based on official documentation and release notes; we did not run the tool hands-on. Every claim below cites the GitHub v0.23.0 release or one of the three official Hermes docs pages inline. Where the sources leave something unsettled, such as messaging-platform support, the post says so instead of guessing.

What /rewind does

Shipped in v0.23.0 on 5 November 2026 (“The Hearth Release”), /rewind lets you press Esc twice or type /rewind in the TUI or classic CLI, pick an earlier message, then edit and resend it or fork a new session from that point, while the original stays exactly as it was (GitHub v0.23.0 release).

The feature is tied to PR #144937 in the release notes, credited to @SaguaroDev in the release notes. The slash commands reference lists /rewind among the interactive CLI commands, and it operates on the conversation transcript: your prompts and Hermes’s replies. For announcement-day context, see our v0.23.0 “Hearth” release walkthrough.

Two ways to open the transcript browser

Type /rewind or press Esc, Esc on an idle, empty prompt. The command is listed in the slash commands reference as a classic CLI command, and the first Esc shows “esc again to edit previous message” as a hint before the browser opens.

In the TUI the same double-tap works: Esc, Esc on an empty composer opens the browser (TUI guide). If there is no earlier prompt to return to, the second Esc reports “No previous message to edit” (TUI guide). Looking for the wider command surface instead? Our Hermes slash commands reference collects the rest of the CLI vocabulary in one place.

Finding the prompt you want

The browser opens showing the session’s prompts and replies with the latest prompt already selected, so stepping back is a couple of key presses. Per the slash commands reference, Left/Right (h/l) pick a prompt, while Up/Down (k/j) and PgUp/PgDn scroll through the transcript.

In the TUI, /rewind has no prime step: Left/Right move you straight to an earlier prompt, and Esc goes back (TUI guide). Whenever you want out entirely, Esc or q closes the browser (slash commands reference).

Edit and resend: what happens to the later messages

Press Enter and the selected prompt drops back into your composer, ready to change. Sending the edited text cuts the session back to just before that prompt, sends the new version, and archives the later messages, the same behaviour as /undo, per the slash commands reference.

The TUI guide words the same flow more bluntly: everything from that prompt on is removed when you send. Backing out costs nothing, since cancelling with Esc Esc, Ctrl+C, or an empty submit removes nothing (slash commands reference). And because the cut behaves as /undo does, and /undo never touches files (checkpoints and rollback docs), editing and resending leaves your files alone. /rollback is the command that restores them.

Fork instead: keep the original, branch the history

Press f and Hermes forks rather than edits: the new branched session contains only the history before the selected prompt, with that prompt prefilled but not sent, while the original session is kept (slash commands reference, TUI guide). The v0.23.0 release notes describe the original as staying exactly as it was.

Don’t confuse a fork with /new [name] (alias /reset), which starts a fresh session (slash commands reference). A fork carries the earlier transcript into a new branch with the chosen prompt prefilled but not sent, while /new simply hands you a blank slate.

Skipping the browser: /rewind N and /rewind fork N

Two direct forms skip browsing entirely: /rewind N edits prompt N directly, and /rewind fork N forks a branched session before prompt N, both documented in the slash commands reference. Reach for them when you already know exactly which turn you want to revisit and don’t need to scroll the transcript to find it.

The reference only says that N targets a prompt; it does not document how prompts are numbered, so this post assumes nothing about counting direction or indexing. Otherwise the forms parallel their browser counterparts: an edit rewinds the conversation, a fork keeps the original (slash commands reference).

/rewind vs /undo vs /rollback

The three commands answer different questions: /undo rewinds the conversation, /rewind browses and branches it, and /rollback restores files. The checkpoints documentation and the slash commands reference draw those lines, and the table below puts them side by side so you can pick the right one mid-session.

Command Touches conversation Touches files Source
/undo Yes — rewinds the conversation only Never touches files; when checkpoints are on and the undone turns changed files, it adds one line naming them and pointing at /rollback Checkpoints and rollback docs
/rewind Yes — the transcript browser lets you edit and resend an earlier prompt (later messages archived, as with /undo) or fork with f, keeping the original session Edit: no — the cut behaves as /undo does, and /undo never touches files. Fork: the sources do not address files GitHub v0.23.0 release, slash commands reference, TUI guide
/rollback <N> Yes — also undoes the last chat turn Yes — restores files to checkpoint N, keeping hand-edits; takes a pre-rollback snapshot first, then restores files, then undoes the last turn; requires checkpoints (--checkpoints or checkpoints: enabled: true) Checkpoints docs, slash commands reference

The pattern is simple: anything in the /rewind and /undo family is conversation-only, and file restoration lives entirely in the checkpoint system.

Checkpoints: the part that touches files

File restoration belongs entirely to checkpoints: they are opt-in as of v2 and off by default. You enable them per session with the --checkpoints flag, or globally with checkpoints: enabled: true in ~/.hermes/config.yaml, according to the checkpoints and rollback documentation. That is the switch that makes /rollback possible, because without a checkpoint history there is nothing on the file side to restore to.

When a rollback runs, it first takes a pre-rollback snapshot, so you can undo the undo. Then it restores the files, then undoes the last conversation turn so the agent’s context matches the restored filesystem (checkpoints docs). /rollback <N> restores to checkpoint N while keeping your hand-edits, and it also undoes the last chat turn (checkpoints docs). One more interaction worth knowing: when checkpoints are on and the turns /undo removes changed files, /undo adds one line naming those files and pointing at /rollback (checkpoints docs). For setup details, see our Hermes Agent backup and checkpoints guide.

Where /rewind works (and what the sources don’t say)

The v0.23.0 release documents /rewind for the TUI and the classic CLI (GitHub v0.23.0 release). The slash commands reference’s messaging command table does not list /rewind, so this post makes no claim about Telegram, Discord, or other messaging platforms.

Two further gaps deserve plain honesty. The release notes state no rewind-specific setting or default, so this post describes none. And no timing or benchmark figures exist for /rewind in these sources, so none appear here.

Version context and further reading

v0.23.0 landed on 5 November 2026 and rolls up the v0.22.1–v0.22.7 patch releases; its headline feature is the Desktop workspace served in a browser tab (the Webapp), which ships off by default (GitHub v0.23.0 release). /rewind is the conversation-management highlight of that same release. A separate TUI change lets /new start while a turn is still running, with the running session continuing in the background, in PR #148880. The Webapp arrived through PR #141864, and the terminal image work through #147293 and #148874. The full set of changes is in the release commit 2bd378e, and the project lives at the Hermes Agent repository.

Still on an earlier build? The Hearth release walkthrough covers everything else that shipped, and the v0.23.0 migration runbook takes you through the upgrade step by step. Once you’re current, Esc, Esc and /rewind behave as described above in the TUI and the classic CLI.

FAQ

Does editing and resending touch my files?

No. The cut made when you send an edited prompt behaves as /undo does, and the checkpoints documentation states that /undo only rewinds the conversation and never touches files. Restoring files is /rollback’s job, and it needs checkpoints enabled, as our backup and checkpoints guide explains.

Should I edit and resend, or fork?

Edit and resend when the later turns are simply wrong: sending cuts the session back to just before that prompt and archives the later messages (slash commands reference). Fork, by pressing f, when you want to explore an alternative: the branched session holds only the earlier history, the prompt is prefilled but not sent, and the original stays intact (TUI guide).

I opened the browser and closed it. Did I lose anything?

No. Esc or q closes the browser, and nothing is removed until you send an edited prompt. Cancelling a pending edit with Esc Esc, Ctrl+C, or an empty submit also removes nothing, according to the slash commands reference. Fork leaves the original intact, and the sources do not address files for a fork.

Does /rewind work in Telegram or Discord?

The sources don’t establish it. The slash commands reference lists /rewind under interactive CLI commands and not in its messaging command table, and the v0.23.0 release notes document it for the TUI and the classic CLI. Verify rewind behaviour on your own messaging platform before relying on it.

The Bottom Line

/rewind makes going back cheap. Esc, Esc or the command opens the transcript, Enter edits and resends with later messages archived, and f forks a branch while the original stays exactly as it was (GitHub v0.23.0 release). Because the cut behaves as /undo does, and /undo never touches files, restoring files is /rollback’s job.

How This Guide Was Built

This guide was built entirely from four official sources: the GitHub v0.23.0 release notes plus three Hermes documentation pages: the slash commands reference, the TUI guide, and the checkpoints and rollback documentation. We did not run Hermes hands-on for this post; no testing, benchmarks, or screenshots inform the claims above.

The release notes established what shipped in v0.23.0 and its scope; the docs pages supplied command-level behaviour, keybindings, and the /undo–/rollback mechanics. The full documentation index is at the Hermes Agent documentation home. Where a fact was not established (messaging-platform support, rewind defaults, prompt numbering in /rewind N, the destination of archived messages), the post flags the gap instead of filling it. Facts were last checked against these sources on 9 November 2026.

  • CodeIntel Log — code quality, debugging, and software engineering benchmarks

Cross-links automatically generated from Hermes Tutorials.