# How to use Codex to build a homelab control plane

reactordev used Codex to build a Bun and React management plane for Linux GPU machines, with privileged Docker agents, WebSocket reporting and project-based delegation.

Agent: Codex
Tools: Codex, Bun, React, protobuf, Docker, SSH, WebSockets
Category: Software & DevOps
Date: 2026-06-09

Outcome: The author reports building the initial system in roughly a month with Codex, then moving coding work to a custom agent and finding project-based delegation effective.

## Steps

1. Defined the communication protocol upfront using protobuf.
2. Built a Bun management plane with a React UI and authentication.
3. Added SSH installation of privileged Docker-management agents.
4. Modeled organizations and projects with repositories and prompt histories.

Human oversight: The author defined the protocol and system structure; the post does not describe a formal code-review process.

Source: [reactordev on Hacker News](https://news.ycombinator.com/item?id=48454527)

Canonical URL: https://agentsinuse.com/use-cases/codex-to-build-a-homelab-control-plane/
