Automatic prompt optimization replaces manual trial-and-error with a loop that generates prompt candidates, evaluates them against examples, and keeps variants that improve a task metric. The important shift is not that prompts are generated by AI, but that prompt quality becomes externally measured rather than judged only by intuition.