Install Auto-GPT Locally on WINDOWS for absolute beginners

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
what's going on guys welcome back to this YouTube channel today in this video I'll show you how to set up Auto GPT on your Windows machine locally I'm not going to explain what Auto GPT is and what it does if you are watching this video then you already know what it is capable of doing this video is only going to be about setting up Auto GPT and before starting I want to let you know that I already have a video on how to set up Auto GPT but that's not in-depth video that's a quick overview if you are an experienced developer who already has python setup on his machine and you know how to clone the repositories then that video is for you if you want to watch that it will only take you one or two minutes to set up Auto GPT so go ahead and watch that video if you are looking for uh that kind of thing but if you are an absolute beginner you don't know what python is you don't know how to set up python uh you don't know how to download repository code or you don't know how to clone the repository then this video is definitely for you I'm going to walk you through all the steps that we need to follow in order for us to get Auto GPT running on our computer so yeah without wasting any more time let's get right into this video before jumping into anything I want you guys to subscribe to my channel it helps me a lot you can see my channel is really small so if you give me a subscribe or thumbs up to this video that will be really helpful for me so yeah please subscribe to my channel and let's start so in order for you to set up Auto GPT on your computer we first need the python so go to this website called python.org downloads the link to this website will be in the description box go there and click on this link and we will download the latest version of python which is python 3.11.3 at the time of recording this video so I'm going to click on this button and you can see the python.exe file is getting downloaded I'll open the file you will be prompted by this video window let me minimize this browser so this is the window that you will see and you need to make sure that you click on this add python.exe to path this is really important don't miss this step now click on install now click on yes and the python will start installing if you get any errors in this process then I have an in-depth video about how to set a python on your computer but most probably you won't get any errors it's a fairly simple process but if you do then go ahead and check that video out I'll leave a link down in the description box I have a full detailed video on how to set up python on your computer as you can see it says setup was successful so which means python got successfully installed on my computer in order to check that what I can do is I can press window key plus r key and type in CMD here and hit enter so this terminal window will open up and in here if I type in Python you can see it says python 3.11.3 if you don't see anything like this or you are redirected to Microsoft store that means the python is not installed on your computer so I'm going to type in exit actually it's exit with the parenthesis and CLS so now we have installed python next thing what we need to do is we need to go to this GitHub repository the link for this will be again in the description box you can go ahead and check it out and go to this link now what we need to do here is as you can see if I scroll down it says urgent use stable not master so it is telling us download the latest stable release from here the master Branch May often be in a broken state so if you want a stable version of Auto GPT then we need to download the stable version it's as simple as that so let's click on this and you can see the various I can see this is the release version 0.3.0 and if we scroll down scroll down all the way down and you can see these two things here Source code.zip click on it and as you can see it got downloaded now if I open it up what I'll do is I'll extract it on my desktop you can extract it anywhere that you like yeah just like that close it minimize the terminal window and open the folder now in here we have all the source code of Auto GPT and we need to make few changes here we need to set up our API key for the open AI part and we need to change some things in the EnV so in order to make our lives easier what I can do is I can make use of a text editor which in this case is Visual Studio code so if you don't have an any text editor installed on your computer go to Google and simply search for download vs code we don't need it but it makes our life much more easier so let's just download it so if you're on Windows just click on here download and it's a fairly simple installation process the exe file will be downloaded then you need to Simply run it and install the software on your computer I have already installed that so I'm just going to open it up vs code it should look something like this then I'll click on here file open folder go to desktop and select this Auto GPT which I extracted here and click on select folder click yes and now you can see the folder is opened up in our text editor now we can open up any file for example we need to make changes in this EnV file so you can see we just click on it and it gets opened up in my visual studio code which is pretty nice so what we need to do here is we first need to rename this file let's rename it to dot EnV rather than dot EnV template right and now we need to grab our open API key so in order to do that we need to go to open AI dashboard so if you haven't signed up for openai dashboard go to platform.openai.com sign up there and then go to personal view API Keys here you can generate a new API key for yourself so click on this create new script you can name it anything let's say Auto GPT create Secret and this is the API key now click on this button it will copy the open key it will oh it will copy the API key for us now click on done don't share this API key with anyone because uh this API key belongs to you it's a kind of a secret for you so if anybody gets hold of your API key they can then use that to make requests on your behalf to open AI API which is currently very expensive now come back to Virtual Studio code and paste your open API key right here make sure there is no space just paste it right here now press Ctrl s to save the file it's very important you need to press Ctrl s it will save your file or you can simply go here file and say save okay now we have done that and the only thing we need to do now is we need to go here which is run.bat file and what we need to do here is what what I'll actually do is I'll right click and select this option reveal in File Explorer so this is the file run which says Windows patch file I'll double click on it if you have antivirus installed you might get this error but as you can see all the packages for python are getting installed now let's see if it works so it's downloading all the required packages like numpy and everything and downloading them and then installing them now the antivirus has successfully scanned our file let's close that you can see all the packages are getting downloaded we got lxml we got Jinja certified websockets oauth a lot of packages there okay now it's installing all of these packages so I guess all the packages are installed now and we got a message bulletin was updated red press enter to continue let's press enter okay now we got the auto GPT up and running as you can see it's saying welcome to Auto GPT run with dash dash help for more information now you can uh uh now you can see it's prompting us I want Auto GPT too so let's say for example again reduce my stress hit enter let's see what we get and as you can see we are getting some output it's thinking using browser using memory of type local cache so Auto GPT is successfully working on my computer and it should hopefully be working on yours as well so if you have any errors do let me know down in the comment box uh maybe I'll uh maybe I'll be able to help you out and do subscribe to my channel it helps me a lot and do like this video If this video was helpful for you make sure that you don't keep this thing running in the background because the uh API calls to open AI can be really costly and uh this video was just about the setup if you want to know how to use this I'll definitely make a video about that as well how to properly use the auto GPT how every command works if you want to know that do let me know in the comment section I'll definitely make a video about that as well so I think yeah this is this is it for this video let me just close it up by pressing Ctrl C and then yes enter so it's gone so yeah this is this was it for this video I hope you learned something new from this video I hope you got uh Auto GPT up and running I'll see you in the next one until then peace out
Info
Channel: Code Bear
Views: 7,471
Rating: undefined out of 5
Keywords: AI, Artificial Intelligence, FutureTools, Futurism, Machine Learning, Deep Learning, ai robots, openai, autogpt, agi, chatgpt, gpt4, autonomous ai, artificial intelligence, ai, openai chatgpt, chatgpt demo, machine learning, chat gpt, gpt-4, gpt3, chatgpt tutorial, gpt 4, how to use chatgpt, open ai, deep learning, gpt-3, chatgpt 4, ai chatbot, gpt-4 demo, ai news, ai chat, ai tools, gpt, large language model, python
Id: YSGqfT0mlWA
Channel Id: undefined
Length: 11min 30sec (690 seconds)
Published: Thu May 04 2023
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.