← Home
(Journal)

Writing

Notes on the systems I build — AI, backend, and performance.

Entries
5
Topics
3
Topic5 shown
  1. AI/2026-10-21

    Ronda: letting coding agents run their own board over MCP

    Every tracker assumes a human moves the cards. Once three CLI agents work in parallel across different repos, nobody does. Ronda exposes the board as MCP tools so the agent reports what it did and the card follows — leaving exactly one decision to the owner: deviations.

    9 min
  2. Business Transformation/2026-07-13

    Digitizing 40 retail outlets in 2 months: a distributed-monolith field report

    150+ staff, zero digitalization, patchy Kalimantan connectivity, a two-month clock. How I shipped five interconnected production systems — and what running them since taught me about integrity boundaries, AI-assisted OCR, and monitoring you actually read.

    14 min
  3. AI/2026-06-18

    One /v1 to rule them: designing a provider-agnostic AI gateway

    Sprinkling provider SDKs across services works until the day you switch models — then the change ripples through every call site. Here's the seam I put in instead: a single OpenAI-compatible gateway, a model router behind it, and a stable public contract that never leaks a model id.

    9 min
  4. AI/2026-05-30

    Structured output without the retries tax

    Asking a model for JSON and parsing whatever comes back is a coin flip, and retrying until it parses quietly triples your token bill. Schema injection plus one independent validation pass turns model output into a validated boundary — with predictable cost and predictable shape.

    7 min
  5. Performance/2026-05-02

    Real-time inventory: killing an N+1 across a nationwide retail network

    Stock views were minutes stale and reconciliation ran nightly. The instinct was to blame the servers. The actual culprit was the query layer — N+1 fan-out, unindexed joins on the hot path, and a non-idempotent sync doing the same work twice. No new hardware.

    8 min