An opinionated, evidence-backed path from one useful home server to a resilient, AI-capable homelab.
Read the maintained guide at homelab.codes/guide, or use this repository as the complete GitHub-native mirror.
This is a guide to making decisions, not a catalog of every product you could install. Start with a problem worth solving. Add the smallest system that solves it. Earn every extra layer through a real need: isolation, recovery, scale, learning, or household value.
The whole design is drawn as five architect-style plates. Each plate is a working sheet. Read them in order, or jump to the one you are about to build.
The lab follows from three answers. If you cannot name a person the service is for, a folder that cannot be recreated, or an hour that must keep working, the architecture is guessing. Start by writing the three answers down. Read plan before you buy next.
One box, one owner, one flagship service. One backup on a different failure domain. One restore that has worked, dated in a ledger you can find. One alert that reaches you when the service or the backup fails. That is a complete first lab. See choose hardware by role and choose the platform.
Choose the path closest to your actual goal:
| Goal | Start with | Add next only when needed |
|---|---|---|
| Learn Linux and networking | An existing PC or small mini PC running Debian or Ubuntu | Docker Compose, monitoring, then virtualization |
| Run useful household services | One maintainable host, Compose, backups, and remote access | Separate storage and compute when failures become expensive |
| Build a serious infrastructure lab | Proxmox VE, source-of-truth inventory, configuration management, and tested recovery | Clustering, segmented networks, and Kubernetes for a defined learning goal |
| Explore local AI and agents | A separate inference host or workstation plus a narrow API boundary | Tool access, approval gates, audit evidence, and bounded autonomous loops |
If you are buying hardware before you can name the first workload and its recovery plan, pause. The best first homelab is usually the computer you already own.
- Set goals, constraints, and a budget
- Choose hardware by role
- Choose a platform
- Design the network and access model
- Protect storage and prove recovery
- Build identity, secrets, and patching into the design
- Pick services that create real value
- Operate what you install
- Move from manual work to a control plane
- Add local AI and an agentic operations harness
- Grow, experiment, and share responsibly
A trust boundary is a wall with named doors. Deny cross-zone by default. Allow each documented flow with the specific port, direction, and identity that should use it. Keep administration inside the core and reachable only from a private mesh. See design the network and build security into the design.
A backup is a claim. A restore is evidence. Target 3-2-1-1-0: three copies, two media or failure domains, one off-site, one offline or immutable, zero unverified errors. Record each restore on a clean target with a dated, checksum-matched ledger row. See protect storage and prove recovery.
The agent came last. I made the lab legible first: inventory, structured commands, dry runs, health gates, and recovery paths. Routine work got faster. Failures got easier to explain. When policy, previews, and evidence already surrounded every consequential command, the agent could use the same typed operations I already trusted. See build a control plane and add local AI and an agentic operations harness.
- Applications: Docker Engine with current
docker composeon one Linux host. - Mixed workloads: Proxmox VE when virtual machines, passthrough, snapshots, or isolation earn the hypervisor layer.
- Kubernetes: K3s when learning or multi-node scheduling is the stated goal, not as the default way to run five containers.
- Storage: OpenZFS through TrueNAS Community Edition or a deliberately managed host when data integrity matters.
- Recovery: native application exports, encrypted repository backups, a separate off-site or offline copy, and tested restores.
- Remote access: a private WireGuard-based overlay such as Tailscale before exposing administrative ports.
- Observability: reachability, host metrics, job heartbeats, and alerts before adopting a large telemetry stack.
- Local AI: choose hardware by usable accelerator memory and workload, then keep inference separate from household-critical infrastructure where practical.
The reviewed recommendations registry records 26 core infrastructure and flagship-service choices, their roles, project locations, and last-reviewed dates. Individual guides cite the primary evidence behind additional specialist choices. Automated checks catch obvious drift; humans still make recommendation decisions.
The first version was written in 2023 while I was building my own lab. The goals-first journey still holds. The long product lists and decorative AI images did not.
This rebuild replaces them with:
- decision frameworks instead of name dumps;
- current project-health and community evidence;
- architecture drawings with editable, deterministic sources;
- recovery, power, and operations as first-class design work;
- local AI and agentic operations with explicit safety boundaries;
- five architect-style plates whose SVGs are produced from the same TypeScript source the interactive site renders; and
- short field notes from a real homelab with hostnames, addresses, topology, and identifiers removed.
The full retirement and replacement plan for every legacy visual is in docs/visual-replacement-ledger.md.
Official documentation and release history establish what a project is and whether it is supported. Practitioner evidence establishes how it behaves in real homelabs. Popularity helps discover candidates. It is never enough by itself.
Every recommendation is checked for maintenance state, license, documentation, upgrade and export paths, operational cost, security posture, and fit for the reader's goal. The dated research notes show the review method and representative practitioner evidence. See Contributing for the full standard.
Prose and visual assets are licensed under CC BY 4.0. Repository tooling is licensed under MIT.




