NousResearch/hermes-agent

AIAgent instance lifecycle cleanup and resource closing

Cluster 50197 · agent. Data as of

Nothing open on GitHub. Fix merged in #122925 on 25 Sep 2026. Check it covers your case.

The short answer

0open issues
0open PRs
4items grouped
Known?
Yes. 4 related items grouped here, 1 issue already closed.
Fix event
A fix was merged to main in PR #122925. Check it covers your case. No release data is tracked.
Tracker
The maintainers' tracker marks this resolved, deciding PR #122925. That is separate from the fix event.
Still open
Nothing open on GitHub.

The members appear to share a theme: AIAgent instances (including one-shot agents and those in the tui-gateway) may not be consistently closed or shut down, with related fix PRs and an issue describing missing cleanup such as shutdown_memory_provider and close. Two titles are identical, and no outcome is stated here.

Open issues0

No open issues.

Open PRs0

No open pull requests.

Fixes on record

Merged to main. A stamp counts the issues a fix is linked to.

  • #122925 fix(agent): close one-shot AIAgents on every exit path

    merged to main

    files: batch_runner.py, hermes_cli/cli_commands_mixin.py, plugins/platforms/feishu/feishu_comment.py, tests/test_agent_close_lifecycle.py, tui_gateway/methods_prompt.py

2 PRs closed without merging

From the close comments: superseded by another PR 1 · other 1

  • #50383 fix(tui-gateway): close AIAgent instances to release resources (#50197) · other
  • #50403 fix(tui-gateway): close AIAgent instances to release resources (#50197) · superseded by another PR → 2fa2f42, 94f3dbe, #122925, #50197
Closed issues · 1
  • Closed#50197Multiple AIAgent instances lack lifecycle cleanup (shutdown_memory_provider + close)
How this cluster was grouped
  • Link evidence (structural links throughout): every member is connected by structural evidence: shared changed files, or a closing/superseded reference.
  • Pairwise link density 0.50: the share of item 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.

Pick up a Lab task

Check whether a fix covers the open issues here, with your own agent. Bring back evidence for maintainers.

Open the Lab

At a glance

Subsystem
agent
Merged PRs
#122925
Closed issues
1
Attempts
2 PRs closed without merging
Fix link checked
25 Sep 2026

For your agent

The same facts, typed.