hn.today

Self-hosted software development factory

kudmitry.com75 points37 comments
Screenshot of Self-hosted software development factory

The setup moves AI-assisted development from a laptop to an always-on, remotely accessible home server, with isolated, disposable virtual machines for individual projects. It runs on a refurbished Dell Optiplex Micro with Proxmox, alongside an existing Proxmox host. The design prioritizes self-hosted services, minimal manual setup, and limiting what a compromised agent can reach. Separate network segments isolate development VMs from supporting services and CI runners; DNS and DHCP are handled by Technitium, with a small relay bridging VLANs. Forgejo provides Git hosting and CI, while its runner is placed on a separate, highly restricted network. Deployments use Semaphore instead of CI secrets, and an Infisical-based proxy supplies API keys without storing them on agent machines.

VM creation is automated by Kamino, which combines Proxmox cloud-init, Ansible, dotfiles, repository access, and per-VM secret provisioning. Agents are monitored through tmux, and work can begin either in an interactive session or from a Forgejo issue: labels direct the agent through research, planning, or implementation, while persistent sessions can resume after a VM restarts. A custom harness called Tipoca listens for Forgejo events and launches Claude sessions in isolated Git worktrees. Recurring jobs are defined as Markdown files with schedules and limits on outputs, then run through systemd timers. The overall aim is controlled autonomy: agents can produce changes and proposed work, while human review remains central to what reaches the main branch and gets deployed.

Read on kudmitry.com37 comments on Hacker News

Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.

More in AI

The daily digest

Today's best Hacker News stories, summarized and screenshotted, one email a day.