Automate your Life with AI Agents (EASY CrewAI Tutorial)

2024 ж. 14 Мам.
10 888 Рет қаралды

Automate your Life with AI Agents (EASY CrewAI Tutorial)
In this video, I will show you the power of AI Agents by introducing you to the powerful new tool Crew AI. We will start by talking about the current limitations of ChatGPT to then see how CrewAI solves many of these limitations by creating crews of autonomous AI Agents.
The second half of the video is a full CrewAI tutorial. We will look at the Python code together and draft AI Agent and Task descriptions together. In the very end we will run the crew and look at the results together.
If you have foundational Python skills, are able to clone a repository from github and know how to use ChatGPT, you should be able to follow along.
Resources:
CrewAI website: www.crewai.com/
Joao’s CrewAI github repo: github.com/joaomdmoura/crewAI
Example crews and templates: github.com/joaomdmoura/crewAI...
To follow along just clone the crewai-examples repo and open up the folder for the crew of choice.
You will need an OpenAI API key (platform.openai.com/) and a SerperDev API key (serper.dev/) to run this crew.
To install crewAI & tools:
pip install crewai
pip install 'crewai[tools]'
Use Artificial Intelligence and AI Agents to automate whatever you can think of!
Chapters:
00:00 - Introduction to CrewAI
00:23 - Limitations of ChatGPT
01:22 - How CrewAI takes ChatGPT to the next level
02:52 - Who can use CrewAI?
03:57 - Example Crews
05:53 - How does CrewAI work and types of crews (hierarchical vs sequential)
07:12 - Setting up an example crew
09:23 - Looking at the code together
17:07 - Running the crew (command line)
18:19 - Looking at the results
20:27 - Conclusion & Takeaways

Пікірлер
  • Definitely do the hierarchical example.

    @iceiceisaac@iceiceisaac17 күн бұрын
    • almost ready

      @InfiniteCodes_@InfiniteCodes_16 күн бұрын
  • great work :), Please make the hierarchical example too!

    @andresnino3215@andresnino321526 күн бұрын
    • Will do soon! Thank you :)

      @InfiniteCodes_@InfiniteCodes_23 күн бұрын
    • I want to see it too

      @elevenvibes@elevenvibes18 күн бұрын
  • Please make more complex and real life use case crewai agents videos on sequential and hierarchal agents flows.

    @SureshRajNeupane@SureshRajNeupane15 күн бұрын
  • Is it possible to get the job description in another language? I'm thinking if I could write in the desired output a statement like " write im Brazilian Portuguese, for example

    @qzwwzt@qzwwzt27 күн бұрын
    • Of course you can. Just add another agent incharge of that.

      @phyllyf763@phyllyf76327 күн бұрын
  • Subscribed, please do hierarchical one

    @raghavendra2426@raghavendra242627 күн бұрын
    • will do my best! :)

      @InfiniteCodes_@InfiniteCodes_23 күн бұрын
  • Please make the hierarchical example too!

    @vivianaknight3750@vivianaknight375028 күн бұрын
  • Did anyone use aws bedrock with crewAi ?

    @truliapro7112@truliapro711218 күн бұрын
  • 5 Things I am doing to Beat AI

    @md.delwarhossainmunna7460@md.delwarhossainmunna7460Ай бұрын
  • From your example, the agents are not really subordinate, they don't take to instructions. I waited to see the offer of 60 days off and the purple giraffe but was disappointed. I guess that's what gpt4 fails in. It is so stubborn.

    @phyllyf763@phyllyf76327 күн бұрын
    • Yeah I noticed that too, it had worked when I tried it for another company off screen, but maybe the particular to posting and company were such that it found so many examples online that it "overrode" that. I am fairly certain you can make your instructions a bit more rigid to get it to include it, I don't want to rerun it many times though because each time costs money And yes they are not subordinate, because I used the sequential crew not the hierarchical one

      @InfiniteCodes_@InfiniteCodes_23 күн бұрын
    • @@InfiniteCodes_ I guess what we need more are tutorials on how to effectively compel gpt4 to strictly follow instructions and be consistent. I haven't really properly understood the use of seed to make it consistent. If you understand it, please be so kind as to teach us.😊😊😊

      @phyllyf763@phyllyf76323 күн бұрын
  • Yeah I'd like to see the hierarchical example also and also you keep saying: "You don't need to know any coding" but by the time you got to 10:12 in the vid I could almost FEEL 75% of the audience disappear. Of course you need help from developers, you've not looked at QA or deployment etc. this all sounds like COBOL back in the day.

    @nsedwards@nsedwards12 күн бұрын
  • Hierarchical example but make it step by step from scratch even though it's a hour long video please help us with no code experience and thick headed 😂

    @elevenvibes@elevenvibes18 күн бұрын
    • The hierarchical video is almost done. If you need more details I'll make another one :)

      @InfiniteCodes_@InfiniteCodes_17 күн бұрын
  • Have you actually used these examples? They do not function like you say they do

    @yellowboat8773@yellowboat8773Ай бұрын
    • Not all of them no. Feel free to clarify anything I might have misunderstood.

      @InfiniteCodes_@InfiniteCodes_23 күн бұрын
  • Tip: For the next video, you might want to use a popfilter between your mouth and the microphone...

    @mh60648@mh6064818 күн бұрын
    • Thanks, I am actually struggling with this, I did use one but it's still not great, Idk if the mic is just not good enough or if I need to learn how to postprocess better (probably both).

      @InfiniteCodes_@InfiniteCodes_18 күн бұрын
    • @@InfiniteCodes_ Sometimes it helps to put the mic a bit of axis so the air blows past it.

      @mh60648@mh6064818 күн бұрын
  • No "foudational python dev" will be able to plan and design a project from scratch, by the time you do that you are already versed in python, software architecture and other technologies, you can't build something that you don't understand even with AI..

    @razvanxp@razvanxp27 күн бұрын
    • I disagree. I’m a foundational python dev (my focus is cyber security, not developing). I’ve been able to create my own team of 4 AI agents to perform a task as a Crew within half a day. maybe i’m used to troubleshooting in the dark…

      @steenbot6413@steenbot641326 күн бұрын
    • @@steenbot6413 I think you sell yourself short, I built a few teams (of people) in my career so far and the best of them were saying things like you "I am not that good with Cloud" or "I have limited knowlegde of " etc but they were far above average.. usually people that understand their level of a given skill are above the mid line with that skill, because it takes skill to understand how much skill you have 😅 Foundational python skills for me means probably a really low bar 😅

      @razvanxp@razvanxp25 күн бұрын
    • I've taught both 8-week and 12-week python bootcamps for absolute beginners and I am close to 100% certain most, or even all, of my students could have done this.

      @InfiniteCodes_@InfiniteCodes_23 күн бұрын
  • The AI voices in these videos are pissing me off. They need to get a little better before everyone starts using them

    @Csoltero6@Csoltero614 күн бұрын
  • what a lame generated video

    @avataros111@avataros11115 күн бұрын
KZhead