Correction to: Nature https://doi.org/10.1038/s41586-022-04439-0 Published online 23 February 2022

In the version of this article initially published, there were labeling errors in Fig. 1a. In the top-left, bright green “Anti-HER2” section, the top peptide node now labeled “VH-3” initially appeared as “VL-3.” In the top-middle blue “Anti-CD3” section, the lower node now labeled “VH-2” initially appeared as “VL-2.” In the top-right olive “Anti-CD28” section, the top node now labeled “VH-1” and the lower node now labeled “VL-1” initially appeared as “VL-1” and “VL-3,” respectively. The changes have been made to the HTML and PDF versions of the article