Reliable systems for data and AI

I’m Jack, a TiDB maintainer and distributed systems engineer. I write about transaction correctness, storage, agent runtimes, and AI infrastructure.

Selected paths: Distributed systems · Agent systems · Inference systems

Featured: Reading TiDB source code · Designing agentd · OceanBase internals

Explore selected systems work →

From One-Time Porting to Incremental Updates: Portsmith Go and Pith

Pith now powers Portsmith Go, the migration tool used to update Pith from upstream Pi. Two accepted increments show how source ownership, frozen tests, and recovery turn a first port into a maintenance workflow.

October 14, 2026 · 9 min · 1819 words · Jack Yu

Porting Pi to Go: Building Portsmith and Pith

A field report on using Pi and DeepSeek to migrate selected Pi components to Go: 26 accepted steps, three module commits, and the evidence behind the result.

September 29, 2026 · 8 min · 1600 words · Jack Yu

Inside My GMK and Lightsail Homelab

How I connect a GMK home server and a small Lightsail instance to run personal agents, local inference, messaging, and a shared virtual world—with private networking, external monitoring, and tested recovery.

September 19, 2026 · 12 min · 2376 words · Jack Yu

agentd: A Transport-Neutral Runtime for Personal Agents

Why agentd treats turns, scoped execution, atomic finalization, and delivery as runtime contracts rather than transport details.

August 15, 2026 · 9 min · 1888 words · Jack Yu

mood-midi-mlx: A Small MLX Loop for Symbolic MIDI Generation

mood-midi-mlx is a first-pass Apple MLX project for mood-conditioned symbolic MIDI generation.

June 12, 2026 · 2 min · 331 words · Jack Yu

driftloop: Browser Generative Music Without a Backend

driftloop is a pure-frontend generative music app that composes and synthesizes continuous multi-instrument background music in the browser.

June 11, 2026 · 2 min · 332 words · Jack Yu

Nightfall: A Browser Referee for AI Werewolf

Nightfall is a web-based AI Werewolf platform where the browser is the referee and agentd supplies the AI seats.

June 10, 2026 · 2 min · 369 words · Jack Yu

Canopy: Local MCP Routing for Singapore PCN Loops

Canopy is a local MCP server for Singapore cycling and walking routes, using GraphHopper with a PCN-biased model and OneMap for geocoding.

June 9, 2026 · 2 min · 385 words · Jack Yu

good-fishing-day: A Fishing Weather Dashboard

good-fishing-day is a small personal dashboard that combines tide and weather data to estimate whether a day is worth fishing.

June 5, 2026 · 2 min · 304 words · Jack Yu

map-ask: Natural-Language Geospatial Search

map-ask explores how plain-language map questions can become structured geospatial actions using open data sources.

June 4, 2026 · 2 min · 302 words · Jack Yu