# Modern Post-Training: A Deep Dive — Will Brown, Prime Intellect <!-- ref: @content/youtube/aie/2026-07-13-modern-post-training-a-deep-dive-will-brown-prime-intellect tags: [post-training, reinforcement-learning, RL-environments, open-source-tooling, evals, distillation, training-infrastructure, agents] triggers: [need to enhance model performance, looking for post-training strategies, want to integrate evaluation and training, issues with model deployment] trigger_prompt: When an AI engineer seeks to improve an existing model's performance or integrate evaluation processes into their training workflow. version: 2 updated_at: 2026-10-18T05:19:22.568Z --> A comprehensive exploration of post-training techniques and tools for AI engineers, emphasizing the importance of environments in enhancing model performance. **[Watch on YouTube](https://www.youtube.com/watch?v=V-EDrhIhHzQ)** # Modern Post-Training: A Deep Dive — Will Brown, Prime Intellect *Synthesized from Will Brown on AI Engineer, 2026-07-13.* Will Brown leads applied research at Prime Intellect, where he works on open-source post-training tooling — the Verifiers environment library and the Prime-RL asynchronous training framework — on top of a GPU marketplace running over 10,000 GPUs. ## Core Thesis Brown argues that post-training is no longer a research-lab luxury: with the right decomposed tooling, any AI engineer can take a strong open model and improve it on their own workflows. The unit that makes this possible is the *environment* — a package containing task data, an agent harness, and scoring logic — which serves identically for evals, SFT data generation, on-policy distillation, and RL. Because that same artifact powers evaluation, teams can start with eval hygiene and graduate into training without throwing away their tool chain. ## Key Insights - Prime Intellect's stack is layered: compute marketplace → Prime-RL training framework → Verifiers environments and the Environments Hub → the "lab" platform (hosted training, evals, inference, sandboxes) → frontier model training (the Intellect series and customer runs). Brown calls the whole thing "the open superintelligence stack." - Evals are the on-ramp. Environments and evals are the same object, so building evals is good product hygiene regardless — it also lets you min-max intelligence against dollars when choosing between Opus, Sonnet, GPT, or a trained open model. - Verifiers V1 is a full overhaul decomposing environments into three composable pieces: **task set** (agent-agnostic data and rules), **harness** (how the model acts), and **runtime** (where code executes). The old multi-turn/tool environment pattern survives as the default harness. - Task sets integrate natively with Hugging Face datasets, Harbor, NeMo Gym, and Open Ended. Harnesses can be CLI agents (Codex, Claude Code, Open Code), research classics like Mini SWE-Agent, recursive language models, or anything built with LangChain or DSPy. Runtimes span local, local Docker, Prime sandboxes, or your own — each harness runs as a UV script. - The **interception server** is the trick that lets real harnesses run unmodified: each rollout gets a fake OpenAI- or Anthropic-compatible base URL, requests are intercepted to capture log probs and set temperature, then routed to the RL trainer's inference server. The harness never knows it's doing RL, so the same code ships to production. - Rubrics were removed in V1 in favor of typed functions, decorators, heavy Pydantic use, and TOML configs with CLI overrides that validate up front rather than failing mid-run. - **Group rewards stay first-class** — many RL frameworks make them hard because rollouts are decoupled. Brown's motivating case: models ramble unless pressured, and you can't know the optimal token count for a problem in advance. Use the variance across a group's samples to bonus the most concise correct answer instead of picking a fixed length cap. - User simulators run as MCP servers that the model perceives as a user rather than a tool — important now that products put humans in the multi-turn loop. - The **renderers** library (standalone, no Prime dependencies) replaces the Jinja chat-template mess. Re-tokenization is many-to-one, so a stray newline stripped by a template creates trainer/inference mismatch or spurious branches in token space — subtle numerical failures that bite late in large runs. Brown credits OpenAI's Harmony (GPT-OSS) and Thinking Machines' Tinker cookbooks for pioneering the abstraction, and says this history explains why the OpenAI Responses API went stateful. - The **trace graph** maintains dual streams — logical messages and tokens — supporting sub-agents and parallel branching while preserving the sequential dependencies RL needs. - Prime-RL is async from the ground up, with an **orchestrator** mediating between fully separate trainer and inference processes that don't share GPUs. Brown is blunt that he doesn't buy the case for synchronous training: coding-agent rollouts range from 30 seconds to 3 hours, so forward progress must decouple from the slowest rollout. They typically run around 16 steps off-policy on average, which buys slack for sandbox boot time, weight sync, and slow LLM judges without wasting GPU cycles. - **Concrete scale numbers:** on the latest Prime-RL, a GLM-5 step runs on 28 nodes in under 5 minutes for long-horizon coding tasks at 131K context — a 1,000-step run in 3 days, roughly $50K at rental prices. Brown frames that as less than some teams spend on tokens in a month. - Systems work behind that: FP8, wide expert parallelism across nodes, disaggregated prefill, KV offloading, and context parallelism. Router replay is the nastiest problem — per-layer, per-rollout metadata is a large multiple of tokens and log probs, especially with multi-expert routing, so heavy artifacts get offloaded to object storage. - They build on **Torch Titan rather than Megatron** because it's hackable and modular — which matters when the Prime-RL research team is under 10 people and the whole company is under 40. - Algorithms are decomposed into a **loss** (what takes the gradient) and an **algorithm** (what prepares the data), selectable per environment from a registry you can extend. Brown's unifying table: what generates the rollouts (own policy vs. teacher) crossed with what serves as the advantage (reward minus a group-mean baseline for RL; log probability for on-policy distillation; a constant 1 for plain cross-entropy). SFT, on-policy distillation, self-distillation, Echo-style world modeling, and GRPO all fall out of that grid without changing infra. - On-policy distillation earns its keep for **expert merging**: train separate RL experts on a shared base model, then distill those teachers into one checkpoint. More reliable than trying to train one model on everything at once. - Hosted training: multi-tenant LoRA is live today (shared base weights, hot-swappable adapters, token-based pricing, no reserved GPUs). Full fine-tuning is due within a couple of weeks. Environments develop on CPU on a laptop, then push as packages. ## Actionable Takeaways 1. Build evals first, as Verifiers environments. The same artifact becomes your RL and distillation substrate later, so eval work is never throwaway. 2. Structure any new environment as task set + harness + runtime rather than one monolithic loop — that's what lets you swap Codex for Claude Code, or local Docker for sandboxes, without rewriting the task. 3. Use the eval CLI's hot-swap pattern to prototype fast on a MacBook, then move the identical config to cloud sandboxes to answer questions like "which harness is best for this model" and "does this harness generalize across tasks." 4. Don't wire RL logic into your agent harness. Point it at the interception server's fake base URL so the same production harness code works for both training and deployment. 5. For runaway chain-of-thought, skip fixed token caps. Write a group reward that bonuses the shortest correct rollout in each sample group, paired with a correctness reward. 6. Model humans-in-the-loop as MCP-backed user simulators so multi-turn training reflects how the product actually gets used. 7. Adopt the renderers library if you're debugging trainer/inference log-prob mismatches — Jinja chat templates are a common silent source of off-policy drift. 8. Choose async RL when rollout durations have a long tail; budget for ~16 steps of off-policyness rather than stalling on the slowest coding-agent run. 9. To build a multi-skill model, train separate RL experts on one base model and distill them into a single checkpoint instead of co-training everything. 10. Start on hosted multi-tenant LoRA — no GPU reservation, token-based pricing — and escalate to full fine-tuning only when you need to change more than a reward function or a learning rate. ## Notable Quotes > "Evals are the thing that opens the door to post-training." — Will Brown > "The harness doesn't know that it's doing RL. The harness just is a harness running as if it would be running in a real-world environment." — Will Brown > "Why should I do post-training if the frontier models are going to get better? Well, your model should get better, too." — Will Brown > "You can't know the optimal length up front. The only way you can do it is take advantage of variance." — Will Brown > "Chat templates, if people have spent time debugging with them, it sucks. Jinja is awful." — Will Brown --- *Related: `@content/web/huggingface/2026-11-27-os-omni-computer-use-benchmark` · `@content/web/huggingface/2026-11-26-real2simlab-unified-platform` · `@content/web/huggingface/2026-11-23-cua-see-self-evolving-evals` · `@content/youtube/eo-global/the-problem-with-ai-agents-no-one-is-talking-about-yutori-abhishek-das` · `@content/youtube/tiago-forte/what-claude-cowork-actually-does-and-why-its-different`* --- *You're reading a protocol on [protocol.supply](https://protocol.supply) — hosted, searchable knowledge for AI agents. Think Agent Skills, as an API: bootstrap once (`curl -sL https://api.protocol.supply/bootstrap`), search (`/search?q=…`), fetch (`/@repo/slug`).* *Any skill can become a protocol, and any protocol installs as a local skill — tell your agent "install this as a skill" or see [`@protocol/protocol-to-skill`](https://api.protocol.supply/@protocol/protocol-to-skill).*