Skip to content

ModernApps

Code to Production 01: The System on One Page

You can't copy a delivery pipeline you can't see whole, so this post puts all of eShop on one page: 4 services, 6 repositories, 3 environments on 1 cluster, and every gate between an issue and production. eShop is a real, running reference system on Nutanix Kubernetes Platform, and the next seven posts each take one slice of it. Read this one first and the rest will have somewhere to land.

Code to Production 02: Ways of Working, from Issue to Merge

A coding agent writes eShop's issue #3 change. A person writes the issue, reads 12 lines, presses Merge and checks the result in dev. That works because the rules are written in the repositories and the limits are enforced by GitLab, not by anyone's memory. This post is the whole working agreement: six repositories, one tracker, short branches, signed commits, and the steps an agent never gets to do.

Code to Production 03: CI Gates Before Review

A reviewer's time is the most expensive check you have, so in eShop six jobs of machine gates run before a human opens the diff, and they finish in a minute or two. Every gate is a script that runs the same on a laptop and in CI, and every exception to a gate is a line with a reason and an expiry date. This post is the pipeline, each gate with its real output, and the pitfalls each guard is there for.

Code to Production 04: Image Gates and the Supply Chain

An image that hasn't run, been scanned and been signed doesn't exist in eShop's registry, and an image the pipeline's key didn't sign doesn't start in the cluster. One CI job does the first half, one admission webhook does the second. This post walks both, with the real logs and the four pitfalls the setup guards against.

Code to Production 06: The Platform on NKP

Take everything the platform gives you, bring your own piece only where its version doesn't fit, and put every cluster-wide change in one script a person runs. That's the whole platform design for eShop on Nutanix Kubernetes Platform (NKP) 2.19.1. This post shows the cluster layout, the three identities, the Gateway, the data, the Secrets, and the pitfalls each part guards against.

Code to Production 07: Observability, Metrics to Traces to Alerts

eShop's services contain zero lines of metrics code, and the dashboards still show rate, errors and duration for every route. The trick is to trace every request and compute the numbers from the spans. This post covers that setup on NKP, the queries that join one request across three stores, and the part most teams skip: watching the delivery system itself.

Code to Production 08: Operations, Rebuilds and What Production Would Change

A delivery system is done when someone else can run it, renew it and rebuild it from Git, not when it first deploys. eShop's runbooks, scripts and rebuild document all live in eshop-infra, so the whole system can be recreated from the repositories. This closer covers the runbooks, Renovate, the credential map, troubleshooting, and the honest list of what's lab-only.

AI Agent Application Demo: Putting a Brain Inside Your App

Source code: github.com/pkhamdee/coffee-agent

For decades we've built applications the same way: write a function, call the next function, handle each case with an if statement. The logic is explicit, deterministic, and completely predictable — a flowchart carved into code.

That model has a hard ceiling. When a user says something ambiguous, changes their mind mid-conversation, or combines requests in ways you didn't anticipate, the rigid-logic app breaks down. You write more and more special-case handling until the code becomes unmaintainable.

AI agents flip this model. You give your application a reasoning engine — a brain — and let it figure out what to do. This post walks through a real, runnable example: Coffee Agent, a coffee shop ordering chatbot built with NestJS, React, LangGraph, and a local LLM on Ollama.

Tech Stack of a Modern AI App in 2026: The Complete Layer-by-Layer Guide

Everyone wants to build an AI app. Most people start with the same two lines:

import openai
response = openai.chat.completions.create(...)

That works for a demo. It does not work for a product. The moment you try to serve real users, you run into a wall of unanswered questions: Where does your data live? How do you keep the model's knowledge fresh? How do you know when it starts giving bad answers? How do you deploy it without rewriting everything from scratch every time the model changes?

A production AI application in 2026 is not a Python script. It's a 10-layer system — each layer solving a specific class of problem, each with its own ecosystem of tools.

This post is the map. We'll walk every layer from the ground up: what problem it solves, which tools the industry has standardized on, and how the layers connect. By the end, you'll be able to look at any real-world AI product and name exactly what's running inside it.