# NousResearch/hermes-agent · Runtime footer metadata fields and gateway footer support

## Open now

- 6 issues, 5 PRs open on GitHub.
- #11701: \[Feature\]: Persistent usage/cost footer on gateway (Discord, Telegram, Slack) messages
- #17037: \[Feature Request\]: Configurable gateway response metadata/footer hooks
- #19922: \[Feature\]: Expand display.runtime_footer to include all variables from /usage
- #26877: \[Feature\]: Add tps (tokens per second) field to runtime_footer
- #35427: feat: extend runtime_footer with provider, tokens, cost, and tool count fields
- #52288: feat(gateway): add token usage to runtime footer
- PR #26932: feat(footer): add tps field to runtime_footer (#26877)
- PR #106079: feat(gateway): add usage fields to runtime footer
- PR #106256: feat(gateway): add post-delivery observer hook
- PR #129449: feat(gateway): opt-in \`tps\` footer field shows this turn's generation speed
- PR #140658: feat(gateway): expand runtime_footer with usage and billing metrics (#19922)

These issues and pull requests concern expanding the runtime_footer display with additional fields such as tokens, cost, tokens-per-second, and tool count, as well as adding opt-in runtime metadata footers to gateway integrations like Discord, Telegram, and Slack.

## TL;DR

- 13 member(s): 6 open issue(s), 0 closed issue(s), 5 open PR(s), 0 merged PR(s), 2 PR(s) closed without merging.
- No fix has been merged to main; one or more PRs were attempted (see below).
- **Recommended:** review the prior/competing PR(s) below. A fix was attempted but not merged; your case may extend or revive that work.

## Maintainer resolution verdict

- Internal-tracker verdict over this cluster's issue members: `unresolved`. This is distinct from the fix status above. Weigh it yourself.

## How this cluster was grouped

- Link evidence (`STRUCTURAL_PARTIAL`): 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.11`: the share of member 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.

## Open related issues

- #11701: \[Feature\]: Persistent usage/cost footer on gateway (Discord, Telegram, Slack) messages
- #17037: \[Feature Request\]: Configurable gateway response metadata/footer hooks
- #19922: \[Feature\]: Expand display.runtime_footer to include all variables from /usage
- #26877: \[Feature\]: Add tps (tokens per second) field to runtime_footer
- #35427: feat: extend runtime_footer with provider, tokens, cost, and tool count fields
- #52288: feat(gateway): add token usage to runtime footer

## Prior & competing PRs

- **#26932: feat(footer): add tps field to runtime_footer (#26877)**. open
  - maintainer direction: category `uncategorized`; implication `needs_llm`
  - files: `gateway/run.py`, `gateway/runtime_footer.py`, `tests/gateway/test_runtime_footer.py`
- **#44878: feat(agent): per-call output speed (tokens/sec) for desktop status bar and runtime footer**. closed without merge
  - maintainer direction: category `partial_fix`; implication `needs_llm`; refs `#12434`, `#13164`
- **#97172: feat(gateway): expand runtime_footer with context_bar, context_used_total, age, sessions, voice**. closed without merge
  - maintainer direction: category `uncategorized`; implication `needs_llm`
- **#106079: feat(gateway): add usage fields to runtime footer**. open
  - maintainer direction: category `uncategorized`; implication `needs_llm`; refs `#79484`, `#83553`, `#18188`, `#11701`
  - files: `gateway/run_turn.py`, `gateway/run_turn_runner.py`, `gateway/runtime_footer.py`, `hermes_cli/config_defaults.py`, `tests/gateway/test_runtime_footer.py`
- **#106256: feat(gateway): add post-delivery observer hook**. open
  - maintainer direction: category `uncategorized`; implication `needs_llm`; refs `#106256`
  - files: `gateway/hooks.py`, `gateway/platforms/base.py`, `gateway/run_turn.py`, `tests/gateway/test_post_delivery_observer_hook.py`, `website/docs/developer-guide/gateway-internals.md`, `website/docs/user-guide/features/hooks.md`
- **#129449: feat(gateway): opt-in \`tps\` footer field shows this turn's generation speed**. open
  - maintainer direction: category `uncategorized`; implication `needs_llm`; refs `bafb778edcbd15`
  - files: `agent/turn_context.py`, `agent/turn_finalizer.py`, `agent/turn_usage.py`, `gateway/run_turn.py`, `gateway/runtime_footer.py`, `hermes_cli/config_defaults.py`, `tests/agent/test_turn_output_rate.py`, `tests/gateway/test_runtime_footer.py`, `website/docs/user-guide/configuration.md`
- **#140658: feat(gateway): expand runtime_footer with usage and billing metrics (#19922)**. open
  - maintainer direction: category `uncategorized`; implication `needs_llm`
  - files: `gateway/runtime_footer.py`, `tests/gateway/test_runtime_footer.py`

## Fix status

- No merged fix on record.
- Subsystem: `agent`
