WhoBuilt

Building Cursor Composer

Dec 2, 2025· 16 min· 27K views·Watch on YouTube

Speaker

Lee Robinson of Cursor speaks for Cursor’s engineering and research teams about building Cursor Composer, the company’s first agent model, at AI Engineer in New York.

A fast model for coding agents

Composer was designed to combine speed with intelligence for real software engineering. Robinson says it outperformed the best open source models in their benchmarks, while remaining a little behind leading frontier models such as Sonnet 4.5 and GPT-5.1 Codex. It generated tokens about four times more efficiently than models with similar intelligence.

Training for real coding work

Composer can read and edit files, search code, inspect lints, and run shell commands, either sequentially or in parallel. Cursor trained it with reinforcement learning rollouts that mirrored the product environment, scoring results and updating the model. The team used internal repositories and workflows to judge whether developers would use a checkpoint in their daily work.

Infrastructure behind reinforcement learning

Robinson describes three challenges: matching training to product inference, managing long and uneven rollouts, and keeping tools and responses consistent. Cursor used a stack with PyTorch, Ray, and environment servers, plus custom low-precision kernels that made the mixture-of-experts layer about 3.5 times faster on Nvidia Blackwell chips. Load balancing helped keep compute busy while rollouts with different numbers of tool calls completed.

Cloud agents and semantic search

Cursor’s Cloud Agents infrastructure runs code in secure cloud virtual machines, which also provided environments for Composer’s training. Robinson says the company operated many clusters and hundreds of thousands of VMs to support the workload. Training in a production-like environment also helped Composer use Cursor’s semantic search tool effectively, finding files through natural-language queries.

A more synchronous agent workflow

Robinson says Composer’s performance improved as the team added reinforcement learning rollouts and compute. Training also helped it read and search before editing, and use parallel tool calls to work faster. He describes using a frontier model to make plans and Composer to implement them, aiming to keep coding agents responsive and keep the developer involved.

Takeaways

  • Match reinforcement learning environments to production tools when the model must learn how to use those tools well.
  • Use internal repositories and daily workflows to assess whether a coding model is useful in practice.
  • Plan for uneven rollout durations; load balancing can reduce idle compute.
  • Parallel tool calls can make an agent feel more responsive while keeping the developer in the loop.
  • Treat model training and infrastructure as connected engineering problems.

Mentioned in this talk

Search inside this talk

What was claimed 13

  • previously at
    Lee Robinson previously at Cursor
    Head of AI Education / VP of Developer Experience
    “the machine learning engineer for model behavior at Cursor”
    0:13inRecursive Model ImprovementYouTube
    Verified3 sources· Talk, Web· archived
  • metric
    Composer: About four times more efficient at token generation than models at a similar intelligence level
    “about four times more efficient at token generation”
    YouTube
    Unverified1 source· Talk
  • feature
    Composer: Designed for real-world software engineering; combines speed and intelligence
    “a model designed for real-world software engineering, and it tries to be both fast and smart”
    YouTube
    Unverified1 source· Talk
  • feature
    Tab: Autocomplete
    “which you can use for autocomplete”
    YouTube
    Unverified1 source· Talk
  • built
    “Our research and product teams have been building a model called Tab”
    YouTube
    Verified2 sources· Talk
  • built
    “people really liked the Cheetah model we released”
    YouTube
    Unverified1 source· Talk
  • feature
    Composer: Can call tools in parallel, including reading files and codebase search
    “enabling it to call tools in parallel and use our semantic search tool effectively”
    YouTube
    Unverified1 source· Talk
  • uses
    “We have the standard ML stack with PyTorch”
    YouTube
    Unverified1 source· Talk
Show all 13 facts

Related talks