Volume I · Chapters 1–16
Architecture and Pretraining
Build from a complete Transformer decoder to KDA, Gated MLA,
Attention Residuals, Stable LatentMoE, MoonViT, and the integrated
K3 model. Study Muon, training stability, long-context learning,
and native multimodal pretraining.
Volume II · Chapters 17–31
Post-Training and Agent Intelligence
Connect supervised cold start and reinforcement learning to
reasoning, rewards, task synthesis, multimodal agents, and agent
swarms. Follow structured generation, tool execution, durable
context, coding, kernel optimization, and agent evaluation.
Volume III · Chapters 32–46
Systems and Deployment
Move from GPU and parallelism foundations to FlashKDA, routed
computation, MoonEP, distributed execution, and memory-efficient
training. Trace online weight publication, million-token RL,
Mooncake serving, hybrid prefix caching, fleet recovery,
low-precision execution, and speculative decoding.
Book contents
Table of Contents
Free chapter overview slides are released under the
CC BY-NC-ND 4.0
license. Open the PDF beside each chapter title.
Volume I
-
Foundations: The Transformer That Kimi Builds On
PDF
-
Computational Anatomy of Kimi K3
PDF
-
Sparse MoE from K2 to K3
PDF
-
-
Hybrid Attention in Kimi K3
PDF
-
Gated Multi-Head Latent Attention
PDF
-
-
-
MoonViT and Native Multimodality
PDF
-
The Integrated K3 Transformer
PDF
-
Advanced Reading: MoBA and Learned Block-Sparse Attention
PDF
-
Scaling Muon for LLM Training
PDF
-
MuonClip and Training Stability
PDF
-
Stable Sparse Pretraining
PDF
-
Long-Context Pretraining
PDF
-
Native Multimodal Pretraining
PDF
Volume II
-
Supervised Cold Start for Agentic RL
PDF
-
Reinforcement Learning Foundations: From Token Prediction to Outcome-Driven Learning
PDF
-
Long-CoT Reinforcement Learning and Localized Policy Optimization
PDF
-
Sampling, Curricula, and Partial Rollouts
PDF
-
Multi-Domain and Reasoning-Effort Reinforcement Learning
PDF
-
Rewards, Verifiers, and Agentic Generative Reward Models
PDF
-
Capability Consolidation and Deployment-Aware Post-Training
PDF
-
Unified Agentic Environments and Task Synthesis
PDF
-
Visual and Multimodal Agent Learning
PDF
-
Parallel-Agent Reinforcement Learning and Agent Swarms
PDF
-
Structured Generation, XTML, and Walle
PDF
-
Tool Execution, Agent State, and Durable Context
PDF
-
Coding Agents: Training and Execution
PDF
-
Case Study: Kernel Optimization as a K3 Reinforcement-Learning Domain
PDF
-
Agent Evaluation, Correctness, and Safety
PDF
Volume III
-
From Basic CUDA to Kimi Kernels
PDF
-
LLM Parallelism Foundations: From One GPU to a Distributed Model
PDF
-
FlashKDA and KDA Kernels
PDF
-
Hybrid-Attention and Depth-Mixing Kernels
PDF
-
MoE Kernels and Routed Computation
PDF
-
MoonEP and Perfectly Balanced Expert Parallelism
PDF
-
Distributed Execution for K3-Class Models
PDF
-
Memory-Efficient Training
PDF
-
Multimodal Encoder and Input-Pipeline Optimization
PDF
-
Checkpoint Engine and Online Weight Publication
PDF
-
Million-Token Agentic-RL Infrastructure
PDF
-
Mooncake and Disaggregated Serving
PDF
-
KDA-Aware Prefix Caching and Long-Context Scheduling
PDF
-
Fleet Scheduling, Admission, and Failure Recovery
PDF
-
Low-Precision Execution and Speculative Decoding
PDF