What is agent mode

Hi all

Sorry if this is an obvious question but what is the agent mode?

Is it when I’m typing and code is being suggested? I see the chat and composer are separate but I’m not sure whats agent mode.

On that node, how would be change the model for the agent mode?

Thanks

It’s not obvious. Here are the key differences, noting that these are both within Composer (Chat is different. Composer can make file changes without your explicit approval. Chat required you to hit Apply on suggested code changes):

Agent mode

  • Can complete tasks by itself using the command line.
  • Can determine which files are needed as context by itself.
  • Knows what you should do (or thinks should be done) in the next step.

Normal mode

  • Cannot use the command line.
  • Requires the user to specify the context.
  • Wait for your command for next step.

On that note, how would be change the model for the agent mode?

Bottom left-hand corner of the composer, as per the below:

1 Like

Thanks for the help and feedback,

How do I go about using the agent mode?

As shown in @jake’s screenshot. next to the submit button, there is an ‘Agent’ toggle that you can use to enable/disable it.

Aaa I see, thanks, I’ve been using it all this time, didnt realise that it was agent mode, thanks

so agent mode can be instructed to automatically do pull/commit requests to github and perhaps even setup github repository?

new to this and have little experience using github

It can if you ask it to for sure! If you ensure YOLO mode is turned off, you can see what commands the Agent wants to run before it does, and run them if they look correct!

that sounds great although unfamiliar with ‘YOLO mode’ - where is that setting?

Open the Cursor settings using cmd + shift + J or ctrl + shift + J. In the “Features” tab, under the Chat & Composer section, you’ll find these settings.