PharAO is a wavefront-sensorless solution for correcting aberrations of focalization systems at the end of the amplification chain. It uses a diagnostic camera already in place and complex algorithms to measure aberrations at the focal spot then calculate the ideal form for the deformable mirror in order to optimize shape and intensity.