WEBVTT

00:00:00.120 --> 00:00:03.920
Now, for this section,
I'm back in a brand new empty

00:00:04.100 --> 00:00:07.720
project, and we can now switch to

00:00:07.840 --> 00:00:11.360
Agents mode here if we want to. And

00:00:11.460 --> 00:00:14.830
in that mode,
we're in a specific agent layout.

00:00:14.860 --> 00:00:18.460
The first time you open this,
you'll likely get some kind of onboarding

00:00:18.520 --> 00:00:22.420
here, which, uh,
tells you how to use this mode,

00:00:22.480 --> 00:00:26.420
run agents in parallel and so on.
But of course, you took a course, so

00:00:26.460 --> 00:00:30.400
you don't have to read that.
So in this Agents mode here,

00:00:30.560 --> 00:00:34.330
you can create new agents,
and you can run these

00:00:34.380 --> 00:00:38.200
agents in different modes.
And the exact modes you have here

00:00:38.340 --> 00:00:42.290
may change over time. Right now,
I have an Ask mode,

00:00:42.300 --> 00:00:45.860
an Agent mode, and a Plan mode,
and I'll explain these modes in a second.

00:00:45.900 --> 00:00:48.460
You can choose which AI models you wanna
use.

00:00:48.500 --> 00:00:52.260
You can either let Cursor make
that choice for you or specifically

00:00:52.340 --> 00:00:55.980
choose which model to use
and whether to run it in Max mode

00:00:56.040 --> 00:00:59.910
with unlimited tokens or not,
which I will enable here for me.

00:01:01.300 --> 00:01:05.040
You can add various files and use voice

00:01:05.120 --> 00:01:09.100
input if you want to.
And most importantly, you can choose

00:01:09.140 --> 00:01:12.570
whether to run this agent locally on your
system

00:01:13.460 --> 00:01:16.670
or remotely.
And I'll get back to remote agents later.

00:01:16.700 --> 00:01:20.670
For now,
I can't select it because I would need

00:01:20.680 --> 00:01:24.450
Git repository. Because
when using background mode, the agent will

00:01:24.450 --> 00:01:28.160
not run on your system,
but instead in the cloud,

00:01:28.220 --> 00:01:31.040
request for your GitHub repository.

00:01:31.050 --> 00:01:35.020
And since I have neither a Git repository
nor a GitHub repository in this

00:01:35.060 --> 00:01:37.840
project yet, I can only use local agents.

00:01:37.900 --> 00:01:41.800
It's also worth noting
that you can also use agents from within

00:01:41.940 --> 00:01:45.840
Editor mode, which to be honest,
is the way I typically

00:01:45.920 --> 00:01:49.240
use agents. But you can, of course,
use whatever works for you.

00:01:49.300 --> 00:01:53.280
Here in this mode,
you can open the Agent's tab by pressing

00:01:53.340 --> 00:01:56.840
or Control I, or by simply clicking this

00:01:57.100 --> 00:02:00.560
button here. This opens this AI pane.

00:02:00.640 --> 00:02:04.480
And here you get the same input,
the same chat window as in that

00:02:04.560 --> 00:02:08.460
Agent's mode, just in a sidebar,
which you can resize and open and close

00:02:08.560 --> 00:02:11.900
as you want to.
You will also be able to browse

00:02:11.920 --> 00:02:15.560
different agent sessions
if you've got multiple sessions running

00:02:15.600 --> 00:02:19.540
look at past sessions.
You can open a new chat,

00:02:19.580 --> 00:02:23.540
want,
and then you can also manage your

00:02:23.600 --> 00:02:27.470
created. Now,
before we get started with using agents, I

00:02:27.500 --> 00:02:31.380
wanna briefly dive into the Agent
Settings, which you can also

00:02:31.420 --> 00:02:35.200
reach by going to the Cursor settings,
and then

00:02:35.260 --> 00:02:38.580
there it's the Agent Settings here.

00:02:38.600 --> 00:02:42.400
And here you got specific settings for
this agent mode.

00:02:42.420 --> 00:02:46.160
And just as everything else related to
Cursor, this will

00:02:46.280 --> 00:02:50.100
likely change over time. But here you can,
for example,

00:02:50.140 --> 00:02:54.120
control in which mode a-agent starts by
default,

00:02:54.160 --> 00:02:57.960
if it's Agent mode, Plan mode, Ask mode,
or whatever other modes you might have.

00:02:59.220 --> 00:03:02.360
You can control whether the agent,
if you use it in the

00:03:02.460 --> 00:03:06.240
editor, should open up in
that separate sidebar or in a

00:03:06.320 --> 00:03:09.120
new editor window,
just like your code would.

00:03:09.180 --> 00:03:12.920
And as you see, there
are plenty of other things you

00:03:13.000 --> 00:03:16.680
can configure.
And since all these settings typically

00:03:16.780 --> 00:03:20.680
change quite frequently,
my recommendation is to regularly

00:03:20.690 --> 00:03:24.660
dive into these settings
and the Cursor settings in general to see

00:03:24.720 --> 00:03:27.950
if there is something you wanna tweak
or fine-tune to your specific

00:03:28.000 --> 00:03:30.340
likings.
