Composer 2 Technical Report
Authors: name: Cursor Research, name: Aaron Chan, name: Ahmed Shalaby, name: Alexander Wettig, name: Aman Sanger, name: Andrew Zhai, name: Anurag Ajay, name: Ashvin Nair, name: Charlie Snell, name: Chen Lu, name: Chen Shen, name: Emily Jia, name: Federico Cassano, name: Hanpeng Liu, name: Haoyu Chen, name: Henry Wildermuth, name: Jacob Jackson, name: Janet Li, name: Jediah Katz, name: Jiajun Yao, name: Joey Hejna, name: Josh Warner, name: Julius Vering, name: Kevin Frans, name: Lee Danilek, name: Less Wright, name: Lujing Cen, name: Luke Melas-Kyriazi, name: Michael Truell, name: Michiel de Jong, name: Naman Jain, name: Nate Schmidt, name: Nathan Wang, name: Niklas Muennighoff, name: Oleg Rybkin, name: Paul Loh, name: Phillip Kravtsov, name: Rishabh Yadav, name: Sahil Shah, name: Sam Kottler, name: Alexander M Rush, name: Shengtong Zhang, name: Shomil Jain, name: Sriram Sankar, name: Stefan Heule, name: Stuart H. Sul, name: Sualeh Asif, name: Victor Rong, name: Wanqi Zhu, name: William Lin, name: Yuchen Wu, name: Yuri Volkov, name: Yury Zemlyanskiy, name: Zack Holbrook, name: Zhiyuan Zhang

Composer 2 is a specialized model designed for agentic software engineering. The model demonstrates strong long-term planning and coding intelligence while maintaining the ability to efficiently solve problems for interactive use. The model is trained in two phases: first, continued pretraining to improve the model's knowledge and latent coding ability, followed by large-scale reinforcement learning to improve end-to-end coding performance through stronger reasoning, accurate multi-step execution, and coherence on long-horizon realistic coding problems. We develop infrastructure to support training in the same Cursor harness that is used by the deployed model, with equivalent tools and structure, and use environments that match real problems closely. To measure the ability of the model on increasingly difficult tasks, we introduce a benchmark derived from real software engineering problems in large codebases including our own. Composer 2 is a frontier-level coding model and demonstrates a process for training strong domain-specialized models. On our CursorBench evaluations the model achieves a major improvement in accuracy compared to previous Composer models (61.3). On public benchmarks the model scores 61.7 on Terminal-Bench and 73.7 on SWE-bench Multilingual in our harness, comparable to state-of-the-art systems.