← back to portfolio

Case Study / FIG. C2

A Multi-Node Homelab — Trading Platform, Agent Orchestration & Local-First LLM Inference

Role Sole engineer, architecture through deployment Stack Docker Compose, FastAPI, PostgreSQL/TimescaleDB, Redis, Ollama, Cloudflare Tunnel

Context

Alongside the home automation work, I design and operate a small distributed homelab spanning several always-on nodes, running three production-grade services: tickerTap (an AI-assisted trading platform), an AI agent orchestration stack, and a local multi-agent reasoning swarm — without relying on a single cloud provider for compute or inference.

tickerTap — a Bloomberg-terminal-inspired trading platform

FastAPI async backend plus a React 19 SPA, backed by PostgreSQL/TimescaleDB for time-series-heavy financial data and Redis for caching. Background work runs through arq workers — trading, paper-trading, alerting, and market scanning — each reporting an independent heartbeat over Redis so a stalled worker is visible before it silently stops mattering.

Local-first AI orchestration

A separate agent stack coordinates n8n workflow automation, a Postgres+pgvector store, and Redis, alongside a monitoring service that runs health checks, tracks resource usage, and can Wake-on-LAN idle compute rather than leaving it running around the clock. A different multi-agent reasoning swarm — a Logician / Devil / Aggregator pattern — runs entirely on local hardware via Ollama: no API key, no per-token billing, no outbound dependency on a single vendor for the reasoning loop itself.

Deployment approach

The common thread across all three systems is the same: keep inference and orchestration local and observable, keep secrets and state out of source control, and treat "how do I expose this safely" as a first-class design decision rather than an afterthought bolted on before launch.