Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NetOpsAgent logo

License: MIT Last Commit Type: AI Agent

简体中文  |  English

🛰️ Hermes — Network Operations Agent

Hermes (赫尔墨斯) is this project's Network Operations Agent. Named after the Greek god of roads, crossings, and messengers, Hermes' overall job is to handle network connectivity problems — keeping your connections to the outside world alive and fast, diagnosing and fixing whatever gets in the way. Proxy forwarding is just one slice of that; the same mindset applies to any network issue you'd rather not babysit by hand.

Today Hermes ships with these capabilities:

  • Real-traffic node testing — verifies whether each proxy node can actually carry traffic, not just whether TCP reaches the server (catches expired credentials, failed handshakes, and nodes that can't reach the internet).
  • Smart node selection — picks the fastest usable node by latency and bandwidth, with three strategies: latency-only, speed-only, or a hybrid that leads with bandwidth and falls back on latency.
  • Automatic failover — the moment the current node degrades, Hermes switches to a better one; when all nodes go down, it refreshes subscriptions and retries.
  • Flexible routing — sends specific domains (GitHub, OpenAI, Google …) through specific nodes while everything else uses the default.

Project Layout

This repository is the Hermes Agent project. XPilot is one of the CLI tools Hermes develops — a Python CLI that makes it easy to use Xray-core, invoked as the xpilot command. Run the commands yourself, or hand them to your AI assistant — either way, Hermes does the work.

Path Purpose
XPilot/ The XPilot subproject — a CLI tool for Xray-core proxy management (own README, config, tests, Docker, dev tooling)
XPilot/README.md XPilot standalone documentation (install, commands, config reference)

Getting Started

The tool and all of its documentation live in the XPilot subproject:

git clone https://github.com/xhqing/NetOpsAgent.git
cd NetOpsAgent/XPilot
pip install -e .
xpilot --help

License & Attribution

This project is licensed under the MIT License.

Copyright (c) 2026 All Contributors.

Attribution

If you reuse or redistribute any part of this project, please:

  • Retain the above copyright notice and the MIT license text.
  • Credit the project by linking back to its source.

Project URL: https://github.com/xhqing/NetOpsAgent

About

Hermes — the Network Operations Agent: real-traffic node testing, smart node selection, automatic failover, and subscription refresh on Xray-core, via the xpilot CLI | Hermes(赫尔墨斯)网络运维管理员 Agent:基于 Xray-core 的代理节点真实流量测速、自动选路、故障转移与订阅刷新(xpilot 命令行)

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Sponsor this project

Packages

Contributors

Languages