A NAS is usually introduced as a place to store files. Mine has gradually become something more useful: a small private platform that hosts applications, protects them behind an identity layer, and runs a few carefully scoped automations.

Hermes Agent is the orchestration layer that ties those pieces together. It can inspect a service, operate a dedicated browser, run a scheduled check and send a concise result. It is not an unrestricted administrator, and I do not want it to be one.

The useful part is not that an AI can do anything. It is that each capability has a clear boundary and a way to verify what happened.

The layout

The basic shape is:

Phone or browser
       |
       v
Caddy reverse proxy
       |
       +---- Authentik access policy
       |
       v
Internal application network
       |
       +---- TrueNAS application containers
       +---- Dedicated browser containers
       +---- Hermes scheduled jobs
       |
       v
ZFS-backed application data

TrueNAS and ZFS provide persistent storage. Containers hold the applications. Caddy routes traffic to the right internal service, while Authentik decides which signed-in users may pass through. Hermes coordinates the workflow but does not replace those systems.

I keep source, runtime data and secrets separate. A TrueNAS API credential does not automatically grant filesystem access; a container mount does not authorize a user in a web application. Those permissions are distinct by design.

Deploying applications through Caddy

For an application, the deployment path is straightforward:

Develop and test
      |
      v
Build a container image
      |
      v
Deploy with Docker Compose on TrueNAS
      |
      v
Expose through a dedicated Caddy route
      |
      v
Apply the appropriate Authentik policy

The application joins an internal Docker network with Caddy. Its port is not published directly to the host, so traffic is expected to enter through the proxy. For a private application, the Caddy route checks with Authentik before forwarding the request.

One practical lesson came from deploying a Blazor application under a URL subpath. Blazor’s generated asset URLs and integrity metadata make subpath hosting easy to misconfigure. A dedicated hostname and Caddy site block are often a cleaner boundary than mounting a separate app beneath another app’s path.

A container showing RUNNING is not proof that the website works. I verify the proxy route, the application response, static assets and unauthenticated access behavior separately.

Separate browsers for separate accounts

Some services are easiest to use through their normal website. Rather than put every login into one shared browser profile, I use dedicated Chromium containers with separate persistent profiles.

The Google Classroom browser is separate from other service browsers. Each has its own profile storage, a protected remote viewer, no public debugging port and CDP limited to the container loopback interface. Browser sync and password saving are disabled. I enter passwords and MFA directly in the protected browser rather than placing them in chat or scripts.

A persistent profile can retain a site session, but it cannot override the service’s session policy. A school or identity provider may still require sign-in again after a restart or security check. Automation must treat a login page as “sign-in required,” not as an empty homework list.

A useful read-only automation

One of the first practical jobs is checking Google Classroom for new assignments and class posts. A scheduled run visits the signed-in profile, collects current work, compares stable assignment IDs with a private baseline and sends an alert only when something new appears.

The alerts identify the student and source immediately:

━━━━━━━━━━━━━━━━
👧 MAHEK · GOOGLE CLASSROOM
📚 HOMEWORK ALERT
━━━━━━━━━━━━━━━━

If an instruction is in Chinese, the notification preserves the original and adds an explicitly labelled English translation. If an image is unreadable or the assignment does not expose a direct link, the alert says so instead of guessing.

The monitor is read-only: it does not submit work, mark tasks complete or send messages to teachers. If authentication expires or only some classes can be checked, it reports that limitation and leaves the baseline unchanged.

Scheduled jobs and message delivery

Hermes cron provides durable schedules. The homework check runs on weekdays at a chosen Hong Kong time. A successful check with no new work stays quiet; an incomplete check must not masquerade as an empty one.

Sending a result to a family WhatsApp group is a separate step from collecting it. Scheduler output can contain internal prompts and loaded instructions, so a relay must extract only the final response. Mine is designed to reject missing or ambiguous response sections, suppress the silent marker, deduplicate repeated output and send no scheduler metadata.

The distinction matters: an internal job completing successfully is not the same as a message being accepted by WhatsApp, and an accepted send is not necessarily proof that every recipient read it.

A read-only data dashboard

The same NAS platform can host a .NET 11 web application using Blazor, MudBlazor and ReactiveUI source generators. For an imported dataset, I want dated snapshots rather than overwriting yesterday’s facts. Each record should retain its source date and reference, and the UI should make stale or incomplete data visible.

The dashboard is read-only toward external services. It can record a local journal entry or flag a change for review, but it does not silently modify a third-party account.

What needed correction

The less successful attempts taught me as much as the clean deployments.

  • A browser connection does not prove that the user is signed into the target service.
  • A changed app configuration is not necessarily active until the correct supervised process reloads it.
  • A public route can point to the wrong backend even when the container is healthy.
  • A scheduled job should not update its baseline after a partial read.
  • A relay must never forward the whole cron output file.
  • A direct link is better than a generic service homepage, but it must come from the live page rather than be invented.

Each of these is a small verification step. Together they prevent “it seems to have worked” from becoming the system’s success criterion.

The security boundary

Self-hosted does not automatically mean private. The browser profile may live on my NAS, but the logged-in service still receives requests. Cloud AI can process the content the agent reads. WhatsApp receives the alert. Each boundary is a separate data flow.

My working rules are:

  • Keep service accounts in separate browser profiles.
  • Do not expose browser debugging ports or application backend ports publicly.
  • Put private web routes behind Caddy and an explicit Authentik policy.
  • Keep credentials and session cookies out of chat and generated reports.
  • Use narrow scheduled-job prompts and explicit delivery targets.
  • Require human approval before consequential external actions.
  • For a group bot, allow only the intended group and approved senders, require an @mention, and give it no tools it does not need.

The goal is not to pretend all processing is local. It is to make the boundaries visible and keep each integration as narrow as practical.

What I would add next

The next layer is a private operations dashboard for the NAS: container health, backup freshness, certificate expiry, storage growth, scheduled-job failures and browser sign-in status. It should begin read-only and make the evidence available for a human decision, rather than quietly turning itself into another administrator.

Hermes has made the NAS more useful because it connects small capabilities—containers, browsers, identity, schedules and notifications—without requiring one component to own every permission. That is the design I want to keep building on.


The cover uses the official Hermes Agent logo from NousResearch/hermes-agent. Product names and logos belong to their respective owners.