Ilyaas Kapadia

I train reinforcement-learning policies and build the worlds they learn in — fast C and CUDA environments where a policy can be trained in seconds instead of days. Everything below runs live in your browser.

Sophomore, computer science, University of Cincinnati. Previously Kernel (YC S25).

Scroll to fly · fast scrolling earns tricks · or press f, r, d

Policies, live in your browser

Five simulations do not run until you ask them to. Five WebAssembly policies fighting this canvas for your CPU is not a portfolio, it is a space heater — so each one starts on a click and stops when you tell it to.

Countdownlive

0.8B params · wllama

A 0.8B model trained with reinforcement learning on arithmetic puzzles, quantised and running locally in your tab. No server, no API key. Press run and it downloads into this page.

Slitherplayable

1 C arena · 16 snakes

You are one snake and fifteen copies of my RL agent hunt with you, in the same C arena I trained them in — the training environment and the toy are the same code.

Bouncelive

PPO · one policy per level

Nokia’s 2001 classic, rebuilt for the browser and played by a PufferLib PPO policy trained in C, switching policies as the level advances.

Monocopterlive

hover control

A PPO policy flying a simulated single-propeller drone in the browser via WebAssembly. Randomized, unmeasured physics — hovering a one-propeller craft is the whole difficulty.

Self-rising robotlive

~1B steps · mujoco 3.16

A two-servo robot simulated in MuJoCo compiled to WebAssembly, driven by a PufferLib PPO policy trained for about a billion steps. Four out of four full-fall get-ups, deterministic in CPU MuJoCo — not yet hardware-validated.

Environments, and the speed they train at

Brotato RLsim + policy

1.8M steps/s · RTX 5070

Twelve hours at a hackathon: I stripped the Godot engine out of Brotato and wrote a bit-exact C simulator with the physics and contact solving parallelised in CUDA — 4,096 environments on one card at about 1.8M env steps/s, against roughly 1,200 steps/s for the shipped game. The CPU and CUDA builds agree on every state field, and a Godot mod drives the real game headless so I can check my frames against its frames.

a 1B-step policy, in my simulator

Every demo above is its own environment

c · cuda · pufferlib

The same C code trains the policy and plays it in the page — Bounce, Slither and the drone all run the training arena compiled to WebAssembly, so what you touched above is not a recording. When a policy needed to be faster to train, I rewrote the environment (CUDA for contact solving, C for the gameplay loop) rather than throwing hardware at it.

Other work

NES Evalbenchmark

24 hours per agent

A benchmark that asks coding agents to write an NES emulator from scratch in 24 hours, graded frame by frame against a reference emulator — a port of Mechanize’s GBA Eval. It is the benchmark I reach for when I want to know whether an agent can hold a long, exact task.

Kernel (YC S25)internship

browser infra for agents

My first software internship. Browser infrastructure for AI agents: I implemented programmatic API key generation, owned their Terraform provider, and made their Chromium images smaller and faster to build.

kstacktool

e-ink · android

An e-ink-first Android client for driving a fleet of headless agents over Tailscale SSH. Built because I wanted to check on long runs from a device with a two-week battery.