Engineering

Things I built because I needed them, mostly around running, serving and watching models. More on GitHub.

  • cerberus, a monitoring plane for agents

    A Go control plane that takes events from AI agents, runs pluggable guardrail checks over them in cost-ordered tiers, applies per-agent policy, and routes the ambiguous cases to human review. Every check reports measured precision and recall, enforced in CI.

  • miniserve, a small vLLM written to understand the big one

    An LLM inference server built from scratch in Python, with a paged KV cache and prefix caching, continuous batching with chunked prefill, and an SDPA attention backend that runs on Apple Metal. It benchmarks itself against static batching, so the scheduler's wins are measured rather than assumed.

  • Fine-Tuning Qwen2.5 with LoRA and Unsloth

    A small end-to-end fine-tuning pipeline for a 4-bit Qwen2.5 chat model, written to find out what each part of LoRA training actually does.

  • anchora, a workflow engine for agents

    A Go service that runs small DAGs of dependent agent calls, inline in the request or as durable jobs backed by PostgreSQL and Redis. Leases, fenced writes, and resume-from-progress mean a worker dying costs only the work actually lost.