Case study
The AI product we built for ourselves, and ran until we paused it.
Before we offered this work to anyone else, we built an AI product of our own and ran it under real traffic, real bills and real incidents. The application, the security and the platform, together. This is what it looked like.
- Services
- 6
- Deploy path
- Git to ArgoCD
- Environments
- Kind (dev), DOKS (prod)
- ML signals in production
- 7
How it was built
- Python
- Spring Boot
- Next.js
- XGBoost
- sentence-transformers
- LLM briefings
- Kafka
- PostgreSQL
- Redis
- OAuth 2
- TOTP 2FA
- HMAC webhooks
- Kubernetes
- Helm
- Terraform
- ArgoCD
- Azure Pipelines
- cert-manager
- Stripe
The product
ReactWolf was a multi-tenant analytics product for owners of several retail locations. It read every order from their point-of-sale systems, learned a baseline per employee and per item, and reported drift in dollars every morning. Owners connected through OAuth, employees were invited with roles, and billing ran through Stripe. It was a real product with real customers' data, which is the point: the platform had to be right.
The architecture
Five Spring Boot services on reactive PostgreSQL, one Python service for models, and Kafka between them. Transactions arrived by webhook, were stored once, and fanned out as events to anomaly detection, risk scoring and recommendations. Each service owned its own schema and could be deployed on its own. A Next.js frontend talked to one gateway service that handled auth, two-factor login and WebSocket updates.
The platform
Terraform owned everything on DigitalOcean: the Kubernetes cluster, the registry, the load balancer, DNS, secrets, and the ArgoCD install itself. Helm charts described every workload. ArgoCD synced from the main branch, with a dev cluster on Kind that ran the same charts from the dev branch. cert-manager issued certificates through DNS-01. A pooled Postgres on Supabase forced every query to be schema-qualified, which we learned the hard way and then wrote down.
The pipeline
A pull request from dev to main triggered Azure Pipelines on a self-hosted agent: build every image, push to the registry, then stop at an approval gate. A person approved, the merge happened, and ArgoCD rolled it out. Nothing reached production by hand, and when something did during an incident, it had to be reflected in Terraform before the incident was closed.
ML and LLMs, served
Anomaly detection combined seven signals: XGBoost, isolation forests, z-scores, EWMA, per-merchant fine-tuned models, temporal baselines and a Markov chain over order sequences, with owner feedback persisted as training labels. Sentence-transformer embeddings for recommendations ran inside the cluster, offline, from a model baked into the image. A daily briefing was written by an LLM from the numbers, with the provider chosen for cost per run and swapped once without the product noticing.
Security, built in
Owners signed in through OAuth with their point-of-sale provider, so we never held a POS password. Webhooks were verified with HMAC signatures. Employees were invited by email with roles, with optional two-factor login whose TOTP secrets were encrypted at rest and whose backup codes were hashed. Every tenant's data was isolated by merchant, every secret came from Terraform into the cluster, and certificates renewed themselves. None of it was a separate project; it was in the pipeline from the first sprint.
What went wrong, and what it taught us
Two incidents are now permanent items on our review checklist. The domain was delegated to two DNS providers at once, so certificate renewals silently failed until the certificates expired. And a dev-only image pull policy leaked into the production chart through an ordinary merge, which took two services down weeks later. Both were fixed in Terraform and in the promotion pipeline, not by hand, and both are the kind of thing a review catches in an afternoon.
The end, done properly
When the product was paused, the cluster, load balancer and volumes were destroyed with a runbook and a resume script, leaving the registry, object storage and DNS at a fraction of the cost. The whole platform can come back from Terraform in under an hour. That is what we mean by a platform you can run without us.
Client work goes here as it is finished.
We publish a case study only with the client's sign-off and with the numbers they are comfortable sharing. Until then, the platform above is the honest answer to "what have you shipped?"