WEBVTT

00:00:00.080 --> 00:00:03.960
So at this point,
we had an extensive look at the tab

00:00:04.019 --> 00:00:07.800
and the inline chat feature.
But to be very honest, one of the

00:00:07.840 --> 00:00:11.800
main stars of Cursor is its AI Agent mode

00:00:11.840 --> 00:00:15.600
and this sidebar-based chat,
which you can either

00:00:15.760 --> 00:00:19.740
open by pressing command option B on MacOS
or control

00:00:19.900 --> 00:00:23.360
option B on Windows by default,
or by simply

00:00:23.420 --> 00:00:27.060
clicking this icon in the top right corner
to go to the

00:00:27.140 --> 00:00:30.970
AI pane.
And you also see the shortcut there.

00:00:31.040 --> 00:00:34.580
In this sidebar here,
you got an AI chatbot.

00:00:34.600 --> 00:00:38.360
So just as in ChatGPT or Google Gemini,
you

00:00:38.480 --> 00:00:42.360
can ask your questions here
and chat with the AI.

00:00:42.540 --> 00:00:46.330
Though, of course, this
is all optimized for interacting

00:00:46.420 --> 00:00:50.160
with code, for generating code,
and learning about your

00:00:50.220 --> 00:00:53.560
code base. Behind the scenes, there
are many features provided by

00:00:53.640 --> 00:00:57.560
Cursor to make sure that this AI chat
is aware of your

00:00:57.620 --> 00:01:01.060
overall code base. For example,
Cursor continuously

00:01:01.280 --> 00:01:05.200
scans and indexes your code base to have
an understanding of

00:01:05.220 --> 00:01:08.940
what you have in there, which functions,
what they're doing, so that this AI

00:01:09.080 --> 00:01:12.940
chat can quickly gather information about
the relevant parts depending on

00:01:12.980 --> 00:01:16.760
what you're asking for.
So whilst you could, of course, also ask

00:01:16.820 --> 00:01:20.760
about the weather here,
that's not really what it's meant for,

00:01:20.860 --> 00:01:24.320
just be wasting your Cursor usage,
so you should keep it to

00:01:24.440 --> 00:01:28.360
code-related tasks. Now,
you can always open a new chat by

00:01:28.380 --> 00:01:32.020
clicking the plus here,
and that's typically a good idea

00:01:32.080 --> 00:01:36.000
long conversation since context windows
are limited, and

00:01:36.060 --> 00:01:40.000
at some point, responses
and results can get worse

00:01:40.080 --> 00:01:43.020
if there's too much information in a
single chat.

00:01:43.380 --> 00:01:46.720
You can access your chat history here,
and mine's empty.

00:01:46.780 --> 00:01:50.560
I just have two empty new chats.
You can also rename your

00:01:50.600 --> 00:01:54.460
chats here or clear them.
You can click this button to open a

00:01:54.520 --> 00:01:58.470
separate Agent window,
or you use the shortcut,

00:01:58.480 --> 00:02:02.370
and that does what I just said.
It opens a new window

00:02:02.380 --> 00:02:05.340
experience for using this chat,
and I'll get back to

00:02:05.420 --> 00:02:08.960
that. And then, in

00:02:09.000 --> 00:02:12.890
addition,
you also got more options here to close a

00:02:12.920 --> 00:02:16.760
other chats, and so on. You can also go

00:02:16.820 --> 00:02:20.600
to the chat settings here,
which takes you to the Cursor settings,

00:02:20.660 --> 00:02:23.840
there, the chat area,
which I showed you before.

00:02:24.150 --> 00:02:28.120
There, you can control in
which mode the chat opens by default,

00:02:28.160 --> 00:02:32.040
also get back to, where it's located,
so if it's in

00:02:32.080 --> 00:02:35.600
that separate pane
or in a new editor window,

00:02:35.660 --> 00:02:39.609
around, for example,
and a couple of other things regarding how

00:02:39.620 --> 00:02:43.210
displayed and so on. Again,
as mentioned before, these

00:02:43.360 --> 00:02:47.260
options will likely change over time,
new options might be added,

00:02:47.280 --> 00:02:51.220
and it's a good idea to regularly check
back here and see if

00:02:51.280 --> 00:02:55.000
there's something you wanna tweak,
some behavior you're maybe not happy with,

00:02:55.080 --> 00:02:58.620
or something you wanna change to make the
chat and AI

00:02:58.700 --> 00:03:01.820
Agent behave a bit more the way you want
it to

00:03:01.840 --> 00:03:05.320
behave. Most importantly, you can,
for example, also control

00:03:05.580 --> 00:03:08.540
which context is considered for your
questions.

00:03:08.549 --> 00:03:12.320
So, for example,
whether it can automatically search the

00:03:12.400 --> 00:03:16.120
like that makes sense.
But I'll get back to some of the more

00:03:16.160 --> 00:03:19.940
important options, for example,
regarding autorun, a bit later.

00:03:20.000 --> 00:03:22.910
For now, let's focus on this chat
and what we can do

00:03:23.000 --> 00:03:24.380
there.
