An open-source model for extreme atmospheres on rocky exoplanets
AGNI's primary purpose is to simulate the atmospheric temperature-, height-, and compositional-structures of atmospheres overlying magma oceans. It does this while ensuring that radiative-convective equilibrium is maintained throughout the atmosphere. SOCRATES is used to perform correlated-k radiative transfer including: shortwave irradiation from the star, surface emission, line absorption, Rayleigh scattering, parameterised clouds, and collisional absorption. Mixing length theory is used to parametrise convection. AGNI also supports real gas equations of state, self-gravitation, and various spectral surface compositions. Accounting for these energy transport processes permits an energy-conserving calculation of atmospheric structure, obtained using numerical optimisation, which also yields realistic cooling rates for young rocky planets with magma oceans.
Consult the AGNI documentation for information about the model.
Contact: see information on my website homepage.
See the Getting Started page in the documentation for information on installing and using the model.
If you use AGNI, please cite the following papers:
- Nicholls et al. (2025a) - 10.1093/mnras/stae2772
- Nicholls et al. (2025b) - 10.21105/joss.07726
- Nicholls et al. (in rev) - 2507.02656
Below is an animated example of AGNI solving for a temperature-pressure profile, starting from an isothermal state.
demo.mp4
agni.jl
- The main AGNI executableLICENSE.txt
- License for use and re-usedeps/
- Package build scriptsdocs/
- Documentation source filesmisc/
- Miscellaneous filesout/
- Model output filesres/
- Resources (configs, thermodynamic data, etc.)src/
- Source codetest/
- Tests for the codetutorials/
- Notebooks and tutorials
This software is available under GPLv3. Copyright (C) 2025 Harrison Nicholls.