Now, for this section, I'm back in a brand new empty
project, and we can now switch to
Agents mode here if we want to. And
in that mode, we're in a specific agent layout.
The first time you open this, you'll likely get some kind of onboarding
here, which, uh, tells you how to use this mode,
run agents in parallel and so on. But of course, you took a course, so
you don't have to read that. So in this Agents mode here,
you can create new agents, and you can run these
agents in different modes. And the exact modes you have here
may change over time. Right now, I have an Ask mode,
an Agent mode, and a Plan mode, and I'll explain these modes in a second.
You can choose which AI models you wanna use.
You can either let Cursor make that choice for you or specifically
choose which model to use and whether to run it in Max mode
with unlimited tokens or not, which I will enable here for me.
You can add various files and use voice
input if you want to. And most importantly, you can choose
whether to run this agent locally on your system
or remotely. And I'll get back to remote agents later.
For now, I can't select it because I would need
Git repository. Because when using background mode, the agent will
not run on your system, but instead in the cloud,
request for your GitHub repository.
And since I have neither a Git repository nor a GitHub repository in this
project yet, I can only use local agents.
It's also worth noting that you can also use agents from within
Editor mode, which to be honest, is the way I typically
use agents. But you can, of course, use whatever works for you.
Here in this mode, you can open the Agent's tab by pressing
or Control I, or by simply clicking this
button here. This opens this AI pane.
And here you get the same input, the same chat window as in that
Agent's mode, just in a sidebar, which you can resize and open and close
as you want to. You will also be able to browse
different agent sessions if you've got multiple sessions running
look at past sessions. You can open a new chat,
want, and then you can also manage your
created. Now, before we get started with using agents, I
wanna briefly dive into the Agent Settings, which you can also
reach by going to the Cursor settings, and then
there it's the Agent Settings here.
And here you got specific settings for this agent mode.
And just as everything else related to Cursor, this will
likely change over time. But here you can, for example,
control in which mode a-agent starts by default,
if it's Agent mode, Plan mode, Ask mode, or whatever other modes you might have.
You can control whether the agent, if you use it in the
editor, should open up in that separate sidebar or in a
new editor window, just like your code would.
And as you see, there are plenty of other things you
can configure. And since all these settings typically
change quite frequently, my recommendation is to regularly
dive into these settings and the Cursor settings in general to see
if there is something you wanna tweak or fine-tune to your specific
likings.