Overview

Architecture
- AI Agent (OpenClaw): A containerized agent running on the Raspberry Pi. It interprets the client's messages, makes the necessary changes to the site files, and triggers a new deployment to Cloudflare Pages.
- Raspberry Pi 3B+: Acts as the always-on server. A custom Docker image was built and optimized to run the agent within 500 MB of RAM, well within the 1 GB limit of the Pi 3B+.
- Cloudflare Pages: Hosts the static site on the free tier. The agent commits and pushes changes, and Cloudflare automatically rebuilds and publishes the updated site.
Key Results
- No VPS needed: The Raspberry Pi 3B+ replaces a cloud server entirely, eliminating monthly hosting costs.
- Optimized Docker image: The custom image was tuned to use only the resources strictly necessary, keeping memory usage under 500 MB and enabling stable operation on commodity hardware.
- Ultra-low power draw: The Raspberry Pi 3B+ consumes approximately 2 W at idle. Running 24/7 at 0.30 EUR/kWh, the annual electricity cost is roughly 7 EUR/year.
- Effectively zero operating cost: The client has a solar panel installation, so the real cost of running the agent is €0/year beyond the one-time hardware purchase.
- No extra API costs: The agent is connected directly to the client's own OpenAI account (openai-codex / GPT-5.4). There is no intermediary layer adding markup to API usage.
- Zero technical knowledge required: The client operates the system entirely through conversational messages, just as they would send a text.
Technologies
- OpenClaw: Agent framework, containerized via Docker
- Docker: Custom image with external volume mounts and resource constraints
- Raspberry Pi 3B+: ARM hardware, 1 GB RAM, 2 W idle
- OpenAI API (openai-codex / GPT-5.4): LLM backbone, billed directly to the client's account
- Cloudflare Pages: Static site hosting, free tier, automated deployments via Git

