Modeling of adaptive immunity uncovers disease tolerance mechanisms.