2026-07-072026-07-07http://salesiana.dossiersoluciones.com/handle/123456789/114873We propose a relativistically covariant model of interacting dark energy based on the principle of least action. The cosmological term $Λ$ in the gravitational Lagrangian is a function of the trace of the energy--momentum tensor $T$. We find that the $Λ(T)$ gravity is more general than the Palatini $f(R)$ gravity, and reduces to the latter if we neglect the pressure of matter. We show that recent cosmological data favor a variable cosmological constant and are consistent with the $Λ(T)$ gravity, without knowing the specific function $Λ(T)$.14 pages; corrected errors, added commentsGeneral Relativity and Quantum CosmologyAstrophysicsHigh Energy Physics - TheoryA Lagrangian description of interacting dark energytext