How-To Series · Episode 09 / 59 · Module 2: Daily Driver

Hermes · Sessions

Every chat saved. Resume by name. Search anything you've ever said.

After this videoYou can now resume, rename, search, and hand off any past conversation.

Every Hermes conversation — CLI, Telegram, Discord, Slack, WhatsApp, anywhere — is saved to one SQLite DB at ~/.hermes/state.db. Three flags cover almost every resume case: hermes -c (most recent), hermes -c "title" (by name), hermes -r <id> (exact). The agent's built-in session_search tool runs full-text search across every past chat — no LLM call, no token cost. /handoff telegram jumps a live conversation to your phone (same session ID). And hermes sessions list / export / delete / rename / prune covers everything else.

About these resources. Every command in this video comes from the Sessions user-guide doc. The CLI reference is cited for the full flag list on each hermes sessions subcommand.

Sources · What this video distills

2 docs pages · every command below traces to one of them
Primary · state.db, resume flags, /title, session_search, /handoff, hermes sessions, auto-prune
Sessions
Read ↗
Full flag/option list for hermes sessions ...
CLI Reference
Read ↗

Commands shown · Copy and paste

each shows the source doc it came from
Continue most recent CLI sessionfrom Sessions ↗
hermes -c
Resume by titlefrom Sessions ↗
hermes -c "auth refactor"
Title from inside a chatfrom Sessions ↗
/title auth refactor
Hand off a live chat to your phonefrom Sessions ↗
/handoff telegram
List recent (filter by source)from Sessions ↗
hermes sessions list --source telegram --limit 50
Prune ended sessions older than 90 daysfrom Sessions ↗
hermes sessions prune --older-than 90 --yes

Going deeper · Related Hermes docs

further reading · not sources of facts shown above

Next in the series · Episodes that build on this

E07
The Five Slash Commands
E14
It Remembers You (Memory)
E24
Hermes on Telegram