NousResearch/hermes-agent
Reducing tool schema token overhead in API requests
Cluster 4379 · agent · Feature. Data as of
2 open items. Fix attempted, not merged.
The short answer
2open issues
0open PRs
4items grouped
Broad area: open items may be separate problems.
- Known?
- Yes. 4 related items grouped here, 1 issue already closed.
- Fix event
- No fix has been merged to main. 1 PR closed without merging; see the attempts below.
- Tracker
- The maintainers' tracker marks this
unresolved. That is separate from the fix event.
Next step: read the attempts below. Your case may extend or revive that work.
Pick up a Lab taskThe four members all concern the large share of each API request taken up by tool schemas or other fixed overhead. They propose or analyze approaches such as stub mode, per-session filtering, lazy loading, and token-distribution reporting in /compress; the reported percentages differ between items (83% vs. 73%).
Open issues2
Open PRs0
1 PR closed without merging
From the close comments: superseded by another PR 1
- #48622 feat(tools): add stub_mode to reduce main-thread tool schema tokens · superseded by another PR
Closed issues · 1
- Closed#4379Token overhead analysis: 73% of each API call is fixed overhead (~13.9K tokens) — data + suggestions
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.29: the share of item pairs that carry a link, counting a structural link in full and a relevance-only link at 0.36.1.00means every pair is linked.