Automate your Life with AI Agents (EASY CrewAI Tutorial)

Sdílet
Vložit
  • čas přidán 7. 05. 2024
  • 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

Komentáře • 32

  • @iceiceisaac
    @iceiceisaac Před 10 dny +4

    Definitely do the hierarchical example.

  • @SureshRajNeupane
    @SureshRajNeupane Před 8 dny

    Please make more complex and real life use case crewai agents videos on sequential and hierarchal agents flows.

  • @andresnino3215
    @andresnino3215 Před 19 dny +7

    great work :), Please make the hierarchical example too!

  • @qzwwzt
    @qzwwzt Před 20 dny

    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

    • @phyllyf763
      @phyllyf763 Před 20 dny

      Of course you can. Just add another agent incharge of that.

  • @raghavendra2426
    @raghavendra2426 Před 20 dny +3

    Subscribed, please do hierarchical one

  • @vivianaknight3750
    @vivianaknight3750 Před 21 dnem +5

    Please make the hierarchical example too!

  • @truliapro7112
    @truliapro7112 Před 11 dny

    Did anyone use aws bedrock with crewAi ?

  • @md.delwarhossainmunna7460

    5 Things I am doing to Beat AI

  • @phyllyf763
    @phyllyf763 Před 20 dny

    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.

    • @InfiniteCodes_
      @InfiniteCodes_  Před 16 dny +1

      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

    • @phyllyf763
      @phyllyf763 Před 16 dny

      @@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.😊😊😊

  • @yellowboat8773
    @yellowboat8773 Před 24 dny +5

    Have you actually used these examples? They do not function like you say they do

    • @InfiniteCodes_
      @InfiniteCodes_  Před 16 dny

      Not all of them no. Feel free to clarify anything I might have misunderstood.

  • @nsedwards
    @nsedwards Před 5 dny

    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.

  • @elevenvibes
    @elevenvibes Před 11 dny

    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 😂

    • @InfiniteCodes_
      @InfiniteCodes_  Před 10 dny

      The hierarchical video is almost done. If you need more details I'll make another one :)

  • @mh60648
    @mh60648 Před 11 dny

    Tip: For the next video, you might want to use a popfilter between your mouth and the microphone...

    • @InfiniteCodes_
      @InfiniteCodes_  Před 11 dny +1

      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).

    • @mh60648
      @mh60648 Před 11 dny

      @@InfiniteCodes_ Sometimes it helps to put the mic a bit of axis so the air blows past it.

  • @razvanxp
    @razvanxp Před 20 dny

    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..

    • @steenbot6413
      @steenbot6413 Před 19 dny +2

      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…

    • @razvanxp
      @razvanxp Před 18 dny +1

      @@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 😅

    • @InfiniteCodes_
      @InfiniteCodes_  Před 16 dny +2

      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.

  • @Csoltero6
    @Csoltero6 Před 7 dny

    The AI voices in these videos are pissing me off. They need to get a little better before everyone starts using them

  • @avataros111
    @avataros111 Před 8 dny

    what a lame generated video