# ChatGPT-5 Agent in Cursor IDE

I’ll show you how to select GPT-5 in Cursor and use it to improve a messy app. We’ll work through the setup and a few coding tasks.

Author: Vladislav Guzey
Published: 2025-08-08
Canonical: https://proflead.dev/posts/chatgpt-5-in-cursor-ide/


<div class="videoWrapper">
  <iframe width="100%" src="https://www.youtube.com/embed/JEUd0TMHSmI?si=IqCvhmuYNYOBe2uK" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>
</div>

I’ll show you how to select **GPT-5** in **Cursor** and use it to improve a messy app. We’ll work through the setup and a few coding tasks.

Press enter or click to view image in full size

![How to use ChatGPT-5 in Cursor IDE](https://miro.medium.com/v2/resize:fit:700/0*02o7ny03kjruPrhL.png)



## What is Cursor and why use ChatGPT-5 in it?

[Cursor is a code editor](https://proflead.dev/posts/cursor-ai-full-tutorial/) (similar to VS Code) but with AI built in. It lets you:

- Chat with AI about your code
- Ask for code changes directly inside the editor
- Make multi-file edits without switching tools

Press enter or click to view image in full size

![Cursor IDE](https://miro.medium.com/v2/resize:fit:700/0*NoAaKmRYCqyQUArj.png)


With **ChatGPT-5** inside Cursor, you get:

- Better reasoning
- Smarter refactoring
- Cleaner explanations

## How to Turn on ChatGPT-5 in Cursor

Open any project and navigate to the right column with the chat. Then click on the word **“auto”** and turn off the toggle.

Press enter or click to view image in full size

![After that, you will see the GPT-5 model in the list](https://miro.medium.com/v2/resize:fit:700/0*oF7z-W2yqFObI7OZ.png)



Press enter or click to view image in full size

![GPT-5 model](https://miro.medium.com/v2/resize:fit:700/0*awPQlnTRHWVDeKtJ.png)



You can use two modes, “Ask” and “Agent”.

Press enter or click to view image in full size

![](https://miro.medium.com/v2/resize:fit:700/0*ukOhRORLj6CaiPDx.png)

**Two modes**

- Ask mode acts as an AI Assistant
- Agent mode does all the hard work for you. All you need to do is look and confirm when it asks for permission to run specific commands.

## Tips for Better Results

- **Be specific**. Short, clear prompts work best.
- **Review everything**. Don’t apply changes without reading them.
- **Ask for explanations**. Use Chat to explain diffs in plain English.
- **Work in small chunks**. Big changes are harder to debug.
- **Keep testing**. Run your app after each step.

## Video with Real Use Cases

You can watch my video where I demonstrate how I convert a simple to-do app to a more complex one in about 10 minutes.

_Watch on YouTube:_ [_ChatGPT-5 inside Curosr_](https://youtu.be/JEUd0TMHSmI?si=oSWdsvyf7i_4Ipyf)

## Conclusion

Try GPT-5 on a small change in your project, then review the diff and run your tests. Let me know how it worked for you.

Cheers! ;)
