autoresearch-webgpu

March 14, 2026 ยท View on GitHub

Browser port of Karpathy's autoresearch! autoresearch-webgpu:

  • uses a language model to create a train.ts file, with a basic model training loop
  • runs model training in the browser, using the device GPU (powered by jax-js, thanks @ekzhang!)
  • evaluates the loss / results of the experiments, and feeds them back to an agent to generate new code!

There's noting else particularly crazy about this repo - it's a standard Svelte app, using pglite (probably overkill!) to keep track of experiment state. I was mostly just curious to try this out (+ send to others) and didn't want to do the Python install!

demo

Try the live demo at autoresearch.lucasgelfond.online