NousResearch/hermes-agent

Add hermes gateway list command for profiles

Cluster 19127. Data as of

Nothing open on GitHub. Fix merged in #21225 on 7 May 2026. Check it covers your case.

The short answer

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

These members concern adding a new hermes gateway list command that displays gateway status across all profiles. The work includes a feature request and at least two implementation attempts.

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.

  • #21225 feat(gateway): add hermes gateway list to show all profiles' status (salvage #19129)

    merged to main

    files: hermes_cli/gateway.py, hermes_cli/main.py

    Show the diff
    • hermes_cli/gateway.py
      @@ -830,6 +830,46 @@ def _print_other_profiles_gateway_status() -> None:
               pass
       
       
      +def _gateway_list() -> None:
      +    """List all profiles and their gateway running status.
      +
      +    Provides a single-command overview of every known profile and whether
      +    its gateway is currently running, so multi-profile users don't have to
      +    check each profile individually.
      +    """
      +    try:
      +        from hermes_cli.profiles import list_profiles, get_active_profile_name
      +    except Exception:
      +        print("Unable to list profiles.")
      +        return
      +
      +    profiles = list_profiles()
      +    if not profiles:
      +        print("No profiles found.")
      +        return
      +
      +    current = get_active_profile_name()
      +
      +    print("Gateways:")
      +    for prof in profiles:
      +        marker = "✓" if prof.gateway_running else "✗"
      +        label = prof.name
      +        if prof.name == current:
      +            label += " (current)"
      +        parts = [f"  {marker} {label:<24s}"]
      +        if prof.gateway_running:
      +            try:
      +                from gateway.status import get_running_pid
      +                pid = get_running_pid(prof.path / "gateway.pid", cleanup_stale=False)
      +                if pid:
      +                    parts.append(f"PID {pid}")
      +            except Exception:
      +                pass
      +        else:
      +            parts.append("not running")
      +        print(" — ".join(parts))
      +
      +
       def kill_gateway_processes(force: bool = False, exclude_pids: set | None = None,
                                  all_profiles: bool = False) -> int:
           """Kill any running gateway processes. Returns count killed.
      @@ -4798,6 +4838,9 @@ def _gateway_command_inner(args):
               # Show other profiles' gateway status for multi-profile awareness
               _print_other_profiles_gateway_status()
       
      +    elif subcmd == "list":
      +        _gateway_list()
      +
           elif subcmd == "migrate-legacy":
               # Stop, disable, and remove legacy Hermes gateway unit files from
               # pre-rename installs (e.g. hermes.service). Profile units and
    • hermes_cli/main.py
      @@ -8690,6 +8690,9 @@ def main():
               help="Target the Linux system-level gateway service",
           )
       
      +    # gateway list
      +    gateway_subparsers.add_parser("list", help="List all profiles and their gateway status")
      +
           # gateway setup
           gateway_subparsers.add_parser("setup", help="Configure messaging platforms")
       

1 PR closed without merging

From the close comments: closed without comment 1

  • #19129 feat(gateway): add `hermes gateway list` to show all profiles' gateway status · closed without comment
Closed issues · 1
  • Closed#19127[Feature]: `hermes gateway list` — show all profiles and their gateway status
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.67: 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

Merged PRs
#21225
Closed issues
1
Attempts
1 PR closed without merging
Fix link checked
7 May 2026

For your agent

The same facts, typed.