How does AI pair programming work in Cursor?
AI pair programming puts you and a coding agent together on the same task. You describe your task to Cursor, and the agent works alongside you like a coworker. It reads your codebase, makes changes to files, runs shell commands, and automatically fixes any errors it hits. Then you review the code it generates, give feedback, and work together to arrive at the right solution.
What is an AI coding assistant?
An AI coding assistant is software that helps you build software using large language models (LLMs). In Cursor, the assistant is an agent. You give it a goal, and it plans and carries out the work, rather than only answering questions. Cursor works with every frontier model and tunes its harness to each one to get the most out of every model. You can compare model results on the CursorBench page.
How do I pair program with Cursor?
- Open the agent with CmdCtrl + I.
- Describe your task, referencing files as needed.
- Review the output from the agent, and reply with feedback to refine.
- Ask Cursor to create a pull request to finish your work.