Build Anything with Claude Agents, Here’s How

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