Lab
Things I build. Some from scratch to understand how they work. Some because they should exist. Some to see if I could.
From Scratch
-
LyraA programming language. Hindley-Milner type inference, bytecode VM, pattern matching, ADTs, tail call optimization, pipe operator. 140 tests. Rust
-
microgradAutograd engine and neural network library. Backpropagation and gradient descent from first principles. Python
-
min-char-rnnCharacter-level RNN in ~200 lines. BPTT, Adagrad, temperature sampling. Pure numpy, no frameworks. Python
-
101 ProjectsTCP, DNS, HTTP, encryption — building core internet protocols from scratch. Ongoing
Tools
-
agent-benchpytest for AI agents. Define scenarios in YAML, mock tool calls, get deterministic pass/fail reports. Works with any framework. Python
-
devboxProject scaffolder. Pick a stack, toggle features, get a working codebase. Six templates, compiled into the binary. Rust
-
mcp-auditSecurity scanner for MCP server code. Catches RCE, tool poisoning, prompt injection, supply chain risks. TypeScript
-
depweightShow the real cost of every npm dependency — size, transitive deps, vulnerabilities, and whether you actually use it. JavaScript
Systems
-
realtime-chatGo backend, React frontend, WebSocket, JWT auth, PostgreSQL, Redis pub/sub. Rooms, DMs, presence tracking. Go + TypeScript
-
computer-vision-apiMulti-model YOLO + Claude Vision. Video analysis, WebSocket streaming, full web UI. Python
-
drawboardReal-time collaborative whiteboard. Liveblocks, perfect-freehand, multiplayer cursors. TypeScript
-
LearnHubLearning platform. 49 routes, Stripe payments, video hosting, auth, dashboards. Full SaaS. TypeScript