LHAASO detects ultra-high-energy gamma rays exceeding 100 trillion electron-volts from gamma-ray binary LS I +61° 303. The discovery challenges existing theories of particle acceleration in extreme astrophysical environments.