autoresearch is an open-source project published on GitHub in 2026 by AI researcher Andrej Karpathy. An AI coding agent modifies the training code of a small language model, runs training for a fixed amount of time, and keeps only the changes that improve a validation metric, repeating the cycle without human intervention.
Rather than editing the training code directly, the human writes the instructions given to the agent, while the agent designs and runs the experiments and judges the results. The name is also used more broadly for the practice of having an agent iterate on any task whose outcome can be scored by a metric.