# Why AI Agents Need Million-Token Context — Thomas Wolf & Olive Song, MiniMax <!-- ref: @content/youtube/aie/2026-09-04-why-ai-agents-need-million-token-context-thomas-wolf-olive-s version: 3 updated_at: 2026-10-31T20:09:21.443Z --> Thomas Wolf & Olive Song (AI Engineer, 2026-09-04): Olive Song argues that long context stopped being a party trick the moment models became agentic: an agent absorbing tool responses across many turns simply runs out of room in a short window, so MiniMax rebuilt attention rather than bolting on workarounds. **[Watch on YouTube](https://www.youtube.com/watch?v=5Cxe5dv2Xlw)** *Synthesized from Thomas Wolf & Olive Song on AI Engineer, 2026-09-04.* Thomas Wolf, co-founder and chief science officer at Hugging Face, interviews Olive Song of MiniMax — a researcher who did her PhD at NYU in Yann LeCun's lab working on JEPA before joining MiniMax, one of the Chinese frontier labs Wolf groups with DeepSeek, Moonshot (Kimi), and Z.ai/GLM. ## Core Thesis Olive Song argues that long context stopped being a party trick the moment models became agentic: an agent absorbing tool responses across many turns simply runs out of room in a short window, so MiniMax rebuilt attention rather than bolting on workarounds. She pairs that with a second architectural bet — training multimodality from the very first pre-training step instead of adapting a text model afterward — on the grounds that post-hoc adapters damage text performance and don't scale predictably. ## Key Insights - MiniMax M3, released in June 2026, is roughly 428B total parameters with ~23B activated, and Wolf frames it as the only top-five open-source model that is genuinely multimodal (coding, images, video) rather than text-only. - M3 ships a functional 1 million token context via **MSA (MiniMax Sparse Attention)**: an index branch that decides at a high level which parts of context matter, feeding a sparse attention branch that only computes over the selected blocks. Song's stated design goal was an architecture simple enough to scale on both context length and model size. - Long context at MiniMax predates M3 — MiniMax-01 and M1 already handled tasks at 10 million tokens — but that was passive comprehension (dump in a book, get a review), not agentic work. The agentic turn is what made long context load-bearing rather than a benchmark. - Wolf's framing of the arc: attention research went from N-squared to a wave of linear-attention papers, then all of it was flattened by FlashAttention making kernels efficient enough not to care. MSA is a return to first-principles questions about what attention actually needs to compute. He notes Jeff Dean has floated trillion-token attention; Song calls it worth exploring but gated on joint architecture-plus-hardware research. - **Native multimodality**: the common recipe is to finish text pre-training, then attach adapters and train vision. Song says that harms text performance and vision under-converges because the model has already settled into text. Continued pre-training partway through is possible but "recipe sensitive" — results don't transfer across architectures, data mixtures, or learning rates, so nothing you learn at small scale predicts large scale. - Training multimodal from step one usually collapses within a few steps; MiniMax's fixes were work on the ViT, interleaved natural data that keeps images and video in place rather than masking them out, aggressive data cleaning/masking, and strong reward modeling. - MSA was designed by an intern. Song points out this is unusual — at many labs interns don't get access to the data or the real work. - Research is organized as an open internal market: strong shared infrastructure means anyone can play with the released model, run their own evals, find weaknesses, and propose a project; others opt in, work runs weeks to months (architecture work skews long), and successful results go into the next training run. - MiniMax's apps reach 300M+ people across ~200 countries and over a million companies. The order of operations was model-first — Song says the CEO's multimodal AGI goal predates the company and predates ChatGPT — with apps built because most users will never touch an API. - Internal research runs on custom harnesses that automate workflows, including model-driven kernel optimization, post-training other models, and data generation. Asked if M3 is building M4, Song says it's building M3.1. - Multimodality in coding agents is still underexplored: unstructured PowerPoints and reports, or long screen-recorded video an agent watches before acting with tools. - Song's most-excited-about area right now is multi-agent systems and model routing — partly for capability, partly because routing behavior reveals what each model can and can't do. ## Actionable Takeaways 1. If you're building agents, size context for the tool-response and multi-turn traffic, not for the user's prompt — that's the specific pressure Song names as what shorter windows can't absorb. 2. Evaluate M3 (~428B total / ~23B active) when you need coding, agentic tool use, image/video understanding, and 1M-token context in one open-weights model; its cost profile comes from both sparse attention and the small active-parameter count. 3. If you're training multimodal, train it from the first step rather than adding vision adapters post-hoc — and budget for the collapse problem, which MiniMax addressed with ViT work, interleaved data that keeps images/video unmasked, data cleaning/masking, and reward modeling. 4. Don't rely on continued pre-training to add a modality if you plan to scale: Song's point is that recipes don't survive changes in architecture, data mixture, or learning rate, so small-scale conclusions won't transfer. 5. Send MiniMax concrete feedback — multimodality bugs especially, plus feature requests like configurable thinking effort — via issues and PRs on the open-source releases; Song says community PRs feed directly into later versions. 6. To copy the research org design: invest in infra first so anyone can prod the shipped model, let researchers write their own evals to find weaknesses, then let them propose and staff projects that run weeks to months. ## Notable Quotes > "Longer context actually unlocks a lot of capabilities, especially when the agent is interacting with the whole environment and getting all the tool responses." — Olive Song > "GPT-2 was 1,024 and everyone was like, oh, that's really big, we never need more." — Thomas Wolf > "The architecture was actually designed by an intern." — Olive Song > "We call it native multimodality... why not just training from the very first step? That comes to the most natural." — Olive Song --- *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).*