0:00
Hi everyone and welcome to this episode
0:01
Hi everyone and welcome to this episode
0:02
Hi everyone and welcome to this episode of AI Dev Tools. Today I'm your host
0:04
of AI Dev Tools. Today I'm your host
0:04
of AI Dev Tools. Today I'm your host Simon and in this episode we're going to
0:05
Simon and in this episode we're going to
0:05
Simon and in this episode we're going to talk about AI agents in VS Code. We all
0:08
talk about AI agents in VS Code. We all
0:08
talk about AI agents in VS Code. We all love VS Code and I cannot wait for
0:11
love VS Code and I cannot wait for
0:11
love VS Code and I cannot wait for today's guest U who is a lead software
0:13
today's guest U who is a lead software
0:13
today's guest U who is a lead software engineer and he's going to take us to
0:15
engineer and he's going to take us to
0:15
engineer and he's going to take us to the uh journey of AI agents. Hi O and
0:18
the uh journey of AI agents. Hi O and
0:18
the uh journey of AI agents. Hi O and welcome to the show.
0:25
[Music] Hey, thanks Em. Hi everyone, my name is
0:27
Hey, thanks Em. Hi everyone, my name is
0:27
Hey, thanks Em. Hi everyone, my name is Udai. So I'm a lead software engineer
0:29
Udai. So I'm a lead software engineer
0:29
Udai. So I'm a lead software engineer basically like designing and developing
0:31
basically like designing and developing
0:31
basically like designing and developing applications using cloud native
0:34
applications using cloud native
0:34
applications using cloud native architectures and like in recent past
0:37
architectures and like in recent past
0:37
architectures and like in recent past I've started learning about this agent
0:39
I've started learning about this agent
0:39
I've started learning about this agent like how uh developers life will be
0:41
like how uh developers life will be
0:41
like how uh developers life will be better with this. So we can get started
0:44
better with this. So we can get started
0:44
better with this. So we can get started with this.
0:45
with this. Yeah. Exciting. I'm going to add you to
0:46
Yeah. Exciting. I'm going to add you to
0:46
Yeah. Exciting. I'm going to add you to your screen to the stream. Everybody
0:48
your screen to the stream. Everybody
0:48
your screen to the stream. Everybody else can see and it's your show.
0:51
else can see and it's your show.
0:51
else can see and it's your show. Thanks. Thanks Emma. Uh let's see like
0:54
Thanks. Thanks Emma. Uh let's see like
0:54
Thanks. Thanks Emma. Uh let's see like uh let's give a little background on um
0:56
uh let's give a little background on um
0:56
uh let's give a little background on um what is this? what are these EI agents?
0:59
what is this? what are these EI agents?
0:59
what is this? what are these EI agents? Uh before going there, let's talk about
1:01
Uh before going there, let's talk about
1:01
Uh before going there, let's talk about a little bit on LLMs. Like LLMs are
1:04
a little bit on LLMs. Like LLMs are
1:04
a little bit on LLMs. Like LLMs are large language models which are built on
1:06
large language models which are built on
1:06
large language models which are built on uh uh which are trained on lot of uh uh
1:10
uh uh which are trained on lot of uh uh
1:10
uh uh which are trained on lot of uh uh features like development or
1:12
features like development or
1:12
features like development or documentation and everything. So uh
1:15
documentation and everything. So uh
1:15
documentation and everything. So uh these a uh agents like which will be
1:17
these a uh agents like which will be
1:17
these a uh agents like which will be using in the back end uh all these LLMs
1:20
using in the back end uh all these LLMs
1:20
using in the back end uh all these LLMs to make sure like whatever the task we
1:22
to make sure like whatever the task we
1:22
to make sure like whatever the task we have and they'll go ahead and see like
1:24
have and they'll go ahead and see like
1:24
have and they'll go ahead and see like okay what what is the ask of the person
1:26
okay what what is the ask of the person
1:26
okay what what is the ask of the person and they'll go ahead and they'll try to
1:29
and they'll go ahead and they'll try to
1:29
and they'll go ahead and they'll try to get an answer for us. So this is on a
1:31
get an answer for us. So this is on a
1:31
get an answer for us. So this is on a high level uh how these agents interact
1:34
high level uh how these agents interact
1:34
high level uh how these agents interact with LLM how a agents are perfect for a
1:36
with LLM how a agents are perfect for a
1:36
with LLM how a agents are perfect for a developer uh to see or uh develop their
1:39
developer uh to see or uh develop their
1:39
developer uh to see or uh develop their own things. So picture yourself in a
1:41
own things. So picture yourself in a
1:41
own things. So picture yourself in a scenario you are a developer wear a hat
1:43
scenario you are a developer wear a hat
1:43
scenario you are a developer wear a hat of a developer for some time and think
1:45
of a developer for some time and think
1:45
of a developer for some time and think of a scenarios where you go ahead and
1:47
of a scenarios where you go ahead and
1:47
of a scenarios where you go ahead and see like um uh you have a huge
1:50
see like um uh you have a huge
1:50
see like um uh you have a huge development working pipeline and you
1:52
development working pipeline and you
1:52
development working pipeline and you might need helping hand where you know
1:54
might need helping hand where you know
1:54
might need helping hand where you know how to do it and you might need some
1:56
how to do it and you might need some
1:56
how to do it and you might need some helping hand from someone to say like
1:57
helping hand from someone to say like
1:57
helping hand from someone to say like okay uh hey this is the task what I have
2:00
okay uh hey this is the task what I have
2:00
okay uh hey this is the task what I have can you help me to do it a junior
2:01
can you help me to do it a junior
2:01
can you help me to do it a junior resource can help you or there may be a
2:03
resource can help you or there may be a
2:03
resource can help you or there may be a scenario where you stuck uh when you are
2:05
scenario where you stuck uh when you are
2:05
scenario where you stuck uh when you are doing a huge code and you might need a
2:07
doing a huge code and you might need a
2:07
doing a huge code and you might need a new pair of eyes to see like okay what
2:09
new pair of eyes to see like okay what
2:09
new pair of eyes to see like okay what is going wrong or you may have a huge
2:11
is going wrong or you may have a huge
2:11
is going wrong or you may have a huge project which is uh developed long back
2:13
project which is uh developed long back
2:13
project which is uh developed long back or in a different technology and uh you
2:16
or in a different technology and uh you
2:16
or in a different technology and uh you might need some help to get it relating
2:17
might need some help to get it relating
2:17
might need some help to get it relating to your own language which you have
2:19
to your own language which you have
2:19
to your own language which you have which you are comfortable all these
2:21
which you are comfortable all these
2:21
which you are comfortable all these things so end of the day you might need
2:23
things so end of the day you might need
2:23
things so end of the day you might need a person or you you might need someone
2:25
a person or you you might need someone
2:25
a person or you you might need someone right so to say like okay hey I know I
2:28
right so to say like okay hey I know I
2:28
right so to say like okay hey I know I can help you with this so the perfect
2:30
can help you with this so the perfect
2:30
can help you with this so the perfect answer right now in past 6 months or one
2:32
answer right now in past 6 months or one
2:32
answer right now in past 6 months or one year if you ask the same thing to anyone
2:34
year if you ask the same thing to anyone
2:34
year if you ask the same thing to anyone they say like it's an AI so let's see
2:37
they say like it's an AI so let's see
2:37
they say like it's an AI so let's see like how exactly these they can help uh
2:41
like how exactly these they can help uh
2:41
like how exactly these they can help uh developer developers life easier. So
2:44
developer developers life easier. So
2:44
developer developers life easier. So most of the time like 80% of the time I
2:45
most of the time like 80% of the time I
2:45
most of the time like 80% of the time I would say 80 90% of the time developer
2:47
would say 80 90% of the time developer
2:47
would say 80 90% of the time developer will be head down and coding coding
2:49
will be head down and coding coding
2:49
will be head down and coding coding coding coding. So let's see how um AI
2:51
coding coding. So let's see how um AI
2:52
coding coding. So let's see how um AI agents can work. So like to name some a
2:54
agents can work. So like to name some a
2:54
agents can work. So like to name some a agents like we have um uh several um
2:57
agents like we have um uh several um
2:57
agents like we have um uh several um code assistants I don't I should not say
2:59
code assistants I don't I should not say
3:00
code assistants I don't I should not say a agents like code assistants what we
3:01
a agents like code assistants what we
3:01
a agents like code assistants what we have like we have GitHub copilot we have
3:03
have like we have GitHub copilot we have
3:04
have like we have GitHub copilot we have Amazon code whisperer and we have um I
3:07
Amazon code whisperer and we have um I
3:07
Amazon code whisperer and we have um I think it's curs cursor ID like like so
3:09
think it's curs cursor ID like like so
3:09
think it's curs cursor ID like like so on so forth like I did like some
3:10
on so forth like I did like some
3:10
on so forth like I did like some research on all these things and today
3:12
research on all these things and today
3:12
research on all these things and today we're going to uh dive into a little uh
3:15
we're going to uh dive into a little uh
3:15
we're going to uh dive into a little uh demo on how we can create a simple
3:18
demo on how we can create a simple
3:18
demo on how we can create a simple microservices using spring boot with uh
3:21
microservices using spring boot with uh
3:21
microservices using spring boot with uh VS code. So uh if you can able to see my
3:25
VS code. So uh if you can able to see my
3:25
VS code. So uh if you can able to see my screen. So uh this is VS code and you
3:28
screen. So uh this is VS code and you
3:28
screen. So uh this is VS code and you can easily download it from Google and
3:30
can easily download it from Google and
3:30
can easily download it from Google and some prerequisites of what we have is
3:32
some prerequisites of what we have is
3:32
some prerequisites of what we have is our plugins. So where we have GitHub
3:35
our plugins. So where we have GitHub
3:35
our plugins. So where we have GitHub copilot plugins we need to be installed
3:37
copilot plugins we need to be installed
3:37
copilot plugins we need to be installed where I have already installed out
3:39
where I have already installed out
3:39
where I have already installed out there. So we have GitHub coil chat and
3:42
there. So we have GitHub coil chat and
3:42
there. So we have GitHub coil chat and those are two um uh plugins at minimum
3:46
those are two um uh plugins at minimum
3:46
those are two um uh plugins at minimum we we are needed. So next one. So in
3:51
we we are needed. So next one. So in
3:51
we we are needed. So next one. So in case you have any um uh GitHub account,
3:54
case you have any um uh GitHub account,
3:54
case you have any um uh GitHub account, you can go ahead and log in. So I mean
3:56
you can go ahead and log in. So I mean
3:56
you can go ahead and log in. So I mean I've already logged in just to make sure
3:58
I've already logged in just to make sure
3:58
I've already logged in just to make sure like uh we can speed this up. So if in
4:01
like uh we can speed this up. So if in
4:01
like uh we can speed this up. So if in case you didn't login, it may ask you
4:02
case you didn't login, it may ask you
4:02
case you didn't login, it may ask you for login. So we have like free t and
4:04
for login. So we have like free t and
4:04
for login. So we have like free t and paid t. I would prefer like if you are
4:06
paid t. I would prefer like if you are
4:06
paid t. I would prefer like if you are doing R&D or if you're not using that
4:09
doing R&D or if you're not using that
4:09
doing R&D or if you're not using that much go for free tri. It's absolutely
4:11
much go for free tri. It's absolutely
4:11
much go for free tri. It's absolutely good. So go and login yourself into
4:14
good. So go and login yourself into
4:14
good. So go and login yourself into GitHub. So I've already done that. So
4:16
GitHub. So I've already done that. So
4:16
GitHub. So I've already done that. So when uh in this session like I want to
4:19
when uh in this session like I want to
4:19
when uh in this session like I want to make you familiar with three words one
4:21
make you familiar with three words one
4:21
make you familiar with three words one is a chat mode another one is prompt and
4:24
is a chat mode another one is prompt and
4:24
is a chat mode another one is prompt and last one is instructions. Let's see like
4:26
last one is instructions. Let's see like
4:26
last one is instructions. Let's see like how these three words will change a
4:29
how these three words will change a
4:29
how these three words will change a developer's life. So when you are see
4:31
developer's life. So when you are see
4:31
developer's life. So when you are see here so when you log in and when you uh
4:34
here so when you log in and when you uh
4:34
here so when you log in and when you uh have your ID open extensions are
4:36
have your ID open extensions are
4:36
have your ID open extensions are installed everything is good. So you
4:38
installed everything is good. So you
4:38
installed everything is good. So you have this icon on on the top so the
4:41
have this icon on on the top so the
4:41
have this icon on on the top so the toggle chart. So click on this it will
4:43
toggle chart. So click on this it will
4:43
toggle chart. So click on this it will open a chart. So by default I'm using a
4:45
open a chart. So by default I'm using a
4:45
open a chart. So by default I'm using a lot of time so it's by default going to
4:47
lot of time so it's by default going to
4:47
lot of time so it's by default going to agent mode. So we have three modes in
4:49
agent mode. So we have three modes in
4:49
agent mode. So we have three modes in there the buzz word one chat mode. So we
4:51
there the buzz word one chat mode. So we
4:51
there the buzz word one chat mode. So we have three modes out there. So one is an
4:54
have three modes out there. So one is an
4:54
have three modes out there. So one is an ask mode. So which is like uh you go
4:56
ask mode. So which is like uh you go
4:56
ask mode. So which is like uh you go ahead and ask something and give an
4:57
ahead and ask something and give an
4:58
ahead and ask something and give an answer. It's more of like a Google kind
4:59
answer. It's more of like a Google kind
4:59
answer. It's more of like a Google kind of thing I would say but advanced
5:01
of thing I would say but advanced
5:01
of thing I would say but advanced Google. And second thing uh always there
5:03
Google. And second thing uh always there
5:04
Google. And second thing uh always there is a disclaimer. Don't don't believe it
5:06
is a disclaimer. Don't don't believe it
5:06
is a disclaimer. Don't don't believe it can make mistakes. So second one is an
5:09
can make mistakes. So second one is an
5:09
can make mistakes. So second one is an edit mode. So it has a limitation in
5:11
edit mode. So it has a limitation in
5:11
edit mode. So it has a limitation in edit mode too where it says like okay I
5:13
edit mode too where it says like okay I
5:13
edit mode too where it says like okay I I mean give me some uh specific task and
5:17
I mean give me some uh specific task and
5:17
I mean give me some uh specific task and let me uh give me I mean specific uh
5:19
let me uh give me I mean specific uh
5:19
let me uh give me I mean specific uh scope of it and I'll do I'll do the job
5:21
scope of it and I'll do I'll do the job
5:21
scope of it and I'll do I'll do the job for you. And the uh hero of our topic
5:24
for you. And the uh hero of our topic
5:24
for you. And the uh hero of our topic right now is agent mode. So this agent
5:27
right now is agent mode. So this agent
5:27
right now is agent mode. So this agent mode if you see so it says like okay um
5:29
mode if you see so it says like okay um
5:29
mode if you see so it says like okay um ask copilot to edit your files in agent
5:31
ask copilot to edit your files in agent
5:31
ask copilot to edit your files in agent mode. So copilot will automatically use
5:34
mode. So copilot will automatically use
5:34
mode. So copilot will automatically use multiple requests to pick files to edit
5:36
multiple requests to pick files to edit
5:36
multiple requests to pick files to edit run terminal commands and it so the
5:38
run terminal commands and it so the
5:38
run terminal commands and it so the major difference what you see is uh
5:40
major difference what you see is uh
5:40
major difference what you see is uh between other modes in this mode. So it
5:42
between other modes in this mode. So it
5:42
between other modes in this mode. So it has a thinking mode like it is it start
5:44
has a thinking mode like it is it start
5:44
has a thinking mode like it is it start thinking like you. So whatever you do so
5:47
thinking like you. So whatever you do so
5:47
thinking like you. So whatever you do so the similar patterns is been implemented
5:49
the similar patterns is been implemented
5:49
the similar patterns is been implemented in this agent in in this agent. So it
5:51
in this agent in in this agent. So it
5:51
in this agent in in this agent. So it will it will thinking think like that
5:53
will it will thinking think like that
5:53
will it will thinking think like that and it will execute like that. It will
5:55
and it will execute like that. It will
5:55
and it will execute like that. It will try to be behave like you. So let's try
5:58
try to be behave like you. So let's try
5:58
try to be behave like you. So let's try with a simple thing. So I have a simple
6:01
with a simple thing. So I have a simple
6:01
with a simple thing. So I have a simple ask for this. So what I'm asking it is
6:04
ask for this. So what I'm asking it is
6:04
ask for this. So what I'm asking it is to u uh create a small uh microservices
6:07
to u uh create a small uh microservices
6:08
to u uh create a small uh microservices for me and spring boot where I'm saying
6:10
for me and spring boot where I'm saying
6:10
for me and spring boot where I'm saying like follow uh proper coding standards
6:12
like follow uh proper coding standards
6:12
like follow uh proper coding standards for structures and use inmemory database
6:15
for structures and use inmemory database
6:15
for structures and use inmemory database and some boiler code uh boiler plate
6:18
and some boiler code uh boiler plate
6:18
and some boiler code uh boiler plate coding so frameworks and everything
6:20
coding so frameworks and everything
6:20
coding so frameworks and everything which which I'm asking it to do. So
6:21
which which I'm asking it to do. So
6:22
which which I'm asking it to do. So let's see what it does for us right now.
6:23
let's see what it does for us right now.
6:23
let's see what it does for us right now. So uh keep in mind like we have an agent
6:26
So uh keep in mind like we have an agent
6:26
So uh keep in mind like we have an agent mode on here if you see it here and we
6:28
mode on here if you see it here and we
6:28
mode on here if you see it here and we have uh different llm I said uh
6:30
have uh different llm I said uh
6:30
have uh different llm I said uh initially like we I mean the mode I mean
6:32
initially like we I mean the mode I mean
6:32
initially like we I mean the mode I mean the agent modes are using llms right so
6:36
the agent modes are using llms right so
6:36
the agent modes are using llms right so I'm using this claude sonet 3.5 right
6:38
I'm using this claude sonet 3.5 right
6:38
I'm using this claude sonet 3.5 right now for this demo whatever we have so
6:41
now for this demo whatever we have so
6:41
now for this demo whatever we have so let's see what happens right now so as I
6:44
let's see what happens right now so as I
6:44
let's see what happens right now so as I said agent mode think like you and it
6:47
said agent mode think like you and it
6:47
said agent mode think like you and it will try to run some commands and it
6:48
will try to run some commands and it
6:48
will try to run some commands and it will ask you something so if you see it
6:50
will ask you something so if you see it
6:50
will ask you something so if you see it right now I don't have any folder open
6:52
right now I don't have any folder open
6:52
right now I don't have any folder open nothing I just freshly opened in VS code
6:54
nothing I just freshly opened in VS code
6:54
nothing I just freshly opened in VS code and I'm asking something to it. So
6:57
and I'm asking something to it. So
6:57
and I'm asking something to it. So second buzz word of the uh day. So we
7:00
second buzz word of the uh day. So we
7:00
second buzz word of the uh day. So we talked about chat nodes and the task
7:02
talked about chat nodes and the task
7:02
talked about chat nodes and the task whatever I'm getting we call it as
7:04
whatever I'm getting we call it as
7:04
whatever I'm getting we call it as prompt. Prompt is nothing but uh the
7:07
prompt. Prompt is nothing but uh the
7:07
prompt. Prompt is nothing but uh the task which uh you want a GitHub uh
7:09
task which uh you want a GitHub uh
7:09
task which uh you want a GitHub uh co-pilot to be done. So let's go. What
7:12
co-pilot to be done. So let's go. What
7:12
co-pilot to be done. So let's go. What is happening? As I said it thinks like
7:14
is happening? As I said it thinks like
7:14
is happening? As I said it thinks like you. So I don't have a folder open. It's
7:15
you. So I don't have a folder open. It's
7:16
you. So I don't have a folder open. It's asking me hey can you want me to open a
7:17
asking me hey can you want me to open a
7:17
asking me hey can you want me to open a folder? Yes. I say continue. I'll go to
7:21
folder? Yes. I say continue. I'll go to
7:21
folder? Yes. I say continue. I'll go to I just pre-created a folder as part of
7:23
I just pre-created a folder as part of
7:23
I just pre-created a folder as part of demos.
7:25
demos. So I'm selecting this as a workspace. So
7:28
So I'm selecting this as a workspace. So
7:28
So I'm selecting this as a workspace. So what usually a developer will do uh
7:30
what usually a developer will do uh
7:30
what usually a developer will do uh either developer will go to a spring
7:32
either developer will go to a spring
7:32
either developer will go to a spring initializer to uh get the project
7:34
initializer to uh get the project
7:34
initializer to uh get the project downloaded or by manually he'll go ahead
7:37
downloaded or by manually he'll go ahead
7:37
downloaded or by manually he'll go ahead and create the project setup. So let's
7:39
and create the project setup. So let's
7:39
and create the project setup. So let's see like what GitHub does. GitHub
7:41
see like what GitHub does. GitHub
7:41
see like what GitHub does. GitHub copilot does. So just when it's running
7:45
copilot does. So just when it's running
7:45
copilot does. So just when it's running in background I'll show you like what is
7:46
in background I'll show you like what is
7:46
in background I'll show you like what is ping initializer. Most of the developers
7:48
ping initializer. Most of the developers
7:48
ping initializer. Most of the developers will go here and say like hey this is my
7:50
will go here and say like hey this is my
7:50
will go here and say like hey this is my requirement give me a bor plate code to
7:52
requirement give me a bor plate code to
7:52
requirement give me a bor plate code to me or the basic structure of photo
7:54
me or the basic structure of photo
7:54
me or the basic structure of photo structure and everything. So let's see
7:56
structure and everything. So let's see
7:56
structure and everything. So let's see what copilot does for us right now. So
7:58
what copilot does for us right now. So
7:58
what copilot does for us right now. So it's trying similar command where it's
8:01
it's trying similar command where it's
8:01
it's trying similar command where it's trying to generate an artifact for us.
8:04
trying to generate an artifact for us.
8:04
trying to generate an artifact for us. So let's see what happens here.
8:08
So it's ran a terminal command as it
8:10
So it's ran a terminal command as it
8:10
So it's ran a terminal command as it said it ran a terminal command. So oh it
8:14
said it ran a terminal command. So oh it
8:14
said it ran a terminal command. So oh it got an error. It's apologizing saying
8:16
got an error. It's apologizing saying
8:16
got an error. It's apologizing saying like hey uh we got an error let's see
8:18
like hey uh we got an error let's see
8:18
like hey uh we got an error let's see like what I what I can do. It's saying
8:20
like what I what I can do. It's saying
8:20
like what I what I can do. It's saying like I'll create a project structure
8:22
like I'll create a project structure
8:22
like I'll create a project structure manually. So this is a usual practice
8:24
manually. So this is a usual practice
8:24
manually. So this is a usual practice that if you are a developer if you try
8:25
that if you are a developer if you try
8:26
that if you are a developer if you try something it it goes wrong what you do
8:28
something it it goes wrong what you do
8:28
something it it goes wrong what you do you go ahead and see what are the
8:30
you go ahead and see what are the
8:30
you go ahead and see what are the alternatives you have. So the agent mode
8:31
alternatives you have. So the agent mode
8:32
alternatives you have. So the agent mode is my hands are empty I'm not doing this
8:34
is my hands are empty I'm not doing this
8:34
is my hands are empty I'm not doing this I'm not typing that. Yeah, agent mode is
8:36
I'm not typing that. Yeah, agent mode is
8:36
I'm not typing that. Yeah, agent mode is intelligently thinking like um uh okay
8:39
intelligently thinking like um uh okay
8:39
intelligently thinking like um uh okay as a pattern okay if this is not working
8:41
as a pattern okay if this is not working
8:41
as a pattern okay if this is not working what are the alternatives I have like
8:43
what are the alternatives I have like
8:43
what are the alternatives I have like it's plan B plan C like it will go on
8:45
it's plan B plan C like it will go on
8:45
it's plan B plan C like it will go on keep on uh executing those plans
8:47
keep on uh executing those plans
8:47
keep on uh executing those plans accordingly and it will it will finally
8:49
accordingly and it will it will finally
8:49
accordingly and it will it will finally like uh create a whatever we are looking
8:52
like uh create a whatever we are looking
8:52
like uh create a whatever we are looking for or
8:54
for or it will generate whatever we are looking
8:57
it will generate whatever we are looking
8:57
it will generate whatever we are looking for just maximize this for a bit and we
9:00
for just maximize this for a bit and we
9:00
for just maximize this for a bit and we can see what it is doing so it's trying
9:01
can see what it is doing so it's trying
9:01
can see what it is doing so it's trying to generate it's not happening now it's
9:03
to generate it's not happening now it's
9:03
to generate it's not happening now it's uh creating all the necessary files in
9:05
uh creating all the necessary files in
9:05
uh creating all the necessary files in folder structures memory. So it's still
9:08
folder structures memory. So it's still
9:08
folder structures memory. So it's still working on it. So when I I mean if you
9:11
working on it. So when I I mean if you
9:11
working on it. So when I I mean if you remember like we have
9:13
remember like we have
9:13
remember like we have mentioned like we need to uh follow the
9:15
mentioned like we need to uh follow the
9:15
mentioned like we need to uh follow the proper folder structure. So if you see
9:16
proper folder structure. So if you see
9:16
proper folder structure. So if you see it's created a lot of folders out there
9:19
it's created a lot of folders out there
9:19
it's created a lot of folders out there to uh follow a pattern. So I don't need
9:21
to uh follow a pattern. So I don't need
9:22
to uh follow a pattern. So I don't need this now. So let's see.
9:25
this now. So let's see.
9:25
this now. So let's see. So it's going on going on going on going
9:28
So it's going on going on going on going
9:28
So it's going on going on going on going on. So I while it's getting created
9:31
on. So I while it's getting created
9:31
on. So I while it's getting created let's talk about a little more on
9:33
let's talk about a little more on
9:33
let's talk about a little more on prompting. So we always say like in
9:35
prompting. So we always say like in
9:35
prompting. So we always say like in software industry like garbage in
9:36
software industry like garbage in
9:36
software industry like garbage in garbage out right. So the prompts are
9:38
garbage out right. So the prompts are
9:38
garbage out right. So the prompts are similar works in a similar way. So the
9:40
similar works in a similar way. So the
9:40
similar works in a similar way. So the your prompt is very specific to the
9:42
your prompt is very specific to the
9:42
your prompt is very specific to the point and precise then your output will
9:45
point and precise then your output will
9:45
point and precise then your output will be like that. If you have if you I mean
9:47
be like that. If you have if you I mean
9:47
be like that. If you have if you I mean give a random questions to it and it'll
9:49
give a random questions to it and it'll
9:49
give a random questions to it and it'll give a random output. So I would suggest
9:51
give a random output. So I would suggest
9:51
give a random output. So I would suggest like be specific whenever you uh you are
9:53
like be specific whenever you uh you are
9:53
like be specific whenever you uh you are using a prompt. So it will be very
9:55
using a prompt. So it will be very
9:55
using a prompt. So it will be very useful for you and it will work
9:57
useful for you and it will work
9:57
useful for you and it will work perfectly.
9:59
perfectly. So let's see what it is up to. So if you
10:02
So let's see what it is up to. So if you
10:02
So let's see what it is up to. So if you see like oh it's created a lot of things
10:03
see like oh it's created a lot of things
10:03
see like oh it's created a lot of things for us right now. So it's created some
10:06
for us right now. So it's created some
10:06
for us right now. So it's created some resources which says like hey what is my
10:08
resources which says like hey what is my
10:08
resources which says like hey what is my property files and it has implemented
10:10
property files and it has implemented
10:10
property files and it has implemented logging for us. It has a database and it
10:15
logging for us. It has a database and it
10:15
logging for us. It has a database and it has a application class which we can run
10:17
has a application class which we can run
10:17
has a application class which we can run and we have a model which we have called
10:20
and we have a model which we have called
10:20
and we have a model which we have called like a temporary model to create. We
10:22
like a temporary model to create. We
10:22
like a temporary model to create. We have a repository and we have a service
10:25
have a repository and we have a service
10:25
have a repository and we have a service and we have other things and we have a
10:28
and we have other things and we have a
10:28
and we have other things and we have a security group to which I've told to
10:30
security group to which I've told to
10:30
security group to which I've told to create a security.
10:35
So after that like finally like if you
10:37
So after that like finally like if you
10:37
So after that like finally like if you have seen my um I'll show the prompt. So
10:40
have seen my um I'll show the prompt. So
10:40
have seen my um I'll show the prompt. So I've said like create my uh readme file.
10:42
I've said like create my uh readme file.
10:42
I've said like create my uh readme file. So it's trying to create a readme right
10:44
So it's trying to create a readme right
10:44
So it's trying to create a readme right now. I think it's taking it. So it says
10:46
now. I think it's taking it. So it says
10:46
now. I think it's taking it. So it says like okay what is this project about and
10:48
like okay what is this project about and
10:48
like okay what is this project about and what are different questions of uh
10:50
what are different questions of uh
10:50
what are different questions of uh technology stack we are using and other
10:52
technology stack we are using and other
10:52
technology stack we are using and other details it can show.
10:55
details it can show.
10:55
details it can show. So like ideally like if you are a
10:56
So like ideally like if you are a
10:56
So like ideally like if you are a developer if somebody ask you to create
10:58
developer if somebody ask you to create
10:58
developer if somebody ask you to create a microservices it might take a day or
11:00
a microservices it might take a day or
11:00
a microservices it might take a day or two depends on your experience whatever
11:02
two depends on your experience whatever
11:02
two depends on your experience whatever you have and you will at the end of the
11:04
you have and you will at the end of the
11:04
you have and you will at the end of the day you say like hey I've done all the
11:06
day you say like hey I've done all the
11:06
day you say like hey I've done all the work and this is the result of it. So
11:08
work and this is the result of it. So
11:08
work and this is the result of it. So right now the same thing can be done in
11:11
right now the same thing can be done in
11:11
right now the same thing can be done in 5 to 10 minutes I would say. So I'm just
11:13
5 to 10 minutes I would say. So I'm just
11:14
5 to 10 minutes I would say. So I'm just keeping all the files and I'm expanding
11:15
keeping all the files and I'm expanding
11:15
keeping all the files and I'm expanding it to see like it gives a gives us a
11:18
it to see like it gives a gives us a
11:18
it to see like it gives a gives us a full detail of like what has been done.
11:20
full detail of like what has been done.
11:20
full detail of like what has been done. So it's created a structure blah blah
11:22
So it's created a structure blah blah
11:22
So it's created a structure blah blah blah and everything everything
11:24
blah and everything everything
11:24
blah and everything everything everything. So it can be run on this
11:26
everything. So it can be run on this
11:26
everything. So it can be run on this particular code. Uh let's try uh to run
11:28
particular code. Uh let's try uh to run
11:28
particular code. Uh let's try uh to run this application. I don't want to type
11:30
this application. I don't want to type
11:30
this application. I don't want to type any command. I'm asking this to run uh
11:34
any command. I'm asking this to run uh
11:34
any command. I'm asking this to run uh application to see like what it does.
11:41
So it should be uh running my command uh
11:44
So it should be uh running my command uh
11:44
So it should be uh running my command uh spring uh to run the spring boot. It's
11:46
spring uh to run the spring boot. It's
11:46
spring uh to run the spring boot. It's asking me the permission. I'm going
11:47
asking me the permission. I'm going
11:47
asking me the permission. I'm going ahead
11:49
ahead and it's going there should be there
11:52
and it's going there should be there
11:52
and it's going there should be there hopefully. No errors out there.
11:57
hopefully. No errors out there.
11:57
hopefully. No errors out there. Yes, it's keep on starting. So so I can
11:59
Yes, it's keep on starting. So so I can
12:00
Yes, it's keep on starting. So so I can give a demo on um endpoint on uh
12:03
give a demo on um endpoint on uh
12:03
give a demo on um endpoint on uh Postman. So where if you want to do
12:05
Postman. So where if you want to do
12:05
Postman. So where if you want to do further um uh development on this right
12:08
further um uh development on this right
12:08
further um uh development on this right you can wipe code it or you can do a
12:10
you can wipe code it or you can do a
12:10
you can wipe code it or you can do a prompt saying like hey can you generate
12:11
prompt saying like hey can you generate
12:11
prompt saying like hey can you generate a uh reactjs code uh as a front end for
12:15
a uh reactjs code uh as a front end for
12:15
a uh reactjs code uh as a front end for me to uh call these API endpoints then
12:17
me to uh call these API endpoints then
12:17
me to uh call these API endpoints then it will definitely do that for you too
12:19
it will definitely do that for you too
12:20
it will definitely do that for you too due to time constraints I let uh just
12:22
due to time constraints I let uh just
12:22
due to time constraints I let uh just stick to the uh postman so if you can
12:25
stick to the uh postman so if you can
12:25
stick to the uh postman so if you can see my postman so I'm just running the
12:27
see my postman so I'm just running the
12:27
see my postman so I'm just running the AP endpoint to see like if I have u any
12:32
AP endpoint to see like if I have u any
12:32
AP endpoint to see like if I have u any uh
12:34
uh data. So it says like no you don't have
12:35
data. So it says like no you don't have
12:35
data. So it says like no you don't have any data. So and see if you see there is
12:38
any data. So and see if you see there is
12:38
any data. So and see if you see there is an error 401. Let's fix that. So go back
12:41
an error 401. Let's fix that. So go back
12:41
an error 401. Let's fix that. So go back and and tell it like I'm getting I'm
12:45
and and tell it like I'm getting I'm
12:45
and and tell it like I'm getting I'm getting 401 error while accessing the
12:50
getting 401 error while accessing the
12:50
getting 401 error while accessing the end point.
12:54
Uh what is this? Yes.
12:59
Uh what is this? Yes.
12:59
Uh what is this? Yes. Uh,
13:08
it will try to Okay, I'll have to shut
13:11
it will try to Okay, I'll have to shut
13:11
it will try to Okay, I'll have to shut this down.
13:24
Yeah. So it's saying like the uh basic
13:27
Yeah. So it's saying like the uh basic
13:27
Yeah. So it's saying like the uh basic authentication uh has a username and
13:29
authentication uh has a username and
13:29
authentication uh has a username and password as admin. Yeah, that's what's
13:32
password as admin. Yeah, that's what's
13:32
password as admin. Yeah, that's what's happening now. So let's start the server
13:35
happening now. So let's start the server
13:35
happening now. So let's start the server one more time
13:37
one more time and fix that. So I was just given uh
13:40
and fix that. So I was just given uh
13:40
and fix that. So I was just given uh something else in there. So don't copy
13:42
something else in there. So don't copy
13:42
something else in there. So don't copy my username and password.
13:47
So let's see what's happening. So let me
13:52
let's see what's happening. So let me
13:52
let's see what's happening. So let me wait for the server to start. Yes, it
13:54
wait for the server to start. Yes, it
13:54
wait for the server to start. Yes, it started. So when I say this now, it
13:56
started. So when I say this now, it
13:56
started. So when I say this now, it should work because previously I gave a
13:59
should work because previously I gave a
13:59
should work because previously I gave a wrong username and password. So that's
14:01
wrong username and password. So that's
14:01
wrong username and password. So that's the reason why it's not working. So so
14:03
the reason why it's not working. So so
14:03
the reason why it's not working. So so when I mean if if you see it so whenever
14:06
when I mean if if you see it so whenever
14:06
when I mean if if you see it so whenever it's running whenever we stop it uh I
14:09
it's running whenever we stop it uh I
14:09
it's running whenever we stop it uh I mean whenever it started it say like hey
14:11
mean whenever it started it say like hey
14:11
mean whenever it started it say like hey uh you are trying to uh use this URL and
14:13
uh you are trying to uh use this URL and
14:13
uh you are trying to uh use this URL and this is the username and password but
14:15
this is the username and password but
14:15
this is the username and password but you may be using something else. So it
14:16
you may be using something else. So it
14:16
you may be using something else. So it hinted as saying like you are doing
14:17
hinted as saying like you are doing
14:18
hinted as saying like you are doing something wrong. So before we ask a
14:19
something wrong. So before we ask a
14:19
something wrong. So before we ask a question to it. So it just gave us a uh
14:22
question to it. So it just gave us a uh
14:22
question to it. So it just gave us a uh simple uh post command how you can test
14:26
simple uh post command how you can test
14:26
simple uh post command how you can test it. So let's do a testing of insertion.
14:29
it. So let's do a testing of insertion.
14:29
it. So let's do a testing of insertion. So in this also I give a wrong password.
14:31
So in this also I give a wrong password.
14:32
So in this also I give a wrong password. So what I'll do I'll change
14:35
So what I'll do I'll change
14:35
So what I'll do I'll change I'll change I'll change and change. So I
14:37
I'll change I'll change and change. So I
14:37
I'll change I'll change and change. So I just have demi data for now. So I'll go
14:40
just have demi data for now. So I'll go
14:40
just have demi data for now. So I'll go ahead and add this. It's been added and
14:42
ahead and add this. It's been added and
14:42
ahead and add this. It's been added and let's test get URL. So get URL as
14:46
let's test get URL. So get URL as
14:46
let's test get URL. So get URL as working. So we are all good. So our
14:48
working. So we are all good. So our
14:48
working. So we are all good. So our basic uh microservices is ready and it's
14:51
basic uh microservices is ready and it's
14:51
basic uh microservices is ready and it's all good to get developed. So it's it's
14:54
all good to get developed. So it's it's
14:54
all good to get developed. So it's it's all good to get deployed. So uh it's not
14:58
all good to get deployed. So uh it's not
14:58
all good to get deployed. So uh it's not like any code what we have developed
15:00
like any code what we have developed
15:00
like any code what we have developed here. So it's a production ready code I
15:02
here. So it's a production ready code I
15:02
here. So it's a production ready code I would say because uh we have all the uh
15:04
would say because uh we have all the uh
15:04
would say because uh we have all the uh boiler plate code like logging and
15:06
boiler plate code like logging and
15:06
boiler plate code like logging and security has been implemented and where
15:08
security has been implemented and where
15:08
security has been implemented and where we have uh I mean as soon as we deploy
15:11
we have uh I mean as soon as we deploy
15:11
we have uh I mean as soon as we deploy this so we can have it integrated with
15:13
this so we can have it integrated with
15:13
this so we can have it integrated with an API gateway. It's a perfect example
15:15
an API gateway. It's a perfect example
15:15
an API gateway. It's a perfect example for microservices. So right now like I
15:17
for microservices. So right now like I
15:17
for microservices. So right now like I told in my session so this is how you
15:19
told in my session so this is how you
15:19
told in my session so this is how you can do it uh as a simple microservices
15:21
can do it uh as a simple microservices
15:21
can do it uh as a simple microservices development. So uh starting out the
15:23
development. So uh starting out the
15:23
development. So uh starting out the session uh I told you like I'll make you
15:25
session uh I told you like I'll make you
15:26
session uh I told you like I'll make you familiar with few words. One is uh chat
15:27
familiar with few words. One is uh chat
15:28
familiar with few words. One is uh chat mode which I've done. Second thing is
15:29
mode which I've done. Second thing is
15:29
mode which I've done. Second thing is prompt which we have done. We have seen
15:30
prompt which we have done. We have seen
15:30
prompt which we have done. We have seen like how the prompts how better prompts
15:33
like how the prompts how better prompts
15:33
like how the prompts how better prompts we can give you to make sure like uh
15:35
we can give you to make sure like uh
15:35
we can give you to make sure like uh your agent mode in VS code works fine.
15:37
your agent mode in VS code works fine.
15:37
your agent mode in VS code works fine. And last and final one is uh the
15:40
And last and final one is uh the
15:40
And last and final one is uh the instructions. So what are instructions
15:42
instructions. So what are instructions
15:42
instructions. So what are instructions like why exactly we need instructions?
15:45
like why exactly we need instructions?
15:45
like why exactly we need instructions? Right now if you see like I haven't
15:47
Right now if you see like I haven't
15:47
Right now if you see like I haven't given any context to it and I haven't
15:48
given any context to it and I haven't
15:48
given any context to it and I haven't given anything to my copilot to say like
15:51
given anything to my copilot to say like
15:51
given anything to my copilot to say like like what what are your boundaries to do
15:53
like what what are your boundaries to do
15:53
like what what are your boundaries to do and how how you need to develop how how
15:56
and how how you need to develop how how
15:56
and how how you need to develop how how you need to test how you need to run a
15:57
you need to test how you need to run a
15:57
you need to test how you need to run a server I haven't given anything so uh
16:00
server I haven't given anything so uh
16:00
server I haven't given anything so uh typically our case uh how we uh develop
16:03
typically our case uh how we uh develop
16:03
typically our case uh how we uh develop anything so we have two methods like
16:04
anything so we have two methods like
16:04
anything so we have two methods like forward engineering and backward
16:06
forward engineering and backward
16:06
forward engineering and backward engineering forward engineering always
16:07
engineering forward engineering always
16:07
engineering forward engineering always we have a hefty documentation depends on
16:09
we have a hefty documentation depends on
16:09
we have a hefty documentation depends on the documentation you go and develop
16:11
the documentation you go and develop
16:11
the documentation you go and develop this example we consider it as a
16:13
this example we consider it as a
16:13
this example we consider it as a backward um uh engineering where we have
16:16
backward um uh engineering where we have
16:16
backward um uh engineering where we have the code developed and we don't know or
16:19
the code developed and we don't know or
16:19
the code developed and we don't know or uh as a developer we don't know or we
16:21
uh as a developer we don't know or we
16:21
uh as a developer we don't know or we don't have any instructions how I need
16:22
don't have any instructions how I need
16:22
don't have any instructions how I need to develop any feature requirements so
16:24
to develop any feature requirements so
16:24
to develop any feature requirements so for this I would say instructions are
16:26
for this I would say instructions are
16:26
for this I would say instructions are better so we have an generate
16:28
better so we have an generate
16:28
better so we have an generate instructions so how we can do it like
16:30
instructions so how we can do it like
16:30
instructions so how we can do it like just go ahead click on generate
16:31
just go ahead click on generate
16:31
just go ahead click on generate instructions what it does is like it
16:33
instructions what it does is like it
16:33
instructions what it does is like it will define a pattern or it will use it
16:36
will define a pattern or it will use it
16:36
will define a pattern or it will use it will read all the code current code and
16:38
will read all the code current code and
16:38
will read all the code current code and it will try to establish or it will try
16:40
it will try to establish or it will try
16:40
it will try to establish or it will try to create a document on it saying like
16:42
to create a document on it saying like
16:42
to create a document on it saying like hey these are the instructions how how
16:43
hey these are the instructions how how
16:43
hey these are the instructions how how you need you follow for any future
16:45
you need you follow for any future
16:45
you need you follow for any future development of what you do. So let let's
16:48
development of what you do. So let let's
16:48
development of what you do. So let let's see what it does. So it's trying to
16:50
see what it does. So it's trying to
16:50
see what it does. So it's trying to create a GitHub folder if you see it
16:53
create a GitHub folder if you see it
16:53
create a GitHub folder if you see it here. And you might end up having a file
16:58
here. And you might end up having a file
16:58
here. And you might end up having a file uh
17:08
it's taking a bit of Yeah, if you see
17:09
it's taking a bit of Yeah, if you see
17:09
it's taking a bit of Yeah, if you see the file here, so it's created. It's
17:12
the file here, so it's created. It's
17:12
the file here, so it's created. It's saying like it's a spring boot file. we
17:13
saying like it's a spring boot file. we
17:13
saying like it's a spring boot file. we have this pattern is followed and like
17:16
have this pattern is followed and like
17:16
have this pattern is followed and like sample objects and everything you see it
17:18
sample objects and everything you see it
17:18
sample objects and everything you see it here everything is there so one more
17:20
here everything is there so one more
17:20
here everything is there so one more beauty of this uh I want to do this is
17:24
beauty of this uh I want to do this is
17:24
beauty of this uh I want to do this is like I want to create an architecture
17:25
like I want to create an architecture
17:25
like I want to create an architecture diagram uh architecture
17:29
diagram uh architecture
17:29
diagram uh architecture I'm using we have a mermaid charts you
17:32
I'm using we have a mermaid charts you
17:32
I'm using we have a mermaid charts you might have familiar with it or let's
17:34
might have familiar with it or let's
17:34
might have familiar with it or let's just Google it and see like uh what are
17:37
just Google it and see like uh what are
17:37
just Google it and see like uh what are mermaid pro charts uh artic
17:41
mermaid pro charts uh artic
17:41
mermaid pro charts uh artic charts and update
17:43
charts and update in readmi file. So I'm asking it to
17:46
in readmi file. So I'm asking it to
17:46
in readmi file. So I'm asking it to create a art aure diagram and update
17:48
create a art aure diagram and update
17:48
create a art aure diagram and update into readmi file. So when while it is
17:51
into readmi file. So when while it is
17:51
into readmi file. So when while it is doing let's see like how we can push our
17:53
doing let's see like how we can push our
17:53
doing let's see like how we can push our changes to our repository. So I have a
17:57
changes to our repository. So I have a
17:57
changes to our repository. So I have a uh repo created beforehand. So what I'll
18:00
uh repo created beforehand. So what I'll
18:00
uh repo created beforehand. So what I'll do once this is done
18:03
do once this is done
18:03
do once this is done uh let's read me is getting created. So
18:05
uh let's read me is getting created. So
18:05
uh let's read me is getting created. So yes it's all done. I would say
18:10
yes it's all done. I would say
18:10
yes it's all done. I would say so changes. Uh looks good. This is my
18:13
so changes. Uh looks good. This is my
18:13
so changes. Uh looks good. This is my prompt. Please, you don't need to please
18:16
prompt. Please, you don't need to please
18:16
prompt. Please, you don't need to please him, but but yeah, please push push code
18:20
him, but but yeah, please push push code
18:20
him, but but yeah, please push push code to
18:24
I would say uh what is the main branch or master
18:27
uh what is the main branch or master
18:27
uh what is the main branch or master branch? I forgot. Give me one second.
18:31
branch? I forgot. Give me one second.
18:31
branch? I forgot. Give me one second. Branch
18:34
is the main branch. Um I would say push
18:38
is the main branch. Um I would say push
18:38
is the main branch. Um I would say push code to main branch with main command
18:45
code to main branch with main command
18:45
code to main branch with main command what it does right now. So we I mean
18:47
what it does right now. So we I mean
18:47
what it does right now. So we I mean till you know what I have done uh we
18:49
till you know what I have done uh we
18:49
till you know what I have done uh we have done a uh simple microservices
18:51
have done a uh simple microservices
18:52
have done a uh simple microservices using print boot and like I mean that's
18:54
using print boot and like I mean that's
18:54
using print boot and like I mean that's not it right when you have given a task
18:56
not it right when you have given a task
18:56
not it right when you have given a task finally you just need to push it to
18:57
finally you just need to push it to
18:57
finally you just need to push it to GitHub repo and where your peer will
19:00
GitHub repo and where your peer will
19:00
GitHub repo and where your peer will review it. So right now like we'll end
19:02
review it. So right now like we'll end
19:02
review it. So right now like we'll end till we push the code to uh GitHub and
19:05
till we push the code to uh GitHub and
19:05
till we push the code to uh GitHub and the Preview part I think we'll leave it
19:06
the Preview part I think we'll leave it
19:06
the Preview part I think we'll leave it later
19:16
okay it's changing its um branch and good
19:19
it's changing its um branch and good
19:19
it's changing its um branch and good it's creating a meeting ignore so that
19:21
it's creating a meeting ignore so that
19:21
it's creating a meeting ignore so that like it's not uh uh checking in all the
19:24
like it's not uh uh checking in all the
19:24
like it's not uh uh checking in all the things if you see it. So I'll give it a
19:28
things if you see it. So I'll give it a
19:28
things if you see it. So I'll give it a yeah the major part is not GitHub
19:31
yeah the major part is not GitHub
19:31
yeah the major part is not GitHub pushing it to GitHub. The major part is
19:33
pushing it to GitHub. The major part is
19:33
pushing it to GitHub. The major part is a development work which you can do it
19:35
a development work which you can do it
19:35
a development work which you can do it like 70 80% of the time you do it only
19:38
like 70 80% of the time you do it only
19:38
like 70 80% of the time you do it only GitHub checking you may be doing like
19:40
GitHub checking you may be doing like
19:40
GitHub checking you may be doing like you may take 5 minutes or 10 minutes of
19:41
you may take 5 minutes or 10 minutes of
19:41
you may take 5 minutes or 10 minutes of your time uh today to do it even that
19:44
your time uh today to do it even that
19:44
your time uh today to do it even that thing you can give it to a g I mean
19:47
thing you can give it to a g I mean
19:47
thing you can give it to a g I mean GitHub propite where you can uh say like
19:49
GitHub propite where you can uh say like
19:49
GitHub propite where you can uh say like hey you can do this uh you can clone
19:52
hey you can do this uh you can clone
19:52
hey you can do this uh you can clone this repos machine using please go ahead
19:56
this repos machine using please go ahead
19:56
this repos machine using please go ahead please
19:59
please so it's asking for permissions so uh
20:01
so it's asking for permissions so uh
20:02
so it's asking for permissions so uh Before that uh I said like whenever we
20:04
Before that uh I said like whenever we
20:04
Before that uh I said like whenever we create an instructions that's a uh thing
20:07
create an instructions that's a uh thing
20:07
create an instructions that's a uh thing for GitHub copilot. So every time we do
20:09
for GitHub copilot. So every time we do
20:09
for GitHub copilot. So every time we do any um prompt it's just referring to
20:11
any um prompt it's just referring to
20:12
any um prompt it's just referring to this gith every time
20:14
this gith every time
20:14
this gith every time sorry uh github copilot instructions
20:16
sorry uh github copilot instructions
20:16
sorry uh github copilot instructions every time. So let's see.
20:28
Yeah, it's take a bit of time today to
20:30
Yeah, it's take a bit of time today to
20:30
Yeah, it's take a bit of time today to check this.
20:47
Yes, trying to add some more
20:50
Yes, trying to add some more
20:50
Yes, trying to add some more instructions to read me to go ahead.
20:53
instructions to read me to go ahead.
20:53
instructions to read me to go ahead. So finally like once uh these commands
20:56
So finally like once uh these commands
20:56
So finally like once uh these commands gets executed right you can see the code
20:58
gets executed right you can see the code
20:58
gets executed right you can see the code is being pushed to uh this particular
21:00
is being pushed to uh this particular
21:00
is being pushed to uh this particular repo. So when it's doing this right so
21:03
repo. So when it's doing this right so
21:03
repo. So when it's doing this right so let me introduce you to some more where
21:06
let me introduce you to some more where
21:06
let me introduce you to some more where u I was talking about these chart modes
21:08
u I was talking about these chart modes
21:08
u I was talking about these chart modes and everything right so the three
21:09
and everything right so the three
21:09
and everything right so the three buzzwords uh the chat modes if you see
21:11
buzzwords uh the chat modes if you see
21:11
buzzwords uh the chat modes if you see my screen here like we have a lot of
21:13
my screen here like we have a lot of
21:13
my screen here like we have a lot of chart modes which are already created
21:14
chart modes which are already created
21:14
chart modes which are already created you can refer to this um awesome copilot
21:18
you can refer to this um awesome copilot
21:18
you can refer to this um awesome copilot github repo so where it has a lot of
21:20
github repo so where it has a lot of
21:20
github repo so where it has a lot of instructions how your chart mode should
21:22
instructions how your chart mode should
21:22
instructions how your chart mode should work which is nothing but having a
21:23
work which is nothing but having a
21:24
work which is nothing but having a boundary around it and similarly like uh
21:26
boundary around it and similarly like uh
21:26
boundary around it and similarly like uh instructions how you can give
21:28
instructions how you can give
21:28
instructions how you can give instructions like Java instructions are
21:30
instructions like Java instructions are
21:30
instructions like Java instructions are there If this is specific to your
21:32
there If this is specific to your
21:32
there If this is specific to your technology or specific to something
21:35
technology or specific to something
21:35
technology or specific to something which is related to your project and
21:36
which is related to your project and
21:36
which is related to your project and finally the prompts also you can specify
21:38
finally the prompts also you can specify
21:38
finally the prompts also you can specify saying like how uh particular thing uh
21:41
saying like how uh particular thing uh
21:41
saying like how uh particular thing uh should be working. So the prompt the
21:43
should be working. So the prompt the
21:43
should be working. So the prompt the funny prompt I have seen is like how
21:47
funny prompt I have seen is like how
21:47
funny prompt I have seen is like how spring yes whenever you are asking a
21:50
spring yes whenever you are asking a
21:50
spring yes whenever you are asking a chat mode how whenever you say hey
21:52
chat mode how whenever you say hey
21:52
chat mode how whenever you say hey create a spring boot project how it has
21:53
create a spring boot project how it has
21:54
create a spring boot project how it has to be uh supposed to be looking or
21:56
to be uh supposed to be looking or
21:56
to be uh supposed to be looking or working. So this is about something
21:59
working. So this is about something
21:59
working. So this is about something which I wanted to show and let's see
22:01
which I wanted to show and let's see
22:01
which I wanted to show and let's see what's happening. So yes it's about to
22:04
what's happening. So yes it's about to
22:04
what's happening. So yes it's about to push. So it just pushing everything.
22:10
Yeah it's now it has a let me expand
22:14
Yeah it's now it has a let me expand
22:14
Yeah it's now it has a let me expand this. So it says like okay I'm doing
22:16
this. So it says like okay I'm doing
22:16
this. So it says like okay I'm doing something. I'm doing some license. It's
22:18
something. I'm doing some license. It's
22:18
something. I'm doing some license. It's it's all open license right. So it's
22:20
it's all open license right. So it's
22:20
it's all open license right. So it's created all the um necessary commit
22:22
created all the um necessary commit
22:22
created all the um necessary commit changes and it's finally saying hey I'm
22:25
changes and it's finally saying hey I'm
22:25
changes and it's finally saying hey I'm done all these things. So now let's see
22:27
done all these things. So now let's see
22:27
done all these things. So now let's see whether it's really did it. So this is
22:29
whether it's really did it. So this is
22:29
whether it's really did it. So this is our repo if you see. So whatever the
22:32
our repo if you see. So whatever the
22:32
our repo if you see. So whatever the changes we have done is been pushed to
22:34
changes we have done is been pushed to
22:34
changes we have done is been pushed to here.
22:36
here. So just to uh recap of the session we
22:38
So just to uh recap of the session we
22:38
So just to uh recap of the session we just seen like how we can um use uh chat
22:42
just seen like how we can um use uh chat
22:42
just seen like how we can um use uh chat mode in VS code and do uh coding and
22:45
mode in VS code and do uh coding and
22:45
mode in VS code and do uh coding and which can help in debugging when you
22:47
which can help in debugging when you
22:47
which can help in debugging when you have an issue or freshly generating a
22:49
have an issue or freshly generating a
22:49
have an issue or freshly generating a code. And second thing is what are
22:51
code. And second thing is what are
22:51
code. And second thing is what are prompts like garbage in web like if you
22:53
prompts like garbage in web like if you
22:53
prompts like garbage in web like if you give a better prompt it'll give you
22:55
give a better prompt it'll give you
22:55
give a better prompt it'll give you better results. And final thing is the
22:57
better results. And final thing is the
22:57
better results. And final thing is the uh instructions where you have a
22:59
uh instructions where you have a
22:59
uh instructions where you have a boundary defense saying like whenever
23:01
boundary defense saying like whenever
23:01
boundary defense saying like whenever you are doing a development you in the
23:03
you are doing a development you in the
23:03
you are doing a development you in the sense like an agent is doing a
23:04
sense like an agent is doing a
23:04
sense like an agent is doing a development what are the instructions it
23:06
development what are the instructions it
23:06
development what are the instructions it needs to follow and all these things. So
23:09
needs to follow and all these things. So
23:10
needs to follow and all these things. So this is uh pretty much about a quick
23:11
this is uh pretty much about a quick
23:11
this is uh pretty much about a quick demo on how you can uh quickly uh be
23:15
demo on how you can uh quickly uh be
23:15
demo on how you can uh quickly uh be productive in your world and get help
23:17
productive in your world and get help
23:17
productive in your world and get help from um uh your chat I mean code
23:20
from um uh your chat I mean code
23:20
from um uh your chat I mean code assistance whatever you have uh we still
23:21
assistance whatever you have uh we still
23:22
assistance whatever you have uh we still have a limitations on this let's say
23:23
have a limitations on this let's say
23:23
have a limitations on this let's say like u uh this is a simple microservices
23:27
like u uh this is a simple microservices
23:27
like u uh this is a simple microservices which we developed it works perfectly if
23:29
which we developed it works perfectly if
23:29
which we developed it works perfectly if you have a bigger bigger bigger project
23:31
you have a bigger bigger bigger project
23:31
you have a bigger bigger bigger project like big monolith so you might need to
23:33
like big monolith so you might need to
23:33
like big monolith so you might need to fine-tune your instructions promps or
23:35
fine-tune your instructions promps or
23:35
fine-tune your instructions promps or chart mode to make sure like it is
23:37
chart mode to make sure like it is
23:37
chart mode to make sure like it is serving your purpose purpose
23:38
serving your purpose purpose
23:38
serving your purpose purpose So with that I'll say happy coding and
23:41
So with that I'll say happy coding and
23:41
So with that I'll say happy coding and happy learning. Thanks everyone for
23:43
happy learning. Thanks everyone for
23:43
happy learning. Thanks everyone for joining and listening for the session.
23:47
joining and listening for the session.
23:47
joining and listening for the session. That was absolutely great u you know I
23:49
That was absolutely great u you know I
23:49
That was absolutely great u you know I really liked on how you you know picked
23:51
really liked on how you you know picked
23:51
really liked on how you you know picked all three different parts of the agency
23:53
all three different parts of the agency
23:53
all three different parts of the agency in VS code and explain all three of
23:55
in VS code and explain all three of
23:55
in VS code and explain all three of them. My only quick and follow-up
23:57
them. My only quick and follow-up
23:57
them. My only quick and follow-up question for you is you know I know uh
23:59
question for you is you know I know uh
23:59
question for you is you know I know uh for those who are getting started the
24:00
for those who are getting started the
24:00
for those who are getting started the agents for the very first time the the
24:02
agents for the very first time the the
24:02
agents for the very first time the the basic question that everybody will have
24:04
basic question that everybody will have
24:04
basic question that everybody will have is it how is it different than using uh
24:07
is it how is it different than using uh
24:07
is it how is it different than using uh the copilot in it itself uh on top of
24:10
the copilot in it itself uh on top of
24:10
the copilot in it itself uh on top of that AI agents what's what's the big
24:13
that AI agents what's what's the big
24:13
that AI agents what's what's the big difference between using AI agents and
24:15
difference between using AI agents and
24:15
difference between using AI agents and just using copilot
24:17
just using copilot yeah co-pilot is like I mean basic
24:20
yeah co-pilot is like I mean basic
24:20
yeah co-pilot is like I mean basic difference like generative generative is
24:22
difference like generative generative is
24:22
difference like generative generative is like more of like a question and answers
24:24
like more of like a question and answers
24:24
like more of like a question and answers kind of thing uh where it can give you a
24:26
kind of thing uh where it can give you a
24:26
kind of thing uh where it can give you a specific information. Let's say if I ask
24:28
specific information. Let's say if I ask
24:28
specific information. Let's say if I ask like hey can you give me um uh can you
24:30
like hey can you give me um uh can you
24:30
like hey can you give me um uh can you give me logic for adding two numbers
24:31
give me logic for adding two numbers
24:31
give me logic for adding two numbers it'll give a logic in there that's it
24:34
it'll give a logic in there that's it
24:34
it'll give a logic in there that's it it's not doing anything more agent mode
24:36
it's not doing anything more agent mode
24:36
it's not doing anything more agent mode it'll think think like me so if I'm
24:38
it'll think think like me so if I'm
24:38
it'll think think like me so if I'm asking a question saying like hey I need
24:40
asking a question saying like hey I need
24:40
asking a question saying like hey I need to have uh a program to be added so it
24:43
to have uh a program to be added so it
24:43
to have uh a program to be added so it don't display it will try to create
24:45
don't display it will try to create
24:45
don't display it will try to create those files or it will uh go ahead go
24:47
those files or it will uh go ahead go
24:47
those files or it will uh go ahead go ahead in the project which you working
24:49
ahead in the project which you working
24:49
ahead in the project which you working and it will create it so one more
24:51
and it will create it so one more
24:51
and it will create it so one more example if you have an issue when you
24:53
example if you have an issue when you
24:53
example if you have an issue when you are you developing I've shown you a 401
24:55
are you developing I've shown you a 401
24:55
are you developing I've shown you a 401 unauthorized issue So in that case so
24:58
unauthorized issue So in that case so
24:58
unauthorized issue So in that case so whenever it's in gen mode it doesn't
25:00
whenever it's in gen mode it doesn't
25:00
whenever it's in gen mode it doesn't know it doesn't have the context of your
25:01
know it doesn't have the context of your
25:02
know it doesn't have the context of your project. So agent mode will run through
25:04
project. So agent mode will run through
25:04
project. So agent mode will run through run through and see the actions which
25:06
run through and see the actions which
25:06
run through and see the actions which are happening and it can capture the
25:08
are happening and it can capture the
25:08
are happening and it can capture the actions and it will uh give an response
25:11
actions and it will uh give an response
25:11
actions and it will uh give an response on top of it. So it's basically like
25:13
on top of it. So it's basically like
25:13
on top of it. So it's basically like it's more of like you uh I mean um geni
25:16
it's more of like you uh I mean um geni
25:16
it's more of like you uh I mean um geni versus uh a agent I would say the
25:19
versus uh a agent I would say the
25:19
versus uh a agent I would say the thinking mode and repetitive uh or the
25:22
thinking mode and repetitive uh or the
25:22
thinking mode and repetitive uh or the fixing mode will be missing in ji when
25:24
fixing mode will be missing in ji when
25:24
fixing mode will be missing in ji when you compare to agent. I think we have
25:26
you compare to agent. I think we have
25:26
you compare to agent. I think we have other topic called agent right this is a
25:28
other topic called agent right this is a
25:28
other topic called agent right this is a huge topic so we're not going there but
25:30
huge topic so we're not going there but
25:30
huge topic so we're not going there but yeah the b m major difference I would
25:32
yeah the b m major difference I would
25:32
yeah the b m major difference I would say it has a thinking capability and it
25:35
say it has a thinking capability and it
25:35
say it has a thinking capability and it can make decisions autonomously so
25:36
can make decisions autonomously so
25:36
can make decisions autonomously so that's one biggest win in agent versus
25:39
that's one biggest win in agent versus
25:39
that's one biggest win in agent versus if you go for chat mode gen
25:42
if you go for chat mode gen
25:42
if you go for chat mode gen well that's perfect I think I really
25:44
well that's perfect I think I really
25:44
well that's perfect I think I really loved it and thank you for answering
25:45
loved it and thank you for answering
25:45
loved it and thank you for answering that question I think we are only in 26
25:48
that question I think we are only in 26
25:48
that question I think we are only in 26 minutes so we'll just wrap it up there
25:50
minutes so we'll just wrap it up there
25:50
minutes so we'll just wrap it up there is there is there any final thing you
25:51
is there is there any final thing you
25:51
is there is there any final thing you want to say before we just close the
25:53
want to say before we just close the
25:53
want to say before we just close the show Yeah, I think thanks thanks to you
25:56
show Yeah, I think thanks thanks to you
25:56
show Yeah, I think thanks thanks to you Simon for giving a nice opportunity for
25:59
Simon for giving a nice opportunity for
25:59
Simon for giving a nice opportunity for me to uh share my experiences. Yeah, as
26:02
me to uh share my experiences. Yeah, as
26:02
me to uh share my experiences. Yeah, as always like happy coding, happy
26:04
always like happy coding, happy
26:04
always like happy coding, happy learning.
26:05
learning. Yeah, well thanks to you there for your
26:06
Yeah, well thanks to you there for your
26:06
Yeah, well thanks to you there for your time and thanks everybody who has joined
26:08
time and thanks everybody who has joined
26:08
time and thanks everybody who has joined us today. Uh we'll see you another
26:09
us today. Uh we'll see you another
26:09
us today. Uh we'll see you another episode in another time for AI up till
26:11
episode in another time for AI up till
26:11
episode in another time for AI up till today. Until then take good care of
26:13
today. Until then take good care of
26:13
today. Until then take good care of yourself and see you soon. Bye-bye.
26:15
yourself and see you soon. Bye-bye.
26:15
yourself and see you soon. Bye-bye. Bye-bye.