Agent S2 is a compositional generalist-specialist framework for computer use agents.It automates digital tasks by interacting with graphical user interfaces (GUIs) on computers and mobile devices.Agent S2 overcomes challenges such as imprecise grounding and long-horizon task planning.It establishes new state-of-the-art performance on prominent computer use benchmarks.