Hermes Blind
Recover the original goal of a long coding-agent session before the context around it gets noisy.
Hermes Blind is developed by Hermes Labs.
Hermes Labs is an agentic infrastructure company building the reliability layer for autonomous systems.
The problem
Long coding-agent sessions can lose the shape of the request that started them.
As a Claude Code or Codex session grows, debugging output, tool results, intermediate decisions, and follow-up turns accumulate around the original instruction. The model may still have access to that history, but the user's initial constraints can become harder to keep salient.
When that happens, the usual recovery move is manual: scroll back, reconstruct what mattered, and restate it.
Hermes Blind makes that recovery deterministic.
It reads the first user turn from a supported local session transcript and generates a compact, inspectable recovery anchor that can be pasted or injected back into the session.
No summarizing model. No external service. No network request.
Hermes Blind also includes an evidence-bound prompt wrapper for LLM evaluation workflows. That is a secondary surface: the primary job is recovering original intent from long agent sessions.
What it does
- Find the latest supported session. Discover a recent usable Claude Code or Codex JSONL log from supported local locations.
- Recover the original user intent. Parse the first real user turn while skipping tool output, sidechain/sub-agent turns, compaction summaries, and injected context.
- Generate a compact anchor. Produce Markdown that can be inspected before it is reintroduced to an agent.
- Choose how much to recover. Use
goals, first-sentence, or full extraction modes depending on the context budget.
- Work across agent hosts. Install the portable skill/plugin surface in Claude Code, Codex CLI, or Gemini CLI.
- Inject at a chosen turn. Hermes Agent can call Blind through a
pre_llm_call hook.
- Wrap evaluation prompts. Add explicit evidence and uncertainty constraints without calling a model.
Quickstart
Hermes Blind requires Python 3.10+.
For an isolated command-line install:
pipx install hermes-blind
Or:
python -m pip install hermes-blind
Confirm the installed release with python -c "from importlib.metadata import version; print(version('hermes-blind'))".
From the project directory for an active Claude Code or Codex session:
hermes-blind apply --latest --format auto --turn 9 --out recovery.md
Blind prints the session file it selected to stderr and writes an inspectable anchor to recovery.md.
A generated anchor looks like:
# Recovery scaffold (anchor-extracted from turn 1, applied at turn 9)
## Original anchor
- stated_goal: "Ship the onboarding flow and verify the clean install"
## Session state
- session file: rollout.jsonl
- user turns observed: 9
Review the file, then provide it back to the agent or let a supported harness inject it at a chosen intervention point.
Why this is different from summarization
Hermes Blind does not ask another model to reinterpret the request. It deterministically extracts what the user actually said in the initial turn, producing an anchor that is easy to inspect and reuse.
Extraction modes
| Mode | Behavior | Use when |
|---|
goals (default) | Preserves up to 12 goal-carrying sentences from the first user turn | Multi-step engineering tasks |
first-sentence | Keeps the opening fragment, up to 240 characters | Very tight context budgets or simple prompts |
full | Keeps up to 4,000 characters from the first prompt | The first prompt is already structured like a specification |
--format auto recognizes supported Claude Code and Codex JSONL shapes.
Blind skips records that are not the user's actual conversational turn, including supported forms of: