# NousResearch/hermes-agent · Relay managed execution async event-loop conflict fixes

## Open now

- Nothing open on GitHub.

These issues and pull requests address a bug where NeMo Relay's managed execution wraps async tools that have persistent event loops, causing 'Future attached to different loop' errors. Multiple fix approaches are represented, including bypassing managed execution for nested calls and for tools with persistent loops.

## TL;DR

- 4 member(s): 0 open issue(s), 1 closed issue(s), 0 open PR(s), 1 merged PR(s), 2 PR(s) closed without merging.
- A fix was merged to main in PR #82313. Verify it addresses your case.
- **Recommended:** read PR #82313 (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-82313`. 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.50`: 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

- #77244: \[Bug\] NeMo Relay retain_managed_execution causes Future attached to different loop for async tools like vision_analyze

## Prior & competing PRs

- **#82313: fix(relay): bypass managed execution for nested calls inside managed callbacks**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `agent/relay_llm.py`, `agent/relay_runtime.py`, `agent/relay_tools.py`, `tests/agent/test_relay_nested_execution.py`
- **#77398: fix(relay): handle event-loop conflict when managed execution wraps tools with persistent loops (#77244)**. closed without merge
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`; refs `961f7481a7`, `#77244`, `#82313`
- **#77679: fix(relay): avoid managed-execution wrap for tools with persistent event loops (#77244)**. closed without merge
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`; refs `961f7481a7`, `#77244`, `#82313`

## Fix status

- Merged to main in PR #82313 (cited above). No release data is tracked. Verify downstream.
- Fix last verified (merged) `2026-08-09`.
