Open-source setup needed 22 services just to run. Now the default is three containers.

Reddit r/AI_Agents Products

Summary

An open-source platform for testing and monitoring AI apps/agents reduced its default self-hosted setup from 22 services to three containers (app + Postgres + ClickHouse), running on a laptop with ~4GB Docker resources, while keeping the full production-scale architecture as an opt-in.

If you have ever tried to self-host an open-source product, you know the moment. You clone the repo, open the setup guide, and realize you have to stand up a dozen or more services before anything loads. A lot of people quit right there, before they ever see the thing run. Our own open-source platform (a tool for testing and keeping an eye on AI apps and agents) started out the same way, and for a reason that made sense at the time. Why the setup started out big We built the architecture around what a real production deployment needs: the traffic, the separate services, the pieces that have to scale on their own. Every one of them earned its place for running at scale. The catch is that someone just trying it on a laptop had to take all of that on before getting a single useful result. What the default looks like now We went back through the setup and asked one question of every service: does a first-time user need this running to get value? Most of the time the answer was no. The default is three containers. One app container holds the parts that do not need to scale separately, sitting next to Postgres and ClickHouse. It runs on a laptop with two CPUs and about 4 GB given to Docker. The first pull is around 800 MB. The bigger setup, the one that fans out into 22 services, is still there as an opt-in for running in production. Outside connections are optional too. Nothing external has to be set up to run locally, and each integration stays off until you add its key. Two things this made us rethink The first install matters as much as the features behind it. We had been treating setup as something you get through on the way to the product. For an open-source project, the setup is the product for the first ten minutes, and those ten minutes decide whether anyone sticks around. Cutting the service count is an architecture problem. Repackaging alone would not have done it. Working out what can share a container and what still has to stand on its own sent us back into the core design more than once. Cramming everything into one giant image would have been the shortcut. Splitting it so the simple path and the scale path both hold up took the most effort. One question for anyone who self-hosts things: what is the most setup you will sit through before you give up on it?
Original Article

Similar Articles

My Homelab AI Dev Platform

Hacker News Top

The author describes setting up an AI dev platform in his homelab using OpenCode Web UI with Git access, enabling AI-assisted maintenance of Docker services via PR review and GitOps deployment.