Self-Hosted AI Agent Ships Tested App From Single Prompt

The 30-Second Skim
- What happened: A hobbyist built a fully self-hosted agentic development environment on home hardware that takes a single prompt and ships a tested, deployed web app with no further human intervention, costing just a £20/month OpenAI Codex subscription.
- Key facts & numbers: The author built a self-hosted AI software factory on a 2021 10th-gen i7 with 32GB RAM, kept isolated from a production 2014 homelab running ~45 Docker containers, after Claude "one-shotted" a weights tracker but made them uneasy about root access. The Hermes agent received a single prompt for a calorie-tracking SvelteKit app with Drizzle, Postgres and Tailwind, then autonomously created the repo, wrote code and tests, got CI green and deployed via Docker Compose — only one follow-up prompt was needed to fix a CSRF bug. The networking layer uses Tailscale with an older server as exit node, Pi-hole for internal DNS, and DNS-01 ACME challenges via the Porkbun API to issue SSL certs for vanity subdomains without exposing public A/AAAA records.
- What happens next: The framing is 'look, an autonomous coder,' but most of the post is Pi-hole rules and ghost SSL certs — the real story is keeping the LLM from rm -rf'ing the homelab.
- The author built a self-hosted AI software factory on a 2021 10th-gen i7 with 32GB RAM, kept isolated from a production 2014 homelab running ~45 Docker containers, after Claude "one-shotted" a weights tracker but made them uneasy about root access.
- The Hermes agent received a single prompt for a calorie-tracking SvelteKit app with Drizzle, Postgres and Tailwind, then autonomously created the repo, wrote code and tests, got CI green and deployed via Docker Compose — only one follow-up prompt was needed to fix a CSRF bug.
- The networking layer uses Tailscale with an older server as exit node, Pi-hole for internal DNS, and DNS-01 ACME challenges via the Porkbun API to issue SSL certs for vanity subdomains without exposing public A/AAAA records.
- Forgejo replaced GitHub as the code host and CI runner so the sandbox box never sees a GitHub token — a trade-off the author calls "yours to make."
Why It Matters
For solo developers, a £20/month Codex sub on spare home hardware replaces what would normally be a full cloud DevOps bill. The more instructive story is the isolation: the agent runs on separate metal with no public ingress, so a runaway command costs hours, not the whole homelab — a reproducible blueprint for sandboxed agentic coding.
Sources Cited
- Hacker News — A self hosted AI software factory
Related Coverage
Ask SkimNews