# witcheer's Wingtips #13: keep your Hermes session db lean

Written by [witcheer](https://x.com/witcheer) at Nous Research. Republished with credit.

Canonical: https://hermeswatcher.com/wingtips/13  
Published: 2026-07-05  
[Original](https://notwitcheer.github.io/hermes-recipes/wingtips/13-keep-your-hermes-session-db-lean/) · [On X](https://x.com/witcheer/status/2073728504869396765) · [Full collection](https://notwitcheer.github.io/hermes-recipes/) · [Official docs](https://hermes-agent.nousresearch.com/docs/user-guide/sessions)

[Source Markdown](https://raw.githubusercontent.com/notwitcheer/hermes-recipes/8653fb699a137a32e81936fa33cabacd3f4f2095/docs/wingtips/13-keep-your-hermes-session-db-lean.md): use this file as the base for relative links in the verbatim text below.

Sources: [Hermes docs: Sessions](https://hermes-agent.nousresearch.com/docs/user-guide/sessions)


Hermes Wingtips #13: keep your Hermes session db lean

your Hermes agent keeps every session in one SQLite db at ~/.hermes/state.db, and we ship auto-prune off by default, so none of your history disappears: it all stays searchable.

we keep it lean: hundreds of sessions sit in
