autoresearch (github.com) (via).
From Andrej Karpathy:
I packaged up the "autoresearch" project into a new self-contained minimal repo if people would like to play over the weekend. It's basically nanochat LLM training core stripped down to a single-GPU, one file version of ~630 lines of code, then:
the human iterates on the prompt (.md)
the AI agent iterates on the training code (.py)
The goal is to engineer your agents to make the fastest research progress indefinitely and without any of your own involvement. In the image, every dot is a complete LLM training run that lasts exactly 5 minutes. The agent works in an autonomous loop on a git feature branch and accumulates git commits to the training script as it finds better settings (of lower validation loss by the end) of the neural network architecture, the optimizer, all the hyperparameters, etc. You can imagine comparing the research progress of different prompts, different agents, etc.
github.com/karpathy/autorese…
Part code, part sci-fi, and a pinch of psychosis :)
Been trying to think of ways to leverage this. There have been some amazing examples so far:
Tobi, founder of Shopify made their template system 53% faster (keep in mind this has been around 20 years)
Cheng Lou, made a leap forward in UI engineering with a text measurement algo in pure TS called pretext (I can’t tell if he used autoresearch specifically, but the footprints are there in the repo)
What else is autoresearch going to push forward?