Posts tagged with #architecture
Farewell, Next.js — Part Two: Types All the Way Down
Part one left us with a small, server-rendered React frontend. Part two is the full-stack half of the bet: end-to-end types with no tRPC and no TanStack, a server that stays the single source of truth, and — because the stack is so light — a web app you install on a phone and can't tell from native.
Read moreFarewell, Next.js: Server-Rendered React in Five Dependencies
Next.js became the default — and then the tax. React 19's Server Components are now a primitive you can assemble yourself. We built a server-rendered React stack with five dependencies, end-to-end types with no tRPC, and an architecture that scales by removing tiers instead of adding them.
Read moreMCP Usage Pattern: Exposing a Vertical SaaS Agent Service Over MCP
A worked example: how the multi-tenancy patterns survive the move from an in-product chat surface to an MCP surface — without changing anything in the agent service itself. Same tools, same authz, same audit. New transport.
Read moreAgents vs Automation: Drawing the Right Boundary
Agents and automation aren't competing solutions to the same problem. Automation is the substrate agents act on; agents are an orchestration layer for ambiguity. Get the boundary wrong and you ship either a slow LLM monoculture or a brittle pipeline that fails at the soft edges.
Read moreMulti-Tenant Agent Architecture: A Reference Specification
Agent frameworks matured fast in 2025. Almost none of them were designed for multi-tenancy — the shape of every production B2B SaaS. A reference architecture and small vocabulary for agents that live inside real products.
Read moreThe Epic Journey from React State Management Despair to StateDream
The raw, unfiltered story of one team's descent into React state management hell, their desperate search for salvation, and the revolutionary solution they built that every frontend developer secretly craves.
Read more