NousResearch/hermes-agent

Reduce token overhead via lazy/deferred tool loading

Cluster 57044 · agent · Feature. Data as of

4 open items. Fix merged in #97979 on 2 Sep 2026. Check it covers your case.

The short answer

3open issues
1open PR
8items grouped
Known?
Yes. 8 related items grouped here, 0 issues already closed.
Fix event
A fix was merged to main in PR #97979. Check it covers your case. No release data is tracked. Fix link checked: 2 Sep 2026.
Tracker
The maintainers' tracker marks this unresolved. That is separate from the fix event.

These items focus on the high token cost of including all tool schemas in every API request, proposing approaches such as deferred or lazy loading, stub modes, tiered schemas, and opt-in deferral for built-in toolsets. Several also explore RAG-style or semantic tool selection to inject only relevant schemas on demand.

Open issues3

  • Issue#57044Core tool schemas are ~15k tokens on every request — add a slim/tiered schema mode
  • Issue#60181[Feature]: Let built-in toolsets opt into tool-search deferral (defer_toolsets)
  • Issue#60184feat(tool_search): let built-in toolsets opt into deferral via defer_toolsets

Open PRs1

  • PR#35457feat(tool_search): optional embedding reranker for progressive tool disclosure

Fixes on record

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

  • #97979 feat(tool-search): core-tool deferral — curated event-triggered set behind the bridge (−6.5K tok/call desktop, −49% schemas)

    merged to main

    files: agent/agent_runtime_helpers.py, agent/coding_context.py, agent/context_compressor.py, agent/conversation_loop.py, agent/display.py, agent/tool_executor.py, agent/tool_guardrails.py, agent/turn_summary.py, evals/core_tool_deferral/README.md, evals/core_tool_deferral/orchestrator.py, evals/core_tool_deferral/report.py, evals/core_tool_deferral/results/.gitignore, evals/core_tool_deferral/results/SUMMARY.md, evals/core_tool_deferral/tasks.py, evals/core_tool_deferral/worker.py, hermes_cli/tools_config.py, model_tools.py, tests/agent/test_curator.py, tests/agent/test_display_todo_progress.py, tests/agent/test_phantom_tool_references.py (+32 more)

3 PRs closed without merging

From the close comments: done elsewhere 2 · stale or abandoned 1

  • #43521 feat(tool_search): config-gated builtin tool deferral (#6839) · done elsewhere → 7e310f5, #97979
  • #60182 feat(tool_search): defer_toolsets — opt built-in toolsets into deferral · done elsewhere → 7e310f5, #97979
  • #61744 feat(tool_search): opt-in deferral for infrequent built-in toolsets · stale or abandoned
How this cluster was grouped
  • Link evidence (partly structural links): some members are connected by structural evidence (shared changed files, or a closing/superseded reference); the rest are joined by an automated relevance judgement over their text.
  • Members outside that structural core may belong to a different underlying problem.
  • Pairwise link density 0.28: 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.

For your agent

The same facts, typed.