Hermes-agent adds /undo command to revert conversation turns
TL;DR
Hermes-agent adds a new /undo [N] command that backs up N user turns, prefills the last message for editing, and soft-deletes intermediate turns across CLI, TUI, and messaging platforms.
What changed
Hermes-agent introduces the /undo[N] command. The command backs up N user turns and prefills the last message for editing. It soft-deletes intermediate turns across CLI, TUI, and messaging platforms.
Why it matters
Developers gain faster iteration when refining agent sessions in CLI environments. Vibe builders test conversation adjustments without full restarts during builds.
What to watch for
Compare the command behavior against prior hermes-agent versions in your workflows. Developers should run the /undo 1 test in TUI to verify prefill and deletion actions.
Who this matters for
- Vibe Builders: Use /undo to rapidly iterate on prompt sequences in messaging apps without starting over.
- Developers: Implement the soft-delete logic in custom CLI tools to improve the local agent debugging experience.
Harsh’s take
The addition of a native undo command in a CLI agent tool is a massive quality of life improvement for anyone building complex agentic workflows. Most current interfaces force a hard reset or manual deletion when a multi-turn conversation veers off track, which kills momentum. By allowing users to back up N turns and prefill the last message, Hermes-agent acknowledges that prompt engineering is an iterative, messy process.
This feature specifically targets the friction in terminal-based and messaging-based interfaces where state management is usually rigid. It is a pragmatic move that prioritizes developer velocity over perfect state persistence. Operators should look for this level of granular control in other agent frameworks, as it significantly reduces the cost of experimentation during the refinement phase of agent development.
by Harsh Desai
About Hermes Agent
View the full Hermes Agent page →All Hermes Agent updatesGo deeper
More AI news
- FeatureChatGPT adds live job search and resume formatting
ChatGPT now surfaces live job listings from Indeed, Upwork, and other sources. Users can upload or create resumes, tailor them to roles, and download polished versions.
- FeatureClaude Code adds /cd command to change directories mid-session
Claude Code introduces the /cd command to move a session to a new working directory without breaking the prompt cache.
- FeatureClaude Code enables nested sub-agents up to five levels deep
Claude Code now lets sub-agents spawn their own sub-agents up to five levels deep.