# hermes-agent · Durable evidence

> Levels are per column and must not be summed, averaged or ranked. A level states which written criterion the runtime's source meets. It is not a measure of quality or task success. Higher is not always preferable.

Source: "Agent runtime comparison: ten open-source agent runtimes, source review", study of 2026-11-28. Mark notation: `3` is the level in the default deployment; `1→4 [opt: …]` is level 1 by default and level 4 in the named configuration; `s` source-verified, `d` documented or test only. Service dependencies are classes (E embedded, O on demand, R resident service, X external server required), not levels.

- Runtime: [hermes-agent](https://ai-agents-review.com/runtime/hermes-agent.md)
- Column: [Durable evidence](https://ai-agents-review.com/column/durable-evidence.md) (Evidence and memory)
- Mark: 3 s
- Default deployment: 3
- Best supported configuration: 3
- Page: https://ai-agents-review.com/cell/hermes-agent/durable-evidence

## Rationale

Configurable retention (auto_prune off); rewind soft-deletes, compaction keeps rows; agent-unalterable records absent (level 4 unmet)

## Rubric criteria for this column

- 0: Default deployment keeps nothing after the process exits
- 1: Final messages persist, but tool calls/results or intermediate steps do not
- 2: Full transcript including tool calls persists by default, with no stated retention policy and freely rewritable records
- 3: Level 2, plus an explicit retention policy (configurable, or "never pruned" stated in code) **and** revert/compaction keep the originals (new record or hidden row), not destructive rewrite
- 4: Level 3, plus records the agent itself cannot alter (enforced), **or** tamper-evidence (hashing/signing)

## Review finding

Built in. Per-profile SQLite `state.db` with FTS5. Retention is indefinite by default (auto-prune and auto-archive off). Rewind soft-deletes rows. `replace_messages` and session delete hard-delete. A JSONL rescue copy is written only if state.db is swapped [E24][E25][E26]. Note E-3.

## Evidence cited by the mark

- [E25] hermes-agent — https://github.com/NousResearch/hermes-agent/blob/3ef8bf4f68c91dce2870eba5625426b32ac6ba58/persistence/sqlite/conversation/_store/messages.py#L1842-L1850 — rewind soft-deletes (`active=0`) — [S]
- [E26] hermes-agent — https://github.com/NousResearch/hermes-agent/blob/3ef8bf4f68c91dce2870eba5625426b32ac6ba58/hermes_cli/config_defaults.py#L2218-L2240 — `auto_prune: False`, `retention_days: 90`, `auto_archive: False` (comment claims CLI/cron startup too) — [S]
- [E27] hermes-agent — https://github.com/NousResearch/hermes-agent/blob/3ef8bf4f68c91dce2870eba5625426b32ac6ba58/hermes_cli/config_defaults.py#L668-L672 — in-place compaction soft-archives rows (`active=0, compacted=1`), still searchable — [S]

## Evidence also cited by the review finding

- [E24] hermes-agent — https://github.com/NousResearch/hermes-agent/blob/3ef8bf4f68c91dce2870eba5625426b32ac6ba58/hermes_state.py#L198-L214 — per-profile `state.db` path — [S]

## Grading record

- Grader A (default / best): 3 / 3
- Grader B (default / best): 3 / 3
