Nature Communications, Published online: 27 August 2026; doi:10.1038/s41467-026-77263-z A theory of Cartesian tensors gives rise to CarNet, a unified machine learning framework that predicts the properties of molecules and materials with leading accuracy, from interatomic potential energies to complex, high-rank elastic tensors.