Session Storage
Session Storage Hermes Agent uses a SQLite database ( ) to persist session metadata, full message history, and model configuration across CLI and gateway sessio
- Section
- Developer Guide
- Source
- hermesbible.com/docs/developer-guide/session-storage
Session Storage Hermes Agent uses a SQLite database ( ) to persist session metadata, full message history, and model configuration across CLI and gateway sessio
Excerpt from the official Hermes Agent documentation, quoted for reference. View sourceWhat this page covers
- Architecture Overview
- SQLite Schema
- Sessions Table
- Messages Table
- FTS5 Full-Text Search
- Schema Version and Migrations
- Write Contention Handling
- Common Operations
- Initialize
- Create and Manage Sessions
Section outline mirrored from the official Hermes Agent documentation. Follow any heading to read the complete text on the source site.
Upstream outline
Section map
Architecture Overview
Maps architecture overview to the Developer Guide documentation path, with the source page reserved for exact commands and updates.
SQLite Schema
Maps sqlite schema to the Developer Guide documentation path, with the source page reserved for exact commands and updates.
Sessions Table
Maps sessions table to the Developer Guide documentation path, with the source page reserved for exact commands and updates.
Messages Table
Maps messages table to the Developer Guide documentation path, with the source page reserved for exact commands and updates.
FTS5 Full-Text Search
Maps fts5 full-text search to the Developer Guide documentation path, with the source page reserved for exact commands and updates.
Schema Version and Migrations
Maps schema version and migrations to the Developer Guide documentation path, with the source page reserved for exact commands and updates.
Write Contention Handling
Maps write contention handling to the Developer Guide documentation path, with the source page reserved for exact commands and updates.
Common Operations
Maps common operations to the Developer Guide documentation path, with the source page reserved for exact commands and updates.
Implementation notes
- Use this Developer Guide doc as a navigation page first: the local clone mirrors the source structure and links each heading back to the authoritative upstream section.
- Primary decision areas: Architecture Overview, SQLite Schema, Sessions Table, Messages Table, FTS5 Full-Text Search. Read those source anchors before changing installs, credentials, automation, or runtime configuration.
- Useful search signals for this doc: session, storage, sqlite, database, persist. These are derived from the public title and summary so the clone remains lightweight.
Decision table
Use when you need orientation for session storage before applying exact upstream commands.
Open the source anchor for Architecture Overview and confirm platform-specific requirements before changing configuration.
Use the upstream page as the authority for current syntax, release changes, and security-sensitive steps.
Verification checklist
- Use this page to orient yourself within Developer Guide, then open the linked source page for exact current syntax.
- Start with the source section for Architecture Overview; do not rely on the local summary for commands or secrets.
- Check platform, install method, provider, and credential assumptions before changing a real environment.
- Review the source section for SQLite Schema if the page involves setup, automation, messaging, or runtime behavior.
- After applying anything from the source, run the smallest relevant smoke test before widening scope.
Risk notes
Start with a bounded dry run, logs, and a manual stop path before enabling recurring or unattended execution.
Keep human review before sending public posts, customer messages, trading instructions, or team notifications.
Set provider, token, and retry limits before scaling the workflow beyond a single test run.
What this page covers
- Core concept and where it fits in the Hermes Agent system.
- Setup or operating context implied by the upstream page summary.
- The source page link for full current details and updates.
Source mirror note
This page is generated from the public Hermes Bible index so the clone has the same route coverage and search surface. It stores the public title, category, summary, and source link locally; use the source page for full upstream text and updates.
Open source page