π€ AI Trains AI: Using RL to train an AI agent that trains AI using RL
π Everything is open sourced including: the trained agent's weights (LoRA adapter on π€ HF), agent harness, task families, reward code, GPU orchestration, tinker RL training scripts, and retro write-ups of every pilot (including the failures). Jump to Getting started β
TL;DR:
I built a pipeline where an AI agent: Is handed a training task ("teach a model to do X") Writes a complete prime-rl training job, including: environment, reward, dataset, hyperparameters. Submits it to real Runpod GPUs for training.
Leveraging Tinker, I then RL-trained the agent itself, rewarding it when it trained better models.
Reward climbed from ~0.0 to a ~0.63 peak over 54 training steps. Transferring to a held-out task family it never trained on.
An AI in an RL loop, whose action is training AI in an RL loop. (Source: assets/hero.svg.)
π Table of Contents
π How it works
Two RL loops with two entirely separate training stacks.
... continue reading