FourPhonon is a computational package that can calculate four-phonon scattering rates in crystals. It is built within ShengBTE framework, which is a well-recognized lattice thermal conductivity solver based on Boltzmann transport equation. An adaptive energy broadening scheme is implemented for the calculation of four-phonon scattering rates. In analogy with $
this http URLinShengBTE,wealsoprovideaseparatepythonscript,this http URL,tocalculatefourth−orderinteratomicforce−constants.Theextensionmodulepreservesallthenicefeaturesofthewell−recognizedlatticethermalconductivitysolverShengBTE,includinggoodparallelismandstraightforwardworkflow.Inthispaper,wediscussthegeneraltheory,programdesign,andexamplecalculationsonSi,BAsand\mathrm{LiCoO_2}$.