← Back to Blog

Building The Coe Lab: A Personal Technology Laboratory

How I built a comprehensive homelab infrastructure with AI integration, automated monitoring, and self-hosted services.

The Coe Lab started as a simple idea: what if I could build a personal technology laboratory that combines infrastructure, AI, and automation into a cohesive system? Six months later, here's what I've built.

The Foundation: Docker on Linux

Everything runs in Docker containers on a Linux server with flexible storage virtualization, application hosting, and container management. Key benefits:

Core Services

Media Stack

AI Infrastructure

Infrastructure Services

The AI Integration Layer

What makes The Coe Lab different is the AI layer that ties everything together. OpenClaw acts as the central nervous system:

Automated Monitoring

Every hour, OpenClaw checks:

Results are posted to Discord's #TCL channel. If something's wrong, I know immediately.

Media Management

Every 30 minutes, the media manager:

On the first run, it cleaned up 10 dead torrents and triggered searches for 12 movies and 5 TV shows.

Node Recovery

My Windows gaming PC (LenovoGaming) runs OpenClaw Node for browser automation. If it goes offline:

  1. Hourly check detects the node is unreachable
  2. OpenClaw connects via WinRM (Windows Remote Management)
  3. Issues a reboot command
  4. Waits 90 seconds for the node to come back online
  5. Verifies the node is healthy before continuing

This has saved me multiple trips to the basement to manually reboot the machine.

Memory Architecture

The AI assistant needs context to be useful. Neo4j stores:

This allows conversational queries like "What's the status of the website project?" or "When is Jeni's birthday?" with accurate, contextual answers.

Website & Public Presence

The Coe Lab website (thecoelab.com) serves multiple purposes:

Built with Next.js 14, TypeScript, and Tailwind CSS, deployed as a static export to Nginx.

Key Design Principles

1. Automation First

If I do something twice manually, it gets automated. This applies to media management, health checks, backups, and even reboots.

2. Self-Healing

Systems should recover from failures automatically. The node reboot workflow is a perfect example—no human intervention needed.

3. Observability

Everything is monitored and logged. If something breaks, I want to know why. Grafana dashboards show trends over time, not just current status.

4. Documentation

Every service, script, and configuration is documented in markdown. Future-me (or anyone else) should be able to understand how things work.

5. Security by Default

Authelia protects all external-facing services. Tailscale provides encrypted remote access. Internal services don't expose ports unnecessarily.

What's Next

The roadmap includes:

Lessons Learned

Building this lab has taught me:

If you're building your own lab or have questions about any of these systems, I'm happy to share what I've learned. Reach out via the contact page or connect on Discord.