How I use Nano-Claw to run local apps

How I use Nano-Claw to run local apps

Published on 4/8/2026

•

5 min read

•

NanoClaw is an open-source personal AI agent that connects Claude to the messaging apps you already use — running every session in an isolated container so the AI can only touch what you give it access to. This post covers how I used it to build two custom local apps for my family: a meal planner and a homeschool scheduler. Both run on my home network, cost nothing per message once set up, and are tailored to how my household actually operates.

I have two toddlers, a homeschool schedule, and a standing question of "what are we eating this week." I also have Claude Code and a weekend.

That turned out to be enough.

What is NanoClaw?

NanoClaw is an open-source personal AI agent — a bridge between Claude and the messaging apps you already use. WhatsApp, Discord, Telegram. You talk to it like you'd talk to a person, and it actually does things. Its a containerized and simplified alternative to OpenClaw.

What makes it different from most AI tooling is the security model. Every agent session runs in an isolated Linux container — Docker on Linux, Apple Container on macOS. The AI can only see what you explicitly mount into the container. There's no application-layer trust, no "don't worry, it won't touch that folder." The isolation is real.

The other thing worth noting: the entire codebase is 15 source files and roughly 3,900 lines of code. That's small enough to read in an afternoon. If you care about understanding what's running on your machine, that matters.

Setup is intentionally minimal — clone the repo, run /setup, let Claude Code handle the rest.

The Two Apps I Built

I've written before about meal planning and the system I use to keep food on-track for a household managing specific dietary needs. That system now has a dedicated app: NanoChef.

The other app is a homeschool scheduler I built for my kids. It knows their school schedule, their extra activities, nap time, and bedtime. Every morning it drafts a suggested agenda for the day. I review it, critique it via voice or by typing, and then print the final schedule for the kids to see at breakfast. If we need custom worksheets or activities, I can generate and print those too.

Both apps live as local web apps. Claude Code built them. I'm not exaggerating when I say that — I described what I needed, iterated, and ended up with two working tools tailored exactly to how my family operates.

The Architecture (Such As It Is)

Each app has a shared directory that I mount into the NanoClaw container. The agent can read and write to those directories, and so can I from my host machine. That's the whole trick — a shared filesystem as the handoff point between my apps and the AI.

For data storage, I'm using JSON. It's simple, the agent can ingest it easily, and Claude Code had no trouble working with it. Whether it's the right long-term choice, I genuinely don't know. It's working for now, and that's where I am.

How I Actually Interact With It

NanoClaw runs on Discord. I have a central channel where the agent has access to both data directories — so it can see my meal plan and the kids' schedule at the same time. If I ask "what are we doing today and what's for dinner," it has the full picture.

I also have app-specific channels for each app. In those, the agent's context is limited to just that app's data. That makes it more focused — better for targeted changes like swapping a meal or adjusting tomorrow's agenda — without the noise of everything else.

For the homeschool app, there's a daily scheduled job that runs automatically and drops a draft agenda into the channel. I wake up, look at it, make adjustments, and print. For NanoChef, I just talk to it — "I want something with chicken tonight" or "what can I make with what's in the fridge" — and it works from the meal data I've already set up.

Local vs. Cloud AI: The Trade-offs

| Factor | Local AI (self-hosted) | Cloud AI (hosted API) | |---|---|---| | Privacy | Data stays on your hardware | Data sent to provider servers | | Cost per message | $0 (after hardware) | Pay per token / subscription | | Setup effort | High — Docker, model hosting required | Low — API key only | | Model quality | Depends on hardware; smaller models | Access to frontier models (GPT-4, Claude) | | Offline capable | Yes | No | | Hardware required | 16GB+ RAM, GPU recommended | Any machine with internet | | Latency | Low on local network | Dependent on internet speed | | Customization | Full control | Limited to API parameters |

For personal apps where privacy matters and data is sensitive (family schedules, health info, meal data), a hybrid approach works well: use a hosted API for the intelligence layer while keeping all data storage and application logic on local hardware.

The Bigger Point

None of this required a dev team. It required motivation and an AI subscription.

Claude Code handled the application code. NanoClaw handled the agent infrastructure. I handled the part that no AI could — knowing exactly what my family needs and building toward that.

The personalization gap between enterprise software and real life is massive. Meal planning apps don't know my kid has a nap at 1pm. Homeschool planners don't know we do swim lessons on Thursdays. The tools that fit your actual life are the ones you build yourself — and that bar is lower now than it has ever been.

I'm still figuring parts of this out. The JSON question is real. The architecture is not elegant. But it runs every morning, and that's the point.

Frequently Asked Questions

What is a local-first AI app?
A local-first AI app is software that runs entirely on your own hardware rather than on a remote cloud server. The AI model, the application logic, and all your data stay on your local network — nothing is sent to an external service. This approach offers stronger privacy guarantees, eliminates subscription costs for cloud inference, and works without an internet connection. The trade-off is that setup requires more technical effort than using a hosted service.
What is NanoClaw and what does it do?
NanoClaw is an open-source personal AI agent that connects a large language model (Claude) to messaging apps you already use, including Discord, WhatsApp, and Telegram. It runs AI agent sessions in isolated Linux containers, so the AI can only access files and directories you explicitly mount into it. The entire codebase is under 4,000 lines, making it auditable by a single developer in an afternoon. Setup involves cloning the repository, running a setup command, and letting Claude Code configure the rest.
How do I run local AI apps on my home network?
To run local AI apps on your home network, you need a machine capable of running Docker containers (any modern Linux, Mac, or Windows machine works), an API key for a hosted model like Claude or a locally running model via Ollama, and a messaging app account for the interface. Tools like NanoClaw handle the agent infrastructure — you mount shared directories that both your app and the AI can read and write, then interact via natural language in your messaging app. JSON files work well as the data layer for personal-scale apps.
What are the benefits of local AI apps over cloud AI services?
Local AI apps keep your data on your own hardware rather than sending it to a third-party server — a significant advantage for personal or family data like meal plans, schedules, and health information. They also eliminate per-message API costs if you run the model locally, though setup and hardware costs are higher. Local apps can be customized exactly to your needs in ways that generic cloud products cannot, and they work without an internet connection once deployed.
What hardware do I need to run personal AI agents at home?
For personal AI agents that call a hosted API like Claude, any machine capable of running Docker is sufficient — a modern laptop or a Raspberry Pi 4 with 8GB RAM can work. For running local language models without an API, you need significantly more hardware: at minimum a machine with 16GB of RAM and ideally a GPU with 8GB+ of VRAM for usable inference speeds on modern models. Most people start with a hosted API for the intelligence layer and local hardware only for the application and data storage.