# NousResearch/hermes-agent · CLI startup performance via lazy loading

## Open now

- Nothing open on GitHub.

These items address eager imports at CLI launch that add ~60ms overhead, with proposed fixes involving lazy re-exports of command modules and memoization of config/toolset lookups. The cluster is focused on reducing CLI startup time.

## TL;DR

- 3 member(s): 0 open issue(s), 1 closed issue(s), 0 open PR(s), 1 merged PR(s), 1 PR(s) closed without merging.
- A fix was merged to main in PR #86763. Verify it addresses your case.
- **Recommended:** read PR #86763 (and any competing PRs below) before filing. Confirm the merged change covers your symptom.

## 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_SPANNING`): every member is connected by structural evidence: shared changed files, or a closing/superseded reference.
- Pairwise link density `0.67`: 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.

## Closed / duplicate issues

- #74389: \[Bug\]: Every CLI launch eagerly imports the update/sessions/dashboard command modules (~60ms)

## Prior & competing PRs

- **#86763: perf(cli): salvage startup/memoization cluster — lazy re-exports, config/root/toolset memos, TUI discovery skip**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `contributors/emails/[redacted:email]`, `hermes_cli/auth.py`, `hermes_cli/commands.py`, `hermes_cli/main.py`, `hermes_constants.py`, `run_agent.py`, `tests/hermes_cli/test_completer_config_reads.py`, `tests/hermes_cli/test_global_auth_store_memo.py`, `tests/hermes_cli/test_lazy_command_exports.py`, `tests/hermes_cli/test_tui_launcher_skips_plugin_discovery.py`, `tests/run_agent/test_file_mutation_verifier.py`, `tests/run_agent/test_turn_completion_explainer.py`, `tests/test_hermes_constants.py`, `tests/test_toolsets.py`, `toolsets.py`
- **#74390: perf(cli): re-export decomposed command modules lazily, ~60ms off every CLI start**. closed without merge
  - maintainer direction: category `merged_via`; implication `superseded`; refs `#86763`

## Fix status

- Merged to main in PR #86763 (cited above). No release data is tracked. Verify downstream.
- Fix last verified (merged) `2026-08-15`.
- Subsystem: `hermes_cli`
