I think the last Histogram is pretty compatible with the cameras histogram. With its current scene-referred-default AgX produces rather muted highlights.
If you apply the picker for setting the white relative exposure within AgX or apply one of the proposed sigmoid-matched presets or switch to sigmoid it will probably get even closer.