Building a Web Platform for 80 Sites
Case study: at Elanco (2019–21), I set web standards, built a self-service web accelerator, shared components across 80 sites, consolidated them into 3, then led the CMS migration through delivery.
$ cd ./topics/platform-ai
Golden paths, internal developer platforms, delivery metrics, and what changes when AI agents become users of the platform too.
63 notes🌱 37 seed🌿 26 growing🌳 0 evergreen
A platform is a product whose customers are developers. Its job is to make the right thing the easy thing: paved roads for building, testing, shipping and running software, so teams spend their energy on the problem in front of them rather than on plumbing.
What’s changing now is that some of those “developers” are AI agents. Agents need what people need (clear contracts, fast feedback, safe defaults, good observability), only more strictly, because they won’t ask in Slack when the docs are wrong. That’s the thread through this topic: platforms built for people turn out to be the best foundation for agents too.
hover to explore · click to open
Case study: at Elanco (2019–21), I set web standards, built a self-service web accelerator, shared components across 80 sites, consolidated them into 3, then led the CMS migration through delivery.
Case study — leading the UI of a low-code network automation platform where workflows are drawn as BPMN diagrams. Model-driven editing, server-side permissions and a catalogue of reusable building blocks.
Case study: a Node.js tool I built at Elanco in 2020 to move whole sites from Contentful to Kentico Kontent: export to disk, a work queue, batched streaming, adapter layers and resumable runs. It became open-source tooling and a guest post on Kontent's blog.
Case study — putting a declarative API gateway in front of a platform's microservices, owned from the front-end side. Versioned routes, stable names, one place for CORS, and validating locally before asking for anything.
AI's best use on a codebase isn't only shipping features faster. It's structure: modules, less duplication, reusable functions and, above all, explicit interfaces so nobody has to work things out at runtime. Pin shape, behaviour and users' mental models with tests so you can change safely, then change the mental model on purpose, with a learning curve that's guided and obvious.
When anyone with an AI model can decompile a game, root a TV or unlock a GPU feature, code stops being a moat. Expect more lock-down (DRM, streaming, server-side logic), and value moving to what can't be copied: operations, trust, data, licensed IP. Prompted by reports of Claude cutting off reverse-engineering tasks, and DLSS frame generation unlocked on RTX 30 cards.
In 2019 I fixed failing tests from a train with Termux. In 2026 the phone doesn't need to do the work at all: I SSH home and steer a coding agent from my pocket, with a cloud box and notes-as-triggers next.
Notes from a senior staff engineer's AMA on working with coding agents: learn the tools deeply, slow down to understand what AI tells you, fundamentals let you see through a leaky abstraction, review safety first, and staff+ is about scope and influence.
A first-90-days assessment from Team Topologies: what kind of team is this, where are its boundaries, and which interaction mode (collaboration, X-as-a-service, facilitating) each neighbour needs.
Six months apart, the last two Thoughtworks Radars tell one story. Vol. 33 wired agents into everything through MCP; Vol. 34 asks for the fundamentals back, with harnesses, zero trust and honest metrics, because AI is generating code faster than teams can understand it.
The fear that AI agents will wreak havoc in a large, complex codebase is reasonable. The answer isn't to ban them or to unleash them on critical paths: it's an adoption ladder that starts with low-risk, high-impact work, an architecture of small, well-bounded problem spaces, and guardrails the pipeline enforces. The same moves shrink the security blast radius.
Agent = model + harness. Skills turn an agent's work into the same phased lifecycle a delivery team already runs (define → plan → build → verify → review → ship), with evidence at every phase, so you can see which phase failed, teams adopt AI through a process they trust, and developers learn from the agent's reasoning.
Agents in long-lived codebases: draw green, yellow and red zones; write down only what the code can't say; lock today's behaviour with characterization tests before changing it; start with zero-risk work; finish migrations; turn repeated corrections into hooks and tests; parallelise last. Autonomy follows blast radius, not model confidence.
Four measures of software delivery, two for throughput and two for stability. In high-performing teams they improve together, so speed and safety aren't a trade-off.
Kent Beck's 3X model for how products grow (cheap experiments, then removing obstacles to growth, then harvesting what worked) and why platforms fail when they rush or skip a phase.
Most delivery problems start as requirements problems: a front end and a back end each building from their own reading of the same ticket. Statements of work, shared contracts, a definition of ready and a definition of done close that gap, and in the age of AI, ticket complexity is about uncertainty and verification, not typing.
Layer an agent's defences, start with PII, safety and irreversible actions, and choose deliberately where the human sits: in the loop, on the loop or above it.
Management, control and data planes and DDD bounded contexts are two lenses on the same platform. Planes split by when things change; contexts split by language and ownership. Contexts run vertically through the planes, and anti-corruption layers are where the two meet.
ReAct decides one step at a time from what it just observed; plan-and-execute writes the whole plan first and then runs it. Choose per agent, not per system.
The SLI is what you measure, the SLO is your target for it, the SLA is the promise with consequences — and the error budget turns all three into release decisions.
Replace a legacy system gradually: leave delivered work where it is, migrate only what's still relevant, and put every new use case on the new platform. The last rule is the one that actually shrinks the old system.
Buy what's generic, build platforms for supporting capabilities, and leave the core to product teams — Domain-Driven Design as a map for platform investment.
AI coding tools pull in more packages, tools and plugins than ever, and attackers can now generate convincing malicious ones at scale. What's already happening (slopsquatting, poisoned tools, hijacked projects) and a layered defence: control what gets in, put guardrails on agents, limit the blast radius, and make it executable.
In 2019 I went to two industry events, an AI conference and Big Data LDN, and wrote up what I heard: data is the new oil, edge inference, AI for business users. Read again in 2026, some of it was prophetic and some of it was the wrong bet.
A golden-path starter kit for websites: framework choices, shared components, deployment and docs baked into a template that teams provision themselves.
Hard-coding product rules in the front end is often the fastest route to production, and a trade-off whose debt compounds as products multiply. Business rules belong to the domain that owns them: when domain experts publish schemas, the UI becomes a framework that renders any product.
Systems often work while running differently from how the people around them believe they run. When setup lives in code and config, an AI agent in the loop can check those beliefs against reality: I found a bug by complimenting my own desktop.
A domain-driven design pattern: a translation layer between your bounded context and an upstream model you don't control, so its quirks and vocabulary never leak into yours.
Automated checks that fail the build when the architecture drifts, like a service importing a database driver directly. Cheap feedback that keeps a codebase on the shape it was designed for.
Visual tools drive adoption, then users build sprawling diagrams that need specialist skills and lack diffing, review and rollbacks. With AI writing good code, maybe platforms should describe and pilot software rather than be it.
Before drawing boxes, pin down the decision boundary, actions, tools, guardrails and memory; then design the architecture and plan for latency, hallucination, scale and integration.
ChainBuddy solves the blank-page problem with two phases: a cheap, fast conversational agent turns a vague request into a spec, then a planner/worker/connector backend builds the LLM-evaluation pipeline.
Define clear contracts at every layer (schema-first APIs, backend-driven payloads) so UIs update without code changes, low-code becomes possible, and AI agents have something solid to work against.
The opinionated, fully supported route from nothing to a running service. Optional, but so much easier than the alternatives that teams choose it.
The self-service layer a platform team offers product teams, run as a product with developers as customers. If you have to raise a ticket, it's a service desk, not a platform.
A container orchestration platform whose core idea is reconciliation: you declare the state you want, and control loops keep nudging the cluster towards it.
MACRS is a conversational recommender built from several agents that reflects on failed recommendations at two levels, simulates users with another agent, and beats single-agent systems. A good lesson in optimising the system, not just the model.
Being able to ask new questions of a running system from its outputs — logs, metrics and traces, tied to the SLOs that turn them into decisions.
Sell a platform with a business case, start small, pick the next teams by similarity and learning potential, and run each golden path through discovery, MVP, productionalisation and a repeatable onboarding loop.
AI accelerates knowledge work; platforms keep it aligned. Encode constraints once and apply them systematically so an organisation can move at AI speed while operating at enterprise scale.
Split model serving from the Node.js API tier so each scales to its strengths: vertically sized model servers replicated horizontally with predictive scaling, stateless Node behind an HPA, shadow then canary releases for new models.
A worked design exercise: turning reactive parking microservices (sensors, booking, users, notifications) into a proactive manager-worker multi-agent system with driver, zone, sensor and reservation agents.
Strategic design decides where to invest and where the boundaries sit; tactical design decides how to build inside them. Evolve from something simple, take small steps, dogfood, and treat cross-team chatter as a coupling bug.
Platforms provide capabilities, but they never fully reflect the realities of the domain, and friction lives in that gap. The next wave of platform engineering is about relevance, not features.
A platform should speak the language of the teams using it (payments, orders), not infrastructure (pods, sidecars). Every translation a developer has to do adds cognitive load and costs adoption.
Context is king: a lean project brief, plan before edit, a fresh context per feature, reusable skills and tool connections, small PRs, separate feature and debugging modes, and verification rather than letting the agent rip.
AI agents don't just write code; they need infrastructure to run it. Solid internal developer platforms are the building blocks of agentic ones, and without them organisations fall into one of three traps: blocked, ungoverned or bottlenecked.
In 2020 I wrote two posts, Next.js vs Gatsby and a list of React standards, while setting the web standards for a global estate of around 80 sites. What still holds, what aged, and why standards only work when they ship as defaults.
My 2022 post on deployment hooks argued for building every pull request on real infrastructure, but failing fast. What I'd add: preview environments, a quick PR tier and a thorough merge tier, and releases you can flip back.
Run two identical production environments, release to the idle one, then flip traffic, and flip back to roll back. Zero downtime, instant rollback, and a disaster-recovery rehearsal on every release.
A cloud platform translates what developers declare into what the cloud provides, by composition, lookup or model transformation, and keeps it true through an observe → analyse → act loop.
When a measure becomes a target, it ceases to be a good measure. Metrics are proxies, and people will optimise the number instead of the thing it stands for.
Platforms grow through discovery, not in one shot: balance breadth against depth, spiral upwards, publish the roadmap, design for people who join late, and let users shift gear when they outgrow the simple path.
A proposal: treat developer machines like any other infrastructure, with a shared baseline, personal overlays, versioned roles and a golden path that gets a new starter productive on day one.
An ansible-pull playbook that turns a fresh Ubuntu install into my dev machine: tagged tasks, pinned versions, a self-healing cron loop, and the idempotency lessons I learnt on the way.
Patterns for moving large amounts of data between systems without running out of memory or starting over: extract to a staging area, queue the work, stream in batches, adapt between models, and checkpoint everything.
A reactive TypeScript backend where your server functions are the API, so front end and back end stay in sync. A natural fit for building with coding agents.
Tendons adapt slower than muscles, and organisations adapt slower than code. Schedule the recovery week before an injury schedules it for you.
The best developer platforms feel like a good beginner programme — opinionated, safe, explained, and easy to leave once you know why.
You can't push volume and skill at the same time without something giving. Platform roadmaps work better when they alternate building capability with hardening it.
You don't add 40kg to the bar overnight, and you don't rewrite a system in one go — small, steady, measured increases win both times.
Draw a platform roadmap like a calisthenics skill tree — prerequisites, tiers and mastery levels — so it's obvious what's locked until the foundations are in.
A chatbot answers; an agent perceives a change, reasons about a goal, plans, and takes several actions with tools to get there.