Open-Source AI Agents on an Old NAS: Building a Low-Cost Home Assistant with Local Hosting and Cloud Models
A hybrid AI agent setup can turn an old NAS into an always-on home assistant without running a large language model locally. This practical account covers hardware requirements, Docker Compose deployment, persistent storage, subscription versus usage-based costs, and lessons from automating photo organization, troubleshooting, and scheduled notifications.
Why Run an AI Agent Around the Clock?
Over six weeks, my home AI agent handled 76 conversations containing roughly 16,000 messages and consumed about 800 million tokens. Running on an old NAS, it helped produce four short-film scripts, a 39-page presentation, material for a three-and-a-half-minute family video edit, and the classification of 339 photos. It also delivered six scheduled updates to my phone every morning at 7:30.
My main responsibilities were straightforward: explain what I wanted and add a rule whenever it made a mistake.
This is not a product review. It is a practical account of a hybrid deployment approach: run the agent framework locally and call cloud models through APIs.
1. Hardware: Old Equipment Can Still Do the Job
It is easy to assume that an AI application needs a dedicated GPU or a powerful server. But an agent architecture that does not perform local large language model inference has much lighter hardware requirements.
My setup used:
- A roughly ten-year-old, low-power, quad-core CPU
- Around 8 GB of RAM
- Three mechanical hard drives configured for RAID 1 redundancy
Its computing power was comparable to that of a retired office all-in-one PC. The agent framework handled conversation management, task scheduling, and tool calls. Cloud APIs handled the computationally intensive model inference, leaving the NAS to act as the coordination hub.
That is the core of the hybrid architecture: keep inexpensive persistent storage at home and use the cloud for expensive computation.
For my budget and household workload, this was the most practical compromise. Renting cloud GPUs by the hour was too costly, while running everything locally would have significantly limited the model capabilities available to me.
2. Deployment: Containers and Persistent Storage
The host ran a NAS operating system, with the agent framework managed through Docker Compose. The setup contained just two containers:
services:webui: # Chat interface and conversation storagevolumes:- ./data:/app/dataapi: # Model calls and scheduled task managementvolumes:- ./data:/app/dataports:- "8080:8080"
The key design principle was simple: keep all persistent data—configuration, conversation databases, skill scripts, and logs—in the shared data volume.
This had three direct benefits:
- Containers could be replaced without losing state. Upgrades, crashes, and restarts did not erase conversation history or task configuration. Recreating the containers required only one command.
- Backups were straightforward. Regular snapshots of
./datacovered the persistent data without depending on the containers’ internal state. - Configuration stayed separate from code. Changing behavioral settings did not require rebuilding the images.
3. Costs: Usage-Based Billing Versus a Subscription
The billing model mattered not only to the budget but also to how readily I used the agent.
Usage-based billing
During the first three weeks, I paid by token and spent approximately CNY 66.
The problem was not simply the amount. Before asking the agent to process hundreds of photos, I would mentally calculate how much the next run might cost. That hesitation encouraged me to reduce task sizes, which meant I was not making full use of the system.
Subscription billing
I then switched to a subscription costing approximately CNY 72 per month. The plan still had a monthly allowance for model calls, but I used less than 20% of that allowance in the first month.
For roughly the same expenditure, I felt much more comfortable letting the agent work.
These figures describe the plan I used, rather than pricing or availability that readers should assume applies elsewhere. The broader lesson is about predictable costs: a fixed subscription can remove the feeling that every additional call is another expense, as long as usage remains within the allowance.
For me, that changed the agent from something I occasionally experimented with into a tool I could use routinely.
4. Real Tasks: What the Agent Actually Helped With
Two examples made the value of a home AI agent especially clear.
Troubleshooting a printer
The printer problem involved driver compatibility, interface code, and log analysis. As someone who was not a professional developer, I had tried to resolve it several times and eventually given up.
The agent worked through the problem by reading logs, looking up driver compatibility information, and generating test scripts. That step-by-step process ultimately resolved the issue.
Organizing 40,000 family photos
My family photo archive had become a backlog I had avoided for years.
The agent removed duplicates, consolidated the collection, sorted it by capture time, and generated a static web interface. I could then open a page, browse photos by year, and select individual images for printing.
A project that had felt too overwhelming to start became a series of manageable clicks.
These tasks shared a useful characteristic: they were not exceptionally difficult technically, but they involved a great deal of tedious work. That is where an agent can be particularly valuable. It does not have to make decisions for you; it can absorb the execution effort that keeps a task on your to-do list.
5. Lessons from the First Few Weeks
The first week was mostly an adjustment period. Meaningful output started in the second week. Several practices helped the system move from merely functional to genuinely useful.
Define requests in terms of verifiable results.
“Organize my photos” is too vague. “Create folders by capture year, delete exact duplicate files, and generate a static page with thumbnail previews” gives the agent a concrete outcome to work toward.Add rules after failures instead of immediately switching tools.
Whenever the agent made a mistake, I turned the lesson into an explicit constraint in the system prompt. As those rules accumulated, its behavior became more consistent.Expand scheduled tasks gradually.
I started with one daily notification and eventually reached six. After adding each task, I observed its stability for a week before expanding further.Monitor container health.
An always-on agent can hang. Container restart policies and log alerts are worth configuring for long-running operation.
6. Conclusion
Choosing a capable model matters, but so does moving beyond the demo stage.
Give the agent somewhere it can run continuously—even an old NAS—a predictable spending budget, and a set of real tasks you have been putting off. Then improve its behavior through use and a growing set of clear rules.
In my experience, a subscription made that process easier than usage-based billing because it reduced the hesitation around each new task.
The value of AI for everyday users is not just how intelligent it appears. It is its ability to turn “I know how to do this, but I keep avoiding it” into “It is done.”
