IWILLUNITED STATES
13 min readIWILL US

Building a 24/7 AI agent server on a fanless mini PC

How to set up a headless, always-on AI agent host on the fanless N1522: Ubuntu Server, an agent framework, secure remote access with Tailscale, and the operational discipline that keeps agents running around the clock.

AI AgentUbuntu ServerHeadless ServerN152224/7 AIEdge Computing

AI agents earn their keep by being *always there* — watching inboxes, running scheduled jobs, responding to webhooks, keeping context warm. A laptop that sleeps when the lid closes is the wrong home for that. The right home is a small, silent machine that draws less power than a lightbulb and runs for months untouched.

Why the N1522 fits this duty

  • Fanless and silent — the N1522 (Intel Twin Lake N150, up to 16GB DDR5) sits on a shelf in a living room or office without announcing itself.
  • Server-grade recovery — BIOS auto power-on and watchdog options mean power cuts do not require a visit.
  • Wide 9–36V DC input — tolerant of whatever power the closet provides; UPS-friendly.
  • Dual LAN + COM — a management port separate from the service port, plus serial if the agent touches hardware.
  • Storage flexibility — 2× M.2 2280 plus a 2.5" bay: OS on one drive, data and logs on another.

The one-hour setup

1. Ubuntu Server, headless (20 min)

  1. Flash Ubuntu Server LTS to USB, install with OpenSSH enabled, and set a static DHCP lease for the box.
  2. First login: `unattended-upgrades` on, password SSH off (keys only), and a non-root user for the agent runtime.

2. The agent runtime (20 min)

Install Node.js or Python per your framework, then the agent itself — open-source frameworks such as OpenClaw, or your own orchestration on the Claude/GPT APIs. Two rules regardless of stack: run it as a systemd service with `Restart=always`, and keep secrets in an environment file with tight permissions, never in the repo.

3. Secure remote access (10 min)

Install Tailscale (or WireGuard) so the box is reachable from your laptop and phone without exposing a single inbound port. The agent's web UI, SSH, and logs all live on the tailnet only.

4. Operational discipline (10 min)

  • Enable BIOS auto power-on after power loss.
  • Point the framework's logs at the second drive and rotate them.
  • Add a heartbeat — a cron job that pings a dead-man's-switch service — so silence gets noticed.
  • Snapshot the working config once it is stable; boring restores beat clever debugging.

What about running models locally?

The N1522 is an *agent host*, not an inference workhorse: it orchestrates, schedules, and calls APIs brilliantly, and runs small quantized models acceptably. If local inference is the point, size up to a Core-class N3322 or IBOX-3226 — and read why the AI stack deserves its own firewall zone.

RAM, storage, and OS image quoted per configuration — tell us the stack you plan to run.

Configure an agent host

Related articles

6 min read

IWILL NANO: serious compute in a pocket format

Cabinet space is expensive. The NANO series answers a simple question: how small can an industrial computer get without giving up the ports, reliability, and mounting the job requires?

NANOMini PCEdge Computing

We store your analytics preference locally. Optional analytics loads only with your permission. See our Privacy Policy.