{"repo":"NousResearch/hermes-agent","public_id":"77142","display_label":"Anthropic client reuse across LLM calls","summary":"These items concern a performance issue where the Anthropic HTTP client (including TCP and TLS connections) was being rebuilt on every LLM call rather than reused. The cluster focuses on identifying and addressing this unnecessary per-call client reconstruction.","subsystem":"agent","counts":{"members":3,"open_issues":0,"open_issues_distinct":0,"open_prs":0,"closed_issues":1,"merged_prs":1,"attempt_prs":1},"landed_fix":{"status":"merged_to_main","basis":"structural","pr":86764,"merged_at":"2026-08-15T07:34:30+00:00"},"resolution":{"state":"unresolved","by":null},"freshness":{"state":"verified","last_verified_at":"2026-08-15T07:34:30+00:00","is_stale":false},"grouping":{"backbone":"STRUCTURAL_SPANNING","link_density":0.6666666666666666},"fix_edges":[{"issue_number":77033,"pr_number":86764,"tier":"verified","basis":"superseded_ref","confidence":0.9,"recoverable_from_timeline":false,"pr_merged_at":"2026-08-15T07:34:30+00:00"},{"issue_number":77142,"pr_number":86764,"tier":"verified","basis":"superseded_ref","confidence":0.9,"recoverable_from_timeline":false,"pr_merged_at":"2026-08-15T07:34:30+00:00"},{"issue_number":80413,"pr_number":86764,"tier":"verified","basis":"closing_ref","confidence":0.95,"recoverable_from_timeline":true,"pr_merged_at":"2026-08-15T07:34:30+00:00"}],"members":[{"kind":"issue","number":77142,"title":"Anthropic-wire request client rebuilt (fresh TCP+TLS) on every LLM call instead of reused","url":null,"state":"closed"},{"kind":"pr","number":77144,"title":"perf(run-agent): reuse Anthropic request-local client instead of rebuilding per call","url":null,"state":"closed","close_reason":{"refs":[{"kind":"pr","value":"#86764","number":86764}],"category":"merged_via","implication":"superseded"},"merged":false},{"kind":"pr","number":86764,"title":"perf: salvage query/serialization cluster — session-search I/O, adaptive hydration, Anthropic client reuse, parallel model fetches","url":null,"state":"merged","close_reason":{"category":"merged"},"merged":true,"is_fix_pr":true,"fix_tier":"verified","files_changed":["agent/agent_runtime_helpers.py","agent/tool_executor.py","contributors/emails/[redacted:email]","hermes_cli/model_switch.py","hermes_cli/models.py","hermes_state_search.py","run_agent.py","tests/agent/test_anthropic_request_client_reuse.py","tests/hermes_cli/test_model_cache_parallel_prefetch.py","tests/run_agent/test_token_persistence_non_cli.py","tests/test_hermes_state.py","tests/tools/test_session_search.py","tools/session_search_tool.py","website/docs/user-guide/sessions.md"]}],"trust":{"default_tier":"verified","includes_suggested":false}}