00:00:00
Claude just got a massive update that
00:00:02
makes building AI agents so much easier
00:00:04
so in this video I'm going to show you
00:00:05
how now anthropic released the mCP
00:00:08
update this basically turns CLA into an
00:00:10
API by allowing it to run its own
00:00:13
servers so in this video I'll show you
00:00:14
how you can automate anything with CLA
00:00:17
mCP now mCP stands for model context
00:00:20
protocol and this is basically a way for
00:00:22
CLA to interact external tools and apps
00:00:25
it solves a core challenge that if you
00:00:26
build AI agents before you've
00:00:28
encountered connecting them to your data
00:00:30
is very difficult well not anymore now
00:00:32
people like me and you can actually
00:00:34
build cloth powered AI apps way faster
00:00:37
and much easier now here is why I
00:00:38
believe this will lead to the future of
00:00:40
AI agents soon enough all of us will
00:00:42
have teams of Agents working for us and
00:00:44
I'm absolutely certain of this give it a
00:00:46
year or two this update the clae mCP
00:00:49
update just made that Future come a lot
00:00:51
sooner than originally expected so if
00:00:53
you're one of the rare people that will
00:00:55
watch this until the end you will know
00:00:57
exactly how to launch multi-step AI
00:00:59
agents with just one prompt now if you
00:01:01
don't know who I am my name is David
00:01:03
Andre and I run the new Society the new
00:01:05
Society is all about AI agents and how
00:01:07
you can actually profit from the AI
00:01:09
Revolution if you find this video
00:01:10
helpful then I have a lot more in-depth
00:01:12
tutorials and guides just like this in
00:01:15
the new Society so check it out it's
00:01:16
linked below and now let's get to
00:01:18
building all right so the first thing we
00:01:19
have to do is actually download clae
00:01:22
desktop so let's go to this link CL AI
00:01:25
download and click on the button for Mac
00:01:27
OS or Windows if you have Windows I'm on
00:01:29
Mac so I'm going to click that save once
00:01:31
it downloads click on the installer and
00:01:33
move CLA into your applications folder
00:01:35
then we have to open up the finder app
00:01:37
and go into applications and double
00:01:40
click on CLA or you can just search for
00:01:42
CLA and open the app directly now if
00:01:44
you're doing this for the first time you
00:01:45
will have to log in if you don't have a
00:01:47
CLA account what are you doing I would
00:01:49
say right now it is the best AI you can
00:01:51
pay for so absolutely get CLA create
00:01:53
account takes less than a minute awesome
00:01:55
so we can click this off and move on to
00:01:56
the next step which is showing you what
00:01:59
I'm actually going to build now I think
00:02:00
one of the best sources we can take is
00:02:02
the people who actually work at
00:02:04
anthropic which is the company behind
00:02:05
claw so Alex Albert is the head of Claud
00:02:08
relations this is like mind-blowing with
00:02:10
one prompt he basically turned Claude
00:02:12
into a full stack web developer that can
00:02:15
commit ghub visit websites make changes
00:02:17
to them submit issues do poll requests
00:02:20
like this is crazy it's a full-time
00:02:21
software developer from your CLA desktop
00:02:23
and all you have to do is type A single
00:02:25
prompt in English so when I saw this out
00:02:27
like my mind was blown so I'm like okay
00:02:29
I have to make a video on this so this
00:02:30
is what we're going to be building now
00:02:32
unfortunately he didn't explain how to
00:02:34
really set this up in the comments
00:02:35
because the setup is not the simplest
00:02:37
that's why I think 95% of people will
00:02:40
quit at this step so if you can just
00:02:43
push through the next 3 minutes you will
00:02:45
be in the top five% guaranteed so let's
00:02:47
go through it together okay so there are
00:02:48
two commands we need to do this one open
00:02:51
it's just to open a folder so open up a
00:02:53
terminal could be any terminal obviously
00:02:55
if you're on windows open up the command
00:02:57
line Powershell but just paste this in a
00:03:00
Mac OS command that will open this
00:03:01
folder now in this folder we actually
00:03:03
need to create a new file and the
00:03:04
easiest way to do that is to run the
00:03:06
second command by way I'm going to put
00:03:08
both of these in the description below
00:03:10
the video so you can just copy paste
00:03:11
them so let's go back to the terminal
00:03:12
and copy paste the second command which
00:03:14
will create a new file CLA desktop
00:03:16
config.js enter and now if we go into
00:03:19
the file we should find this exact new
00:03:22
file beautiful so what we need to do is
00:03:24
we need to open this file and the
00:03:26
easiest way to do that is use a code
00:03:27
editor or any text editor will do
00:03:29
personally I use cursor you can use vs
00:03:31
code you can use even just a notepad it
00:03:33
doesn't really matter you just need to
00:03:35
open the Json file so you can write
00:03:36
inside of it okay that's step four
00:03:38
completed we can click this off now
00:03:40
let's go into step five which is going
00:03:41
to be set up the brave search mCP which
00:03:44
basically lets CLA search the web
00:03:46
because right now if we go into Cloud
00:03:47
desktop app and we say uh what are
00:03:50
today's news about Bitcoin it will tell
00:03:53
you I cannot browse the web exactly so
00:03:55
CLA by itself cannot browse the web now
00:03:58
that might change in the future but
00:03:59
right now we need to give it the mCP we
00:04:01
need to give it the relevant tools to
00:04:03
actually make this happen which is
00:04:05
exactly why mCP is so important okay so
00:04:08
let's go into vectal AI but this is my
00:04:10
AI app I'm currently building and I'm
00:04:12
going to be releasing this in the next
00:04:13
week or two so if you want to be one of
00:04:15
the first people to have access fill out
00:04:16
the wait list linked below it's
00:04:18
completely free all right so let's go to
00:04:20
this link GitHub now this might be super
00:04:22
intimidating like oh my God David I've
00:04:23
never use GitHub don't worry all we have
00:04:25
to do is scroll down and we will copy
00:04:26
paste this block of Json which to be
00:04:29
honest isn't even code it's Json so
00:04:31
let's copy paste that go back into our
00:04:33
code editor or notepad whatever you're
00:04:35
using so we need to paste this in and
00:04:38
now we need to change the API key so we
00:04:40
need to find our API key luckily this uh
00:04:43
GitHub repo which is from anthropic
00:04:45
makes that super easy again I'm going to
00:04:46
link this below the video so it's super
00:04:48
easy to find for you guys here are the
00:04:49
three steps instructions so we we need
00:04:51
Brave search API which comes with a free
00:04:54
plan and we need to generate an API key
00:04:56
so let's click on the first link here
00:04:57
this will take us to the bra search API
00:04:59
so either sign up if you've never done
00:05:01
this or log in it's super simple takes
00:05:02
like 30 seconds very easy first you will
00:05:05
need to actually choose a subscription
00:05:07
even if you're going with the free tier
00:05:09
and the reason for that is that they
00:05:10
want to make sure you don't spam their
00:05:12
requests and you know go beyond the tier
00:05:14
so you do need to add a credit card but
00:05:16
it's $0 it will not charge you anything
00:05:18
next click on API keys so as you can see
00:05:20
I already have one API key here but that
00:05:22
doesn't matter just go to the top right
00:05:24
corner click on ADD API key I'm going to
00:05:26
name it new Society subscription free
00:05:28
add and then we can copy this token copy
00:05:32
this go back into cursor or whatever
00:05:34
you're using and replace the your API
00:05:37
key with actual API key save that the
00:05:39
next thing we need to do is actually we
00:05:41
need to go back into vectal we can Mark
00:05:43
Mark this as complete Let's test it out
00:05:45
this is going to be more fun okay so
00:05:47
we're going to fix this a bit but what I
00:05:49
just did I moved it back so it's
00:05:51
formatted I'm going to go into CL and
00:05:52
going to actually restart CLA desktop
00:05:55
you need to restart CLA desktop when you
00:05:56
add mCP because it takes a few minutes
00:05:58
for CLA to recognize this desktop file
00:06:01
and find the mCP server so do that and
00:06:03
this is what I mean like it it's you
00:06:05
know it takes a few minutes if you do it
00:06:07
but people like drop off like flies at
00:06:09
any point of friction so if you can
00:06:10
stick with it you're already doing
00:06:12
amazingly you're already in the top 5%
00:06:13
of AI more like top 2% of AI users
00:06:16
easily anyways if you're paying
00:06:17
attention you can see a new icon right
00:06:19
here which is the mCP tools available
00:06:21
this turns Claw from a simple chat bot
00:06:23
into an actual AI agent which is just
00:06:25
like heaps of difference in terms of
00:06:27
capability and you'll see what I mean so
00:06:29
right now we have these two mCP tools
00:06:31
Brave local search so it searches for
00:06:32
local business in places using Brave
00:06:34
local search API and then Brave web
00:06:36
search which which is you know the main
00:06:38
one performs a web search using the
00:06:40
brave search API so now if we do the
00:06:42
same problem which is browse the web for
00:06:45
Bitcoin use any other activity that
00:06:46
requires browsing the web it can now use
00:06:50
the brave web search tool with the mCP
00:06:52
servers now we need to allow it because
00:06:54
you know this just security practice so
00:06:56
that nothing can go crazy like
00:06:58
especially if you give it access to your
00:07:00
own files which there is actually server
00:07:03
if we go into the GitHub and click on
00:07:04
the servers there is one with the local
00:07:07
yeah file system so it can change up
00:07:09
your files and if you don't pay
00:07:11
attention what you're clicking which you
00:07:12
absolutely should do you should check
00:07:14
like okay what's happening all right
00:07:15
it's making a query to web this is safe
00:07:17
right it just cannot mess up my system
00:07:19
but if you give it the ability to change
00:07:21
files delete files move files rewrite
00:07:24
files on your computer that's very
00:07:26
thinking dangerous so you know don't
00:07:28
just blindly accept this and I'm glad
00:07:30
mopic added this um confirmation so that
00:07:33
people don't just go crazy and you know
00:07:35
trying to give the AI agent your entire
00:07:38
computer and then it messes up and
00:07:39
they're like oh my God you want to sue
00:07:41
enic so let's click on allow for this
00:07:43
chat and it will now perform the web
00:07:44
search and actually I think it did 10
00:07:47
different websites right yeah query
00:07:50
count 10 and we have some news obviously
00:07:53
this alone is not that crazy which is
00:07:54
why we're going to add a second tool
00:07:56
which is the GitHub tool now already I
00:07:58
would say this is pretty great because
00:07:59
normally CLW doesn't have web search so
00:08:00
just giving it the ability to browse the
00:08:02
web is already a huge Improvement right
00:08:04
but where it gets crazy is that where
00:08:06
you give multiple tools and you can use
00:08:08
them all at once so let's go back into
00:08:10
vectal and let's go into step six and
00:08:13
copy this link again I'm going to put it
00:08:15
below the video and this will take us to
00:08:16
the repo for the GitHub mCP server which
00:08:19
if we scroll all the way down again we
00:08:20
have this code so I'm going to copy this
00:08:22
then actually this is why using cursor
00:08:24
is good I can highlight this do edit and
00:08:26
I'm going to say add this in and it's
00:08:29
going add the mCP servers in the correct
00:08:31
Json format which you know it's super
00:08:33
simple but if you've never written code
00:08:35
or done Json you might be like confused
00:08:38
and you might accidentally like paste it
00:08:40
in the wrong way so you know just by
00:08:41
using cursor which right now I would say
00:08:43
is the best code editor especially after
00:08:45
they added the agent feature yesterday
00:08:47
which honestly I'm going to make a video
00:08:49
on that so if you want to see that make
00:08:50
sure to subscribe but in general I just
00:08:52
think kser is right now the best AI code
00:08:54
editor now if you want to learn more
00:08:55
about it I have a really in-depth
00:08:57
tutorial in the new society that will
00:08:59
teach you how to build anything with
00:09:00
cursor so check it out again new Society
00:09:03
will be linked below the video anyways
00:09:05
now that you've pasted this in you'll
00:09:06
notice that we also need to provide our
00:09:08
GitHub personal token same as we did
00:09:10
with brave and it's also super simple so
00:09:12
let's go to github.com if you don't have
00:09:14
a GitHub account create one this is must
00:09:17
doe for anybody who's serious about
00:09:18
building AI startups AI agents or
00:09:20
anything that involves a single line of
00:09:22
code you need to have GitHub don't be
00:09:24
scared of it it's just a place for
00:09:26
people to put their GitHub code and for
00:09:28
you to control different versions of
00:09:30
your program once you do that we can
00:09:31
actually go back to the repo from
00:09:33
anthropic and click on this link which
00:09:35
will show us the personal access tokens
00:09:38
which is basically like API keys but for
00:09:40
GitHub so we need to click on create new
00:09:42
token and click on just the Classic one
00:09:44
it's fine I'm going to name it new
00:09:46
Society token expiration I'm going to do
00:09:49
seven days because it's just a test
00:09:50
token and actually you know what I'm
00:09:51
going to delete it before uploading this
00:09:53
videos because you should never share
00:09:54
your API keys with anyone so don't do
00:09:57
what I'm doing here do not share your
00:09:58
API keys with other people API keys and
00:10:00
tokens treat them like passwords don't
00:10:03
share them anywhere so I'm going to
00:10:04
delete mine before uploading video now
00:10:06
what we need to do is we need to give it
00:10:08
repo permissions then write packages uh
00:10:11
I mean probably not all of these but uh
00:10:14
um we don't need to do delete packages
00:10:16
going to to admin okay uh uh user data
00:10:20
let's not give it delete repo there's no
00:10:22
need for that I think this is solid I'm
00:10:25
just like freestyling this to be honest
00:10:26
I'm not going to even admit I know what
00:10:28
I'm doing I'm going I'm giving it the
00:10:30
ones I think it needs for this so yeah
00:10:32
let's create token if it declines then
00:10:34
I'm going to give it more but this
00:10:35
should be more than enough let's copy
00:10:37
that let's go back into cursor and
00:10:39
replace the entire stuff including these
00:10:42
brackets with the access token so make
00:10:44
sure to save the file command s contrl s
00:10:47
now that we've entered both the brave
00:10:48
token and the GitHub token we can
00:10:51
actually go back into CLA we can we have
00:10:53
to close it again to restart it so let's
00:10:55
open up the cloud desktop app again and
00:10:58
this time we need to see more mCP tools
00:11:01
and there it is we see 11 mCP tools
00:11:05
instead of two previously so now we can
00:11:07
see okay we have the brave ones but then
00:11:09
we have GitHub tools right from server
00:11:11
Brave search from server GitHub create
00:11:13
Branch create issue create or update
00:11:15
file pull request repository for
00:11:17
repository so as I said it can do
00:11:18
anything a full stack programmer can do
00:11:21
with GitHub so you'll see what I mean in
00:11:23
the second so now this is what we
00:11:25
preparing for with a single prompt we
00:11:27
will do a task that even a year ago you
00:11:30
would need a programmer to do right
00:11:32
definitely two years ago there was no
00:11:34
way you know you could do this if you
00:11:36
aren't a programmer now with AI tools
00:11:39
you just type in plain English and you
00:11:40
can do the job of a software engineer
00:11:42
like guys if you aren't excited about
00:11:44
this if you aren't doing anything with
00:11:46
AI you're going to be left behind I'm
00:11:47
just going to put it bluntly so let's go
00:11:50
into step seven incal run everything
00:11:52
together and copy this prompt which
00:11:54
again comes from Alex Albert shout out
00:11:56
if you're watching this Alex please come
00:11:57
on my podcast I've already reached out
00:11:59
to you multiple times but you're a busy
00:12:00
guy so I assume you're not checking your
00:12:02
DM anyways let's paste this prompt in
00:12:04
I'm just going to read it out please do
00:12:05
the following make a simple HTML page
00:12:06
create a posit called new Society test
00:12:09
push the HTML page to new Society test
00:12:11
repo add a little CSS to the HTML page
00:12:14
then push it up make a issue by the way
00:12:15
this is one prompt guys keep in mind one
00:12:17
prompt plain English make an issue
00:12:19
suggesting we add more content make a
00:12:21
branch now make a branch called feature
00:12:23
and make that fix and push the change
00:12:26
finally make a pull request against the
00:12:27
main branch with the changes so this is
00:12:30
you know a multi-step agent this is
00:12:32
isn't just like one tool call this is
00:12:34
going to be multiple different steps all
00:12:36
from a single prompt in plain English so
00:12:39
this is what I mean guys like the future
00:12:41
is here start building AI agents start
00:12:43
using AI agents otherwise you will
00:12:45
seriously miss out so let's approve this
00:12:46
so create a repository with GitHub it's
00:12:49
more important that you check this that
00:12:51
way it's not like deleting some of your
00:12:52
current repos that would be very bad
00:12:54
especially if you're building an a
00:12:56
startup like me but here we can clearly
00:12:57
see it's create Repository so there is
00:12:59
no harm in creating a new repo let's
00:13:01
click on allow for this chat so it
00:13:02
already created a repository so if we go
00:13:04
back into GitHub we should be able to
00:13:06
see this so click on your profile your
00:13:09
repositories and boom there it is new
00:13:11
Society test created just now so let's
00:13:12
click on that and in a few moments here
00:13:14
we will see CLA actually coding files
00:13:17
creating new files adding new issues
00:13:19
doing pull requests all of that just
00:13:22
from our CLA desktop app with the mCP
00:13:24
server guys this is crazy so let's
00:13:26
continue we need to approve create or
00:13:28
update file so this is fine allow for
00:13:31
this chat again just don't blindly admit
00:13:33
everything okay so okay we have an error
00:13:36
uh mCP error invalid argument so I think
00:13:38
it did the wrong argument so let's see
00:13:40
if it fixes that let me try again with
00:13:42
the correct format so it can even like
00:13:44
figure out what it did wrong and if it
00:13:46
couldn't actually what we could do is we
00:13:48
could just tell it to use the brave
00:13:49
search because we added Brave into our
00:13:52
config file CLA desktop config Json so
00:13:54
in our mCP servers we have to Brave
00:13:56
search so now you don't have to switch
00:13:58
to perplexity you don't have to switch
00:13:59
to CH GPT you can just tell Claud to use
00:14:02
the brave search to perform a web search
00:14:05
to just get the relevant info so from CL
00:14:07
from the CLA app you can just do so much
00:14:09
more right now so again push through the
00:14:11
friction sit down for 30 minutes do this
00:14:13
setup you will be in the top five% of
00:14:15
people when it comes to AI capability
00:14:17
honestly it's more like top 0.5% but I
00:14:19
want to be realistic here so let's allow
00:14:21
this as well so now it's creating an
00:14:22
issue so let's go back into browser but
00:14:25
I'm using Brave browser coincidently but
00:14:27
doesn't matter what browser you using
00:14:29
let's refresh this and we should see an
00:14:30
issue right here add more content
00:14:32
sections to homepage so if we click on
00:14:33
that boom we should enhance the homepage
00:14:35
with more sections so since it's linked
00:14:36
to my profile it's has my ax token it's
00:14:39
made
00:14:40
from I just realized like some of you if
00:14:42
you have a software engineering job or
00:14:44
quality assurance job something like
00:14:45
that right obviously not like a kernal
00:14:47
developer not like tryhard C++
00:14:50
programming that's like super deep but
00:14:52
for most like simple tasks if you set
00:14:54
this up you can actually do like an
00:14:56
eight hour of work in like two or 3
00:14:58
hours if you like like schedule tasks in
00:15:00
advance it will seem like you're
00:15:01
committing all day long like you can
00:15:03
make it seem like you're working working
00:15:04
12 hours while it's just clogged desktop
00:15:07
running a few mCP servers adding issues
00:15:09
doing Pro quests on your behalf and your
00:15:13
employers will think you're the most
00:15:14
productive person on the team while you
00:15:16
just set up one AI agent the future is
00:15:18
here and obviously if you're not lazy
00:15:20
you can actually do like days worth of
00:15:22
work in your normal 8 to 10 hours so
00:15:24
hopefully you guys fall into that
00:15:25
category but anyways let's go back into
00:15:27
CLA now it needs to create a new Branch
00:15:30
let's allow that so we should see if we
00:15:32
go into our repo again we should see two
00:15:34
branches right here beautiful so we have
00:15:36
the main and it'll be the feature Branch
00:15:38
so now Claude is actually coding the
00:15:41
HTML file pushed to the feature Branch
00:15:44
create pull request okay
00:15:47
allow we got an eror okay unexpected
00:15:50
string so let's see oh it's still
00:15:52
writing code I don't know why I wanted
00:15:54
to do that this is a single instruction
00:15:56
in plain English and CL is still going
00:16:00
all I just did I clicked a few times
00:16:02
okay so it's it's running into errors
00:16:05
with pull request let's see if we have
00:16:07
any new Pro request okay we have so it
00:16:09
actually managed to do it all right
00:16:11
David Andre wants to merge one Comet
00:16:13
into main from feature this PR addresses
00:16:17
issue you can you can build a full
00:16:19
programming team in here where it seems
00:16:21
like you guys are building something
00:16:22
while it's literally just a few AI
00:16:24
agents talking to each other checking
00:16:26
each other giving each other feedback
00:16:28
yeah yeah the future is here and it's
00:16:30
really hard to overstate how fast things
00:16:32
are going it's really speeding up it's
00:16:34
impossible to keep up even for me and
00:16:35
I'm full-time in AI like researching and
00:16:38
being up to date with AI tools is
00:16:39
literally my profession and I'm still
00:16:42
having trouble staying up to date yeah
00:16:43
it's literally going to be people who
00:16:45
are serious about AI who pay attention
00:16:46
to it and people who don't and these are
00:16:49
going to like create so much more value
00:16:51
for themselves and for society and
00:16:53
they're going to get so insanely ahead
00:16:55
it's even hard to comprehend and these
00:16:57
ones are going to slowly fall behind
00:16:59
just like any new technology I mean
00:17:00
there are still people who don't use the
00:17:01
internet for some reason so you know
00:17:04
more power to them I guess anyways
00:17:06
before I click this step seven off I
00:17:08
want to do one more thing I want to say
00:17:09
use artifacts to display the website
00:17:13
we've built so obviously artifacts is a
00:17:16
feature that clo has where it can
00:17:18
display the code so not only can It
00:17:19
write the code which you know most llms
00:17:22
can do but it can actually display it as
00:17:24
if it would look as when we deploy it on
00:17:26
the web right so it's going to merge
00:17:27
these two files both both the CSS and
00:17:29
the HTML into one and it's going to
00:17:31
display whatever website we have in this
00:17:34
custom GitHub repo that I just created
00:17:36
now obviously this is super basic but
00:17:38
that's not the point the point is that
00:17:39
cled all of this from a single prompt
00:17:42
push to GitHub so this is actually a
00:17:44
full repository on GitHub that could be
00:17:47
built upon right this isn't just a chat
00:17:49
history in chat gbt CLA it interacted
00:17:51
with multiple tools Brave search and
00:17:53
GitHub to make this happen and obviously
00:17:56
we could do more Proms and refine it
00:17:58
because this was or created a single
00:18:00
prompt I still you know I know I'm
00:18:01
repeating myself but this is still crazy
00:18:03
like if you don't see how insane this is
00:18:05
I don't know what to tell you with that
00:18:06
said we can mark off the last task as
00:18:08
complete and I want to thank you guys
00:18:09
for watching again if you want to be one
00:18:11
of the first people to have access to
00:18:12
vectal when I release it make sure to
00:18:14
fill out the free weight list linked
00:18:16
below the video this will be an AI
00:18:18
powered task management app that will
00:18:19
automatically sort new task for you and
00:18:22
also help you complete the task on your
00:18:24
list basically this is what the future
00:18:26
of productivity will look like so if you
00:18:27
want Early Access fill out the wait list
00:18:29
below the video with that said hope you
00:18:31
guys have a wonderful productive week
00:18:33
peace