Running an AI Agent on an Old NAS: Deployment, Practical Results, and Costs
A six-week experiment shows how a decade-old NAS can host an AI assistant while cloud APIs handle model inference. This account covers the two-container architecture, persistent storage, subscription costs, real-world troubleshooting and photo organization, and lessons learned from turning agent mistakes into reusable rules.
1. Why an AI Agent Instead of a Chatbot?
Anyone who has used a large language model through a chat interface has probably encountered the same limitation: the model can produce a useful answer, but the actual work—organizing files, fixing system problems, or running scheduled tasks—still falls to you.
An AI agent bridges that gap. Rather than simply answering questions, it can take actions to complete a task.
Over six weeks, my usage totaled approximately 76 sessions, 16,000 messages, and 800 million tokens. During that period, the agent helped produce four short videos, write a 39-slide presentation, edit a three-and-a-half-minute family video, and categorize 339 photos. It also ran six scheduled tasks, delivering their results to my phone every morning at 7:30.
My role came down to two things: explain the requirement clearly, and add a rule after the agent made a mistake. Those two habits became the foundation of how I worked with it.
2. Hardware: An Old NAS Is Enough for Orchestration
The hardware was hardly impressive: a ten-year-old NAS with a low-power quad-core processor, approximately 8 GB of RAM, and three mechanical hard drives in a redundant disk array. Its processing power was roughly comparable to that of a retired office all-in-one PC.
How could a machine like this run an AI agent? The answer lies in separating orchestration from model inference:
- The local machine handles orchestration. It runs the web interface, manages session state, triggers scheduled tasks, and reads and writes local files. These tasks are largely I/O-bound and place relatively little demand on the CPU.
- Cloud services handle model inference. The agent calls a subscription-based model API, so the local machine does not need a GPU.
That division is the core of this hybrid deployment: local storage and coordination, with model processing purchased as needed from a cloud service.
3. Container Deployment: Two Services and Persistent Storage
The deployment uses container orchestration with just two containers:
services:webui: # Chat interface and session storage...volumes:- ./data:/app/dataapi: # Model calls and scheduled task orchestration...volumes:- ./data:/app/data
This is an architectural sketch rather than a complete deployment configuration. Three aspects of the design are especially useful.
Separate Data from Containers
Configuration, session databases, skill definitions, and logs all reside in the shared data volume.
Containers are replaceable; data needs to persist. Upgrading, rebuilding, or recovering a container does not have to erase the conversation history, and the setup allows container changes to be rolled back.
Separate Responsibilities
Keeping the interface and scheduling logic in different containers allows either service to be restarted independently when something goes wrong. It also makes it easier to expand them separately later.
Keep Persistent Records on Local Storage
Conversation records, photos, and other private files are stored on local disks. The redundant disk array provides a basic layer of storage resilience, giving me more control over those records than a fully cloud-hosted setup.
For higher reliability, the same general approach can extend to hosting image builds and configuration backups on a cloud container platform or object storage service: local operation with cloud-based recovery resources.
4. Model Access and Costs: The Actual Bill
I used a subscription-based API plan. In my case:
- The monthly subscription cost a little over CNY 70 and included a monthly allowance of up to US$100 in fast-model API usage.
- During the measured billing period, I used approximately 19% of that allowance.
- At the provider’s published rates, that represented approximately US$19 worth of API calls, while my actual payment remained the subscription fee.
These figures describe the plan I used, not a universal price or availability guarantee.
A subscription with an included usage allowance can make personal spending easier to predict. Heavier months leave room to use more of the allowance, while lighter months still have a known subscription cost.
My main lesson was that choosing the right model plan mattered more than simply choosing the strongest model. I made some costly choices during the first week of experimentation. By the second month, the setup had moved into genuinely productive use.
Usage also varies substantially by task. Multimodal work such as video generation and batch image processing can consume several times as many tokens as text-only conversations. Any allowance calculation needs room for that variation.
5. What the Agent Actually Helped With
Case 1: Troubleshooting a Printer
Printer problems can involve driver compatibility, configuration files, and system logs. For someone who does not administer systems professionally, that combination creates a substantial barrier.
The agent worked through the problem step by step: reading system logs, identifying relevant error lines, proposing configuration changes, and checking the results. My responsibility was to approve each step before execution.
The value was not just an explanation of what might be wrong. It was assistance with the troubleshooting process itself.
Case 2: Organizing a 40,000-Photo Archive
A separate project involved an archive of roughly 40,000 photos that I had put off organizing for years.
The agent deduplicated and consolidated the collection, grouped photos by year, and generated a local web page that displayed them in chronological groups. When choosing photos to print, I could click through them individually.
Instead of doing all the sorting myself, I reviewed the results.
Both examples point to the same benefit: an agent does not necessarily make the underlying task simpler; it lowers the barrier to attempting it.
Many jobs remain unfinished not because they are impossible, but because the first attempt takes too much effort—and an early failure makes it easy to give up. In my experience, agent assistance brought that initial effort close to zero.
6. Four Lessons for Getting Started
Allow time for adjustment before expecting output.
Much of the first month went into establishing rules and understanding the agent’s limits. Immediate productivity was not the right benchmark.Turn each mistake into a persistent rule.
Adding a rule after a failure proved more effective than repeatedly correcting the agent in conversation.Prioritize data persistence.
Even a minimal deployment should store sessions and configuration in persistent volumes rather than leaving them tied to disposable containers.Calculate the full cost.
Consider subscription fees, token allowances, and hardware depreciation together. A hybrid deployment can have a lower total cost than a fully cloud-hosted alternative.
For everyday users, the significance of AI is not simply that conversations become more fluent. It is that tasks once too expensive to outsource or too difficult to learn can become practical to attempt by clearly stating what needs to be done.
