Articles
96% Token Reduction - Lazy-Loading Agent Context
How we cut session startup token consumption by 96% by switching from eager document loading to an index-and-fetch pattern.
From Monolith to Microworker - Decommissioning the Relay
We deleted a 3,234-line Cloudflare Worker, its database, and its storage bucket. Here is what we learned about scope creep in serverless architectures.
Staging Environments for AI Agents
A 4-phase environment strategy for AI agent infrastructure - Cloudflare splits, automated CI/CD, scoped secrets, and agent-aware routing.
Sessions as First-Class Citizens - Heartbeats, Handoffs, and Abandoned Work
Why we gave AI agent sessions heartbeats, idempotent handoff storage, and a full lifecycle - the same reliability patterns used in distributed systems.
Building an MCP Server for Workflow Orchestration
A practical walkthrough of building an MCP server that bridges an AI coding CLI to a custom backend API, with lessons on tool design and fleet deployment.
Secrets Injection at Agent Launch Time
How a CLI launcher scans repos, matches them to projects, and injects the right secrets without .env files or hardcoded credentials.
Fleet Management for One Person
How a solo founder manages a distributed dev fleet with Tailscale, idempotent bootstrap scripts, SSH mesh networking, and macOS hardening.
One Monorepo, Multiple Ventures - Registry-Driven Multi-Tenant Infrastructure
How a JSON venture registry with capability flags lets a single monorepo serve multiple products without infrastructure sprawl or cross-contamination.
Multi-Agent Team Protocols Without Chaos
How we coordinate dev agents, PM agents, an advisor, and a human captain using namespaced labels, QA grading, and explicit role boundaries.