How To Use Replit Agents in 10 Minutes β
Let's learn how to use Replitπ
2024-09-10
Transcript β
[00:00] and we're in a live website that we just build extremely fast let's put in the username bump join chat Hello send and we're going to go it's simple we're going to use repet agents today to create a production level software some of you'all might be like what do you mean production level I mean like the website link is going to be available anyone can access it and anyone could use your software by the end of this video with rep agents we can do a ton of different stuff so it's going to learn how we can start leveraging this from start to finish in today's video Let's jump in first thing is first if you want a comprehensive video that shows you 9
[00:30] Minutes everything we can even do with a reel agent check out that video right there I'll make sure leave in the description down below purpose of this video though is to show you from ground zero to ground however High deployment of a software sound good let's jump in and go ahead and leave that comment I seen that comment on the older video they're like Gord why why are you wearing a bucket hat are you going canoeing maybe I was that day why why are you wearing a cowboy hat are you going to Rodeo maybe I am going to Rodeo say what you want say what you do just a real quick recap of what even repet agent is this is the closest we've ever gotten for any type of tool that I've
[01:01] seen up to this point in the market for our ability to build out comprehensive not comprehensive software I'd say basic level software through just lame IND dictation and using sentences to code out and if you wonder why I was a little hesitant to saying comprehensive done a ton of videos on this channel check them out if you are interested in understanding the implications of what this means in the context of software development let's begin here we're going to hit view more scrolling down here we're going to create something that at the very beginning of this new market Revolution that we're seeing right now with artificial intelligence the very very beginning everyone was trying to do what
[01:32] was that Corman AI chat more specifically AI chat Bots and keep in mind this is like the you're making a gbt rapper like these are those people that leave those comments which like is probably true in the context of what we're about to make today like a chatbot but not true in most other context let's get going here let's hit try the prompt make an AI chat application let the user enter their username when they first join couple things to keep in mind here this is going to go ahead and just get going here right when I hit start building this thing build second thing I'm going to provide an open AI API key
[02:03] in today's context to access the AI what's super cool and what's happening in the markets right now is right now there is a ton of different AI providers done videos on this as well where basically you can choose anthropics key Google Gemini's key and when I say keys here this is just basically our ability to access the artificial intelligence through Cloud that we just pay for right so one chat goes off this many tokens it costs you that much and they associate the usage to your key this will make more sense as we get going here I'm going to just simply say start building creating rep we are creating a full stack application within the couple of
[02:33] minutes of this video I don't know how long it's going to be but it's over 20 minutes it is thinking so typically when you start with a rep agent here it will Proctor us with four different questions or four different additional features we could add before we get going here such as Implement user authentication add support for multiple chat rooms integrate more advanced AI features these are all cool but the one I'm actually going to ask for is for it to allow me to provide an open AI API key this is killing two birds of one stone here as first you're going to be able to see how to connect any type of API in the context of a repet agent and on top of that you're going to be able to see full-blown development from a repet
[03:05] agent in the context of an AI chatbot which used to be called gbt rappers let's go with the initial prototype but allow me to provide an open AI API key so I can have ai working in the chat hit enter it is thinking are you thinking big thing about using a repet agent in this context is there is a lot of like prerequisite questions it ask before it goes full-blown let's just get going here which is nice allows you to kind of set up the direction before it just gets going when I say get and you'll see what I mean real quick asking me for other stuff here for now I'm just going to say approve plan and start I'm not going to explain too much of what's Happening
[03:36] Here due to the fact that you should watch that 9-minute video where I go in depth of everything that incurs in this context real quick side note files repository code chat because the purpose of this video is I want to show you how to make this a live link you can start accessing right away start using now the first thing to know about this process with rep agents is it takes a little time for the initial prototype that's du to the fact that we're installing dependencies we're creating structure in the underlying application and from there you can kind of proceed in a faster you know chatto chat matter using a Repel agent and this right here shows
[04:07] you why this is so powerful as if you have no knowledge of how to code it very much gives you a simple user interface to provide something like an open AI key let's provide it my context is open AI your context may be whatever provider I've done a ton of videos on all providers showing you how to work in their dashboards the workbench for anthropic Google Cloud Gemini like I've done everything trust me for open AI though we just come over here to API Keys once we're in API key all we need to do is simply hit create new secret key we'll then be prompted to give a name for the key this is purely for user facing like for me to understand where
[04:39] this key is going towards so I'm going to say repet app so I know in the future if I have like 20 keys I know this one's for the repit app and I could probably get a little more specific obviously get as specific as you want so you know exactly what's associated everything else I'm going to keep the same I'm going to hit create secret key for obvious reasons you're not going to be able to see anything you're like why is that just gray I'm covering it all right I'm covering copy with this key I'm going to Simply paste it in the value we have pasted our open AI key that's going to give us access to artificial intelligence inner software application through the cloud
[05:10] ad secret it is thinking we got to get this repli agent some coffee or something like we got to get the let's get the ball rolling think faster think faster and here we go it's done its first phase here it's got the open AI key it's asking for a username let's give it a username the username I'm going to go with is Bump UPS what's a bump up Corbin search up bump UPS on Google right now find out join chat and boom I ran into my first issue here when I hit join chat nothing happens let's tell that to repid agent we'll go ahead and say I can enter my username when I click join chat nothing happens send my
[05:42] goal of this video is to build out this entire process by just talking to the chat let's try again bump UPS join chat we're past the first phase here okay we joined the chat let's try something here this going to be one of the most complex sentences I ever write in any video you ready hello send hey not bad hello how can I assist you today okay interesting interesting out of curiosity we're going to try the question of what type of AI are you send I am an artificial intelligence that operates based on machine learning specifically you consider me as the
[06:13] model of open AI not bad pretty cool here I think the only thing that we're missing so far is my username where's bump UPS where's the bump of the up everything works but my username is not displayed in chat send so while it makes these changes we can't actually edit anything within our repository what's our Repository that stuff over there that's because of the fact that it's like constantly changing the code and if you change anything it can mess up the entire workflow of the rep agent in addition any change you make to the code it's going to rerun in this environment join chat pretty good and actually saved where we were initially bump UPS AI bump
[06:47] UPS ai ai ai o everything works let's make some additions to this UI when I hit send in the chat give three ellipses for the AI to have when waiting for response and finally also give me the ability to refresh a chat hit send let's see if the first one works refresh chat doesn't work when I click refresh chat the old chat's still there round two still not working and I'm glad it's not working honestly CU I'm going to leave you something at the end of this video so if you're really interested in building out software make
[07:17] sure to stay till the end as you'll get a very big insight about this entire process let's be a little bit more clear what we mean by refresh chat when I say refresh chat I mean remove the text bubbles from Ai and me it could be thinking I mean just like reload the window window okay that final time around it worked hit refresh chat we were going to go so now that we've got to this point which taken me around 15 minutes of real time not these little edits let's go and deploy this to deploy we're going to Simply go up to deployments we're going to hit set up deployment for now I'm just going to go with the minimums for this application 2 gigs of RAM we'll go to the primary
[07:47] domain of bump chat and this is what makes repet so powerful in the sense of you don't need to really understand how to deploy in the context of code as everything else is really just filled out here also that's a little open a API key cool so from here all I have to do is hit deploy preparing provision build bundle and then do we promote it's live it is deployed all we got to do is come over here hit this link and we're in a live website that we just build extremely fast let's put in the username bump join chat Hello send and we're
[08:20] going to go remember what I said earlier to stay till the end well this is the part I was referencing as you saw there was a point with the refresh chat option here I kept running into issues had to keep talking to it let it provide the code and keep going in that manner but it kept breaking breaking and breaking and every single time between me asking it to help me fix the refresh chat option it took a couple minutes this is why I've said in multiple videos if you want to build out software this is not the way this is a fun way to play in a sandbox to build out MVPs minimal viable
[08:53] products if you want to build out real software and sell it you got to check out my other videos here here's a 30-minute one that shows you how to actually deploy from zero lines of code to however many a real application with a custom domain this domain is rep app I mean you could use that domain but do you think that domain is the best domain I'm not here to bash rep here this is purely for the context of whatever your use case is if your use case is I want to mess around build some MVPs have some fun talk to an AI code editor proceed
[09:23] but if your use case is very much software development building out full stack applications there are things that this repet agent did in the very beginning when building out this repository that are extremely important for you to fundamentally understand so this is a fun application to use if you know how to code you can understand context if you don't understand context you got to proceed in a different way what's that way Corbin just check out this channel I'll see you in the next video these videos are chosen off YouTube's algorithm how's the algorithm doing is it a good
[09:53] algo I like the top one I'll see you in the next video