02Project
Afterlab
A self-hosted personal lab that connects infrastructure, physical devices, telemetry and AI into a single evolving system.


The premise
Beyond a home lab.
It began as a home lab. Over time I wanted to go further than checking whether services were running: could the environment observe its own state, remember what had happened, and connect its software with physical devices and a useful intelligent interface?
Afterlab became the architecture for exploring that question — a personal system built to evolve without turning every experiment into another isolated tool. Infrastructure monitoring, device state, knowledge, automation, physical interfaces and AI can each evolve on their own while sharing the same underlying system.
It is built for one operator. There is no sign-up, no multi-tenancy and no public surface beyond the private web panel.
At a glance
- Firmware devices on the network
- 7
- Host sampling: CPU, RAM, disk, temperature
- 5min
- Of host history, read as history
- 90days
- Independent access gates
- 2
As of November 2026.
Architecture
One system, multiple layers.
the lab’s own consumed or outside it gate the Agent: the one authority
01
Core
A self-hosted MiniPC runs the core services in Docker. At the centre, a FastAPI Agent is the operational authority: it sits between infrastructure, stored state and physical devices, and owns every write.
Pixel, Mission Control and the Knowledge Vault live beside it. Mosquitto, Ollama, Open WebUI with Whisper and Uptime Kuma are consumed, not managed; Docker is read only.
02
Physical layer
Devices such as the Pixel CrowPanel, Afterlab ADV and the ESP32 sensor nodes publish their own state over MQTT and consume information from the wider system. Personal computers and the ADV use a paired device token instead of the web login.
Devices — nodes detected over MQTT. Real capture, demo data. 03
Data and access
The web panel runs separately on Hetzner and never talks to the MiniPC directly. Cloudflare Access only admits the web server, with a token the browser never sees; the Agent then checks the user against Supabase auth.
Supabase provides authentication and durable application data, written only by the Agent.
04
The whole system
These are not standalone demos. They speak through one architecture and are designed to become more useful as the system gains context.
Devices · 8
- Lab NodeMQTTNeoPixel · PIR · IR
- Door NodeMQTTreed · lux
- MeteolabMQTTDHT22 · OLED
- AfterDeckMQTTdisplay · diagnostics
- Pixel V1MQTTTFT · audio
- Pixel CrowPanelMQTTESP32-P4 · voice · WS
- Afterlab ADVMQTT + device tokenCardputer
- PC agentsdevice tokenChrome · Fedora · Linux
MQTT ↓Seven devices publish their state to Mosquitto on the MiniPC; the Agent takes it from there.
HTTPS · device token ↓The ADV and the PC agents call the Agent through the web gateway, Access and the tunnel (below) — not a browser session.
MiniPC · Docker · Portainer
Afterlab Agent
FastAPI · the operational authority
Verifies the user, owns every write, rate-limits devices; never runs arbitrary shell or mutates Docker.
Beside it
- Pixelchat · voice · deterministic tools · planner
- Mission Control & telemetryruntime registry · API traffic · host history
- Knowledge VaultMarkdown notes · graph · optional RAG index
Consumed, not managed
- Mosquitto
- Ollama
- Open WebUI + Whisper
- Uptime Kuma
- Docker · read only
Reached outbound
- TelegramPixel chat · long polling
- External APIsElevenLabs · Google (read only) · GitHub · WordPress connector
JWT · writes ↓The Agent checks the user against Supabase auth and is the only writer of its durable data.
Tunnel ↑Cloudflare Tunnel carries what Access admits to the Agent: the web panel’s only way in.
Cloud
- User gateSupabaseAuth JWT checked by the Agent · durable data written only by the Agent
- Machine gateCloudflare Access + TunnelAdmits only the web server, with a service token the browser never sees
- ↑ service token
- Hetzner · CoolifyAfterlab WebReact SPA · nginx gateway
- ↑ /api/* · same-origin
- BrowserRuns the React panel; never contacts the MiniPC.
Observability
Making the system readable.
Mission Control, the window this page opens with, is the operational view of the lab. It observes; it doesn’t act on its own.
What it watches
Attention
Runtime
Traffic & planner
Review & actions

How it is recorded
5 min
Host data — CPU, RAM, disk and temperature — is sampled every five minutes.
Why it is kept
90 days
Kept for 90 days, so it reads as history rather than only as a live snapshot.
Intelligence · evidence
Facts first. Models second.
When Pixel answers a question about the lab, deterministic reads come first. The facts about the system come from verified reads, not from generated text.

Query path · schematic
Question
“How is the MiniPC’s RAM?”
Asked by text or voice.
Closed reads
One tool, or two or three
A simple question uses a single deterministic read; one that mixes current state with history is composed from two or three closed reads.
Agent
Verified state and history
The Agent returns the facts: live state, host samples, device state.
Answer
Composed from the evidence
The model may phrase it; its numbers can never replace the values the Agent verified.
Intelligence · memory
A system that remembers more than the last conversation.

Project Memory
Persistent project context designed to survive individual conversations, with a 30-day freshness window.
Knowledge Vault
Markdown notes and raw captures on disk: ideas, concepts and long-term context, with a graph and an optional RAG index.
Three sources, not interchangeable
- Current state
- verified by the Agent
- Operational history
- telemetry and activity
- Contextual knowledge
- memory and the Vault
Engineering decisions
Intelligence with boundaries.
01 · Browser
The React panel on Hetzner calls same-origin /api/* through its nginx gateway.
Passes on: /api/*02 · Machine gate
Cloudflare Access admits only the web server, with a service token kept server-side.
Passes on: Tunnel03 · User gate
The Agent verifies the Supabase JWT: is this me?
Passes on: verified user04 · Defined operations
Only the reads and writes the Agent defines. No arbitrary shell; Docker read only.
A separate route for devices: the ADV and PC agents reach the Agent over HTTPS with a paired device token, not a browser session.
No direct browser access
The Agent owns the writes
Verified facts stay authoritative
Evolution
A system built in layers.
Over 1,500 commits in its first two months and more than 4,800 automated Agent tests (recorded November 2026).
Aug 2026
Connected foundation
Core services, the Agent, Telegram and MQTT begin operating as one system.
Core
Aug–Sep 2026
Physical layer
ESP32 nodes, AfterDeck, ADV, CrowPanel and the Fedora desktop join the environment.
Devices
Sep 2026
Persistent context
Knowledge Vault and Project Memory add long-lived contextual state.
Memory
Sep 2026
Mission Control
Runtime state, devices and operational telemetry gain a dedicated interface.
Observability
Oct 2026
Historical telemetry
CPU, RAM, temperature and disk data are stored and queried over time.
Observability
Oct 2026
Pixel planning
Deterministic composition and an experimental planner decide which sources answer each question.
Intelligence
Research
Two experiments.
Tools & Stack
- Core
- Python · FastAPI · Docker · Portainer
- Interface
- React · TypeScript · nginx
- Data & auth
- Supabase
- Messaging & hardware
- Mosquitto (MQTT) · ESP32 · Arduino · Adafruit · Raspberry Pi
- Infrastructure & access
- Fedora · Hetzner · Coolify · Cloudflare Access + Tunnel
- AI & audio
- Ollama · OpenAI · ElevenLabs · Whisper
- Plus read-only Google, GitHub and a WordPress connector.
An evolving environment.
Afterlab is a working environment, but never a finished system. Each new device, dataset and experiment tests the same idea: how can a personal computing environment become more observable, more contextual and more useful without losing control of its own boundaries?
Next: historical telemetry to tell temporary events from meaningful changes, device state that is contextual rather than online or offline, and a Pixel that understands enough to surface what matters and choose the right tools.