Home / Projects
Things I've built
Projects
A selection of things I've built, newest first.
Real-time video diffusion you steer by voice
Diffusion models, Python, PyTorch, Wan 2.1, Causal Forcing++, WebSockets, Claude Sonnet, React
A video diffusion model generates video live, and you steer it by
talking: say "make it winter" and the video changes while it plays,
with no re-render. A normal video diffusion model
takes minutes to render one five-second clip, so every change means
starting over. Mirage streams Wan 2.1 (1.3B) with Causal Forcing++ at
16 frames a second on one GPU, and a command it already knows shows
up in about 0.4 seconds. New sentences go to Claude Sonnet, which
writes the full scene prompt in two to three seconds.
Two problems took most of the work. A new prompt barely changes the picture,
because the model's memory of recent frames still holds the old
scene, so on a command the memory is cleared; restarting from an
empty memory first took 412 ms against a 250 ms budget per chunk, and
two denoising passes plus a deferred memory write brought it to
162 ms, with the cut blended over eight frames. The video also drifts
as the model feeds on its own output, so every six seconds it
restarts from a clean saved frame with fixed noise, which cut the
visible jump at each restart from 30.4 to 10.9, below ordinary
motion.
Built by a team of four on top of Training-Free Interactive
World Models. I led the team and owned the real-time engine: the GPU
machines, the generation loop, frame streaming, and latency.
Write-up
Devpost
GitHub
Rust port of mosh, the mobile shell
Rust, UDP, AES-128-OCB3, protobuf, Linux/macOS/Windows
A Rust port of mosh that is wire-compatible with existing mosh 1.4
servers. It adds a native Windows client and writes scrollback into
the local terminal's history. The port covers the UDP
state-synchronization protocol, AES-128-OCB3 encryption, and a VT
terminal emulator, and it ships static Linux binaries, macOS builds,
and a Windows client. It was checked against upstream's own C++ code
by differential testing (millions of fuzz inputs through both
emulators), passes upstream's test suite and a 120-cell interop
matrix under packet loss and roaming, and was reviewed line by line.
AI coding agents built it in October 2026 from a written plan, and
the full record (plan, status log, interventions, reviews) is in the
repository. GPL-3.0-or-later.
Write-up
Releases
GitHub
Prompt-injection evaluation harness
Python, GitHub Actions CI, LangGraph/CrewAI adapters
Tests whether a tool-using AI agent can be hijacked by prompt
injection before it ships. It puts the agent in realistic tasks and
runs 16 attacks, some of them adaptive ones that refine their
injection based on how the agent responds. Then plain Python, with no
LLM judge, answers one question: did the agent leak a planted secret?
The report gives attack-success rates with confidence intervals and
plain-English advice on hardening the agent. Published as
tripwire-eval, with a CI gate that fails the build when a change pushes the attack success rate above a threshold.
PyPI
GitHub
GPU systems work, CDIS & OpenAI Summer AI Lab
CUDA, PyTorch, bf16
The RACE Attention paper (ICLR 2026) leaves optimized causal CUDA
kernels as future work, and these are those kernels. The reference
PyTorch prefix-sum path materializes a five-dimensional tensor that
grows by about 128 KB per token, so a 40 GB A100 runs out of memory at
131K tokens. Since that tensor is written once and read once, the
fused kernels never store it. With them, a 2M-token causal forward
runs in 14.7 ms on one H100 in 8 GiB of memory, 165x faster than the
chunked PyTorch baseline.
GitHub
Autonomous job-search pipeline
Python, SQLite, LLM APIs, systemd
Watches about 5,900 company career boards at the source (14 applicant tracking systems plus company APIs like Google's and Amazon's) on a 12-minute cycle. An LLM
scores new postings against my profile, and matches go out as email
digests and an auto-generated tracker. Most of the work is in the
infrastructure: conditional fetches with ETags, per-host throttling,
content-hash dedupe with repost detection, absence-based closure
detection, and a feedback loop that turns my applied/skipped
decisions into calibration examples for the scorer. It has run
unattended on an EC2 instance under systemd timers since July 2026,
with 7,358 runs, about 872 million postings fetched, and 33,038
tracked.
Architecture breakdown
GitHub
Assistive hardware + AI, built at StarkHacks 2026
Python, Arduino, Claude vision, EMS
Vision-guided assistive grasping for people with upper motor neuron
injury, who can reach for an object but cannot close the hand around
it. A voice trigger starts a grasp, a Claude-based grip planner reads
the camera feed, and electrical muscle stimulation moves three
fingers. A physical kill switch sits inline with the EMS lead.
Research use only, not a medical device.
GitHub
Observability for AI agent memory
Python, FastAPI, Postgres, Next.js, TypeScript
Sits between a memory system and the LLM that reads from it. For each
retrieval it records which memories were returned, scores how much
each one influenced the response, tracks token cost, and keeps a
provenance graph so a stored memory can be traced back to the
interaction that created it. It comes as an SDK that wraps any
Mem0-compatible client, along with an operator dashboard.
Website
GitHub
POSIX shell
C11, no dependencies beyond libc
A POSIX shell in about 1,800 lines of C11. It handles quoting and
variable expansion, pipelines of any length, redirection, background
jobs, and enough terminal job control that Ctrl-C kills the running
command instead of the shell. It started as the shell project in
UW-Madison's CS537 and grew well past the spec.
GitHub
Hybrid RAG question answering
Python, BM25, BGE embeddings, HNSW
Answers quantitative questions about the environmental cost of AI for
the UW-Madison Environmental AI Kaggle competition, where an answer
only counts if the value, unit, and source document all match exactly.
Retrieval combines BM25 and dense embeddings with reciprocal rank
fusion. It gets 87% accuracy on 282 held-out test questions with only
40 labelled examples, which are used as few-shot exemplars picked by
question type.
GitHub
AI mock interviewer
Gemini, computer vision, speech
Runs a live practice interview in the browser. Gemini generates the
questions, the webcam feed is read frame by frame to track body
language, and at the end you get written feedback on your answers and
on how you delivered them. Placed 3rd at MadData, UW-Madison's annual data science
hackathon.
GitHub