Projects

Piece by piece, I'm building a full stack for running AI: a harness for agents and a sandbox to develop them in, a router in front of the engines, an engine, and the storage and cache underneath. All of it is early, and most of it is for learning.

  1. HarnessWorking, not in use yet

    agent-loop

    A Go runtime for long-running, tool-using, multi-agent workflows. Event-sourced: every chat turn, tool call and result is an append-only event in Postgres. A chat is turn-based, which makes it a good old event log.

  2. SandboxWorking, local only

    cloudbox

    Sealed, production-shaped Kubernetes sandboxes for developers and AI coding agents. An agent applies your existing manifests to a sandbox with egress denied by default, learns what its code tried to reach, amends a declared allowlist, and ends with a signed record of the run that claims no more than was observed.

  3. RoutingEarly, no releases

    pharos

    A single-binary LLM router for small teams running a mix of engines (Ollama, llama.cpp, vLLM, SGLang, …) on a handful of machines. It routes each request by the live state of every engine: which models are loaded, how many requests are waiting, and who holds the prompt prefix in cache.

  4. EngineToy project, runs

    mmmllm

    An LLM serving engine in C++/Metal, built around the unified memory of an Apple M4 Mac mini, where the CPU, GPU and Neural Engine share one slab of DRAM. Bit-exact with mlx-lm, with an OpenAI-compatible API.

  5. Storage & cacheDesign stage

    rock-solid

    Distributed storage for homelab Kubernetes, ReadWriteMany (RWX) first: a FUSE client on every node mounts one shared filesystem, with no NFS server pod in front of each volume the way Longhorn RWX does it. Block volumes and S3 build on the same Raft-replicated core, whose sans-IO design lets RDMA, DPDK or SPDK plug in as the transport later. The plan is to use it as the cache layer for mmmllm.

Other things I've built

  • 2026Working

    dg

    Draws diagrams from text: you write what exists as an HCL model, arrange it by dragging in a panel beside your editor in VS Code, and dg routes the arrows around the boxes every time it draws.

  • 2025Working

    flows

    A minimal durable workflow runner in Go, Temporal and Cadence style but far simpler: Postgres is the only dependency, completed steps are memoized there and replayed on resume, and steps run inside a pgx transaction so their outputs and your business writes commit together.

  • 2025Inactive

    adk-golang

    A Go implementation of Google's Agent Development Kit, written before an official Go version existed. It speaks the Agent2Agent (A2A) protocol, so its agents can work with ADK agents written in other languages.

Everything else, going back to 2013, is on GitHub.