A novel passage from particle data to PDEs out of equilibrium