WhoBuilt

Why AI Agents Need Million-Token Context

Sep 4, 2026· 21 min· 17K views·Watch on YouTube

Speakers

Thomas Wolf, co-founder and chief science officer at Hugging Face, talks with Olive Song of MiniMax on the AI Engineer stage about long-context agents, multimodal models, and MiniMax’s research approach.

Why agents need longer context

Song says MiniMax’s earlier models handled contexts up to 10 million tokens for tasks such as reviewing a book. M3’s one-million-token context is aimed at agents that need to retain user interactions and tool responses across multiple rounds.

Making long context efficient

MiniMax Sparse Attention uses an index branch to select relevant parts of the context, then a sparse attention branch to compute over selected blocks. Song says the design is intended to scale with context length and model size, while leaving room for further architecture and inference improvements.

Training for native multimodality

Song says M3 was trained on text, images, and video from the first training step, rather than adding vision after text pretraining. She says this avoids recipe-sensitive continued training and describes work on the vision transformer, interleaved data, careful data cleaning and masking, and reward modeling to prevent training collapse.

Research, products, and community feedback

Song describes a research process where people can use released models, identify weaknesses, propose projects, and contribute work that may make it into later training. MiniMax builds apps to help people experience its models, which she says have reached more than 300 million people in around 200 countries and over a million companies. She says the team hopes to keep open-sourcing models and values community reports, especially on multimodal issues and requested features.

What comes next

Song gives examples of multimodal agents reading presentations or reports and using tools after understanding long videos. She also describes internal research workflows supported by automation and says multi-agent systems and model routing are among the developments she finds exciting.

Takeaways

  • For agents handling many rounds of tool use, plan context capacity around accumulated tool responses as well as the initial prompt.
  • Sparse attention can reduce computation by selecting context blocks before applying attention across them.
  • Training multimodal capabilities from the start may avoid some issues associated with adding vision after text pretraining, though it requires careful data and training design.
  • Let researchers test released models, surface weaknesses, and develop proposals that can feed into later training.
  • Ask users to report specific multimodal failures and feature requests to guide model improvements.

Mentioned in this talk

Search inside this talk

What was claimed 7

Related talks