Back to AI Q&A
Hermes Agent user service 和 system service 怎么选?

Hermes Agent user service 和 system service 怎么选?

AI Q&A Admin 161 views

Hermes Agent's gateway service has two paths on Linux: the regular user service, or the system service for --system. The official advice is clear: notebooks and developers give priority to user service; VPS, headless host, and an environment that requires boot must be returned, and then select system service.

How to judge which one to choose

  • User service: You usually log in, and the machine is mainly a development environment.
  • System Service: The machine has been unattended for a long time and must automatically come back after restarting, and does not want to rely on loginctl enable-linger.

The other two sets are installed

The official documentation clearly warns that unless you really know what you're doing, don't keep both user and system gateway units. Because the semantics of start/stop/status can get confusing, the log entry will also fork.

In a word: user service is selected for development machines, and system service is selected for VPS; The most feared is to pack two sets together.

A common misconception

Many people think that user service is equivalent to system service as long as it is equipped with linger, but in fact, the operation and maintenance semantics of the two are still different. The former is more like "running with your user environment", and the latter is more like "host-level long-term service". If you're going to hand over the machine to your team for long-term use, the boundaries of system service are usually clearer.

Official open source address: https://github.com/NousResearch/hermes-agent; Official document entry: https://hermes-agent.nousresearch.com/.

Recommended Tools

More