Free · Daily brief + weekly playbookDaily 60-sec AI Voice Brief + Weekly Production AI Agent PlaybookGet the brief →
ReleaseCode / SDK · ActionableHabr AI→ original

A DevOps engineer handed the Hermes agent his routine: a two-server audit took 9 minutes

A DevOps admin got tired of checking logs and three mailboxes by hand, so he handed the routine to Hermes, an open-source AI agent. He split it into three Telegram bots: Obsidian notes, a weekly audit of two servers, and a mail digest. The first audit took about nine minutes and found Homebox, a service exposed on the local network without authentication. His takeaway: an agent needs a narrow role, limited access, and a schedule.

AI-processed from Habr AI; edited by Hamidun News
A DevOps engineer handed the Hermes agent his routine: a two-server audit took 9 minutes
Source: Habr AI. Collage: Hamidun News.
Listen to article
Article Fact Sheet & Key Figures
ParameterDetails
Primary sourceHabr AI ↗
Editor-in-Chief
Mailchecks at 08:00 and 18:00 Moscow time; instructions found in emails are not executed
ModelDeepSeek V4 Flash via API; the author rejected local models
Key metric #3Server access only through the VPN network 10.8.0.0/24; no ports are open

A DevOps engineer on Habr described how he handed his everyday routine to the Hermes AI agent: server checks, note-keeping, and email triage. Instead of one "all-powerful" bot, he set up three separate ones, each in its own Telegram chat and with its own permissions. The first test audit of two servers took about nine minutes and turned up a real hole: the Homebox service was reachable from the local network without authentication. The story is useful because it is not a demo video. It is a live setup on personal infrastructure, with concrete configuration files and limitations.

What problem the author was solving

The author works in DevOps and system administration. He keeps a knowledge base in Obsidian using the Zettelkasten method, maintains his own project ServeHub-2 (a ready-made self-hosted infrastructure of two servers, one local and one remote, joined into a single network), and regularly checks three mailboxes. Because of the mail, he sometimes missed important messages or forgot to check his inbox.

Much of his day went to repetitive tasks: checking container status, reading logs, finding the right note, making edits in a Git repository, and sorting email. He already had monitoring with alerts, but it reacts to predefined events and does little to help him understand a situation as a whole. His own scripts for Obsidian and separate mail tools made up a set of scattered solutions that were hard to manage.

How the system is built

Hermes Agent is an open-source AI agent. It carries out tasks through tools, works with files and the command line, is extended with skills, and divides work into profiles. Another feature: the agent stores useful information about past tasks in long-term memory and refines its own skills. The author stresses that this is about memory, skills, and workflow, not retraining the base model. According to him, OpenClaw would probably have handled the job as well, but Hermes proved more convenient, since much of what he needed worked right after installation.

The agent runs on a separate server at Timeweb Cloud, connected to ServeHub-2. It reaches the remote VPS and the home server only through the virtual network 10.8.0.0/24, built on Amnezia WireGuard. So there is no need to open ports to the internet or set up forwarding on the router: it is enough to connect the device to the network and configure access in advance. The author uses DeepSeek V4 Flash via API as the model. He did not consider local neural networks: in his experience they are noticeably inferior to cloud models in quality and convenience, and the API price suits him.

There are three profiles:

  • Obsidian and one-off tasks. No schedule, on request. In the Hermes configuration inside Docker, an SSH key and read-only Git credentials are passed through, along with the notes storage in read and write mode. The agent studied the repository, updated MEMORY.md, and no longer requires the structure to be explained again. It then tagged notes that had no tags, relying on the fact that tags are mostly in Cyrillic. Along the way it broke something, but fixed it itself, pushed the changes, and updated a skill.
  • Server audit. Once a week the agent logs in over SSH to the VPS and the home server, collects system information, logs, and service details, and prepares recommendations. The author makes the fixes separately.
  • Mail monitoring. Runs at 08:00 and 18:00 Moscow time, or manually. Three Gmail mailboxes, Himalaya, and a Python script: the agent processes only new emails, sets priorities, and sends a short digest to Telegram. It does not execute instructions found in emails and does not send replies.

What the audit found and what the limitations are

The test check took about nine minutes. The agent found three things. On the VPS, an update for the libapparmor1 package was available: low priority, to be installed during the next maintenance. On the home server, the Homebox service was listening on 0.0.0.0:7745, meaning it was reachable through the host's network interfaces, and the agent suggested removing direct port publishing and keeping access through a reverse proxy. Finally, it assessed ACPI errors in the logs, tied to firmware and the USB controller, as not affecting service operation. The author liked that the report consisted of analyzed findings: for each one it listed the host, the impact on the infrastructure, and a recommendation.

The limitations are also visible. This is one person's experience on personal infrastructure, with no measurements of token usage or accuracy. A profile with write access to Git can change files, so the results must be checked. The author himself notes that the part about self-improvement is still based on his own observations.

The practical takeaway for anyone who wants to repeat this: split the agent by roles, give each the minimum necessary rights, lock server access behind a VPN, and verify everything the agent writes to the repository. The mail profile's ban on executing instructions from emails provides protection against prompt injection, and the auditor's ban on changing the system leaves the decision with a human. The value here comes from the system around the model: the role, the data, the schedule, and the ability to verify the result.

Story

Key Questions Answered

What problem the author was solving?

The author works in DevOps and system administration. He keeps a knowledge base in Obsidian using the Zettelkasten method, maintains his own project ServeHub-2 (a ready-made self-hosted infrastructure of two servers, one local and one remote, joined into a single network), and regularly checks three mailboxes. Because of the mail, he sometimes missed important messages or forgot to check his inbox.

How the system is built?

Hermes Agent is an open-source AI agent. It carries out tasks through tools, works with files and the command line, is extended with skills, and divides work into profiles. Another feature: the agent stores useful information about past tasks in long-term memory and refines its own skills. The author stresses that this is about memory, skills, and workflow, not retraining the base model.

What the audit found and what the limitations are?

The test check took about nine minutes. The agent found three things. On the VPS, an update for the libapparmor1 package was available: low priority, to be installed during the next maintenance. On the home server, the Homebox service was listening on 0.0.0.0:7745, meaning it was reachable through the host's network interfaces, and the agent suggested removing direct port publishing and keeping access through a reverse proxy.

ZK
Zhemal Khamidun — Head of AI at Alpina Digital · MIPT (academic supervisor of the Tech Entrepreneurship department). Building AI products since 2019. Hamidun News is a pet project that grew into a production aggregator with 6,000+ readers.
✦ Unified AI Workspace · Nomad

Test Frontier LLMs & Autonomous Agents in One Workspace

Run Claude Opus 5.5, GPT-6, Gemini 3.1, and DeepSeek side-by-side in Nomad AI (nomadnet.ai) — unified model routing, deep research, and multimodal workflows under one subscription.

Try Nomad AI →Launch Nomad Agent
Jemal Hamidun

Editor-in-chief · Cite this analysis

Jemal Hamidun

Head of AI at Alpina Digital · Academic Supervisor of the Tech Entrepreneurship Department at MIPT

Head of AI & CPO of AlpinaGPT at Alpina Digital, Academic Lead of Tech Entrepreneurship at MIPT. Founder of Hamidun News and Vibe Academy.

Ready-to-paste citation for journalists, blogs and Telegram channels

Source: Hamidun News — A DevOps engineer handed the Hermes agent his routine: a two-server audit took 9 minutes https://news.hamidun.com/en/news/16680/a-devops-engineer-handed-the-hermes-agent-his-routine-a-two

What do you think?
Loading comments…