# NousResearch/hermes-agent · AIAgent init latency and blocking I/O fixes

## Open now

- Nothing open on GitHub.

These items address synchronous blocking network calls and unnecessary work performed during AIAgent construction, with related caching and lazy-initialization improvements to reduce startup overhead.

## 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 #57229. Verify it addresses your case.
- **Recommended:** read PR #57229 (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: `resolved` · deciding PR(s): `pr-57229`. 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

- #32221: \[Bug\]: AIAgent.init performs synchronous blocking network I/O (httpx.post) during construction

## Prior & competing PRs

- **#57229: perf(agent): AIAgent hot-path salvage — prompt-cache copy, reasoning-timeout precompute, lazy compressor init**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `agent/context_compressor.py`, `agent/conversation_compression.py`, `agent/prompt_caching.py`, `agent/reasoning_timeouts.py`, `contributors/emails/[redacted:email]`, `tests/agent/test_cjk_token_estimation.py`, `tests/agent/test_compress_focus.py`, `tests/agent/test_compression_small_ctx_threshold_floor.py`, `tests/agent/test_context_compressor.py`, `tests/agent/test_pre_compress_memory_context.py`, `tests/agent/test_prompt_caching.py`, `tests/agent/test_turn_context_overflow_warning.py`, `tests/run_agent/test_image_shrink_recovery.py`, `tests/run_agent/test_per_model_compression_threshold.py`
- **#38991: perf(agent): defer synchronous httpx.post out of AIAgent.__init__ (#32221)**. closed without merge
  - maintainer direction: category `merged_via`; implication `superseded`; refs `#57229`, `#32221`

## Fix status

- Merged to main in PR #57229 (cited above). No release data is tracked. Verify downstream.
- Fix last verified (merged) `2026-07-28`.
- Subsystem: `agent`
