NousResearch/hermes-agent

Performance optimizations for caching and agent hot paths

Cluster 106061. Data as of

Nothing open on GitHub. Fix merged in #120406 on 23 Sep 2026. Check it covers your case.

The short answer

0open issues
0open PRs
3items grouped
Known?
Yes. 3 related items grouped here, 1 issue already closed.
Fix event
A fix was merged to main in PR #120406. Check it covers your case. No release data is tracked.
Tracker
The maintainers' tracker marks this resolved, deciding PR #120406. That is separate from the fix event.
Still open
Nothing open on GitHub.

These items address unnecessary deep copies of request history in the prompt-caching planner and quadratic or per-character overhead in agent execution paths. The work focuses on reducing redundant memory and compute operations in performance-sensitive code.

Open issues0

No open issues.

Open PRs0

No open pull requests.

Fixes on record

Merged to main. A stamp counts the issues a fix is linked to.

  • #120406 perf(agent): remove quadratic and per-character work from agent hot paths

    merged to main

    files: agent/agent_runtime_helpers.py, agent/codex_responses_adapter.py, agent/message_sanitization.py, agent/moa_loop.py, agent/prompt_caching.py, agent/redact.py, contributors/emails/[redacted:email], contributors/emails/[redacted:email], tests/agent/test_moa_loop_mode.py, tests/agent/test_prompt_caching.py, tests/agent/test_redact.py, tests/tools/test_registry.py, tools/registry.py

1 PR closed without merging

From the close comments: merged via another change 1

  • #106074 perf(prompt-caching): copy only mutable cache-plan rows · merged via another change → #120406
Closed issues · 1
  • Closed#106061perf(prompt-caching): outer cache planner deep-copies the entire request history
How this cluster was grouped
  • Link evidence (structural links throughout): every member is connected by structural evidence: shared changed files, or a closing/superseded reference.
  • Pairwise link density 0.67: the share of item pairs that carry a link, counting a structural link in full and a relevance-only link at 0.36. 1.00 means every pair is linked.

Pick up a Lab task

Check whether a fix covers the open issues here, with your own agent. Bring back evidence for maintainers.

Open the Lab

At a glance

Merged PRs
#120406
Closed issues
1
Attempts
1 PR closed without merging
Fix link checked
23 Sep 2026

For your agent

The same facts, typed.