LangGraph + CrewAI: Crash Course for Beginners [Source Code Included]

Поділитися
Вставка
  • Опубліковано 18 чер 2024
  • 🤖 Download the Source Code Here:
    brandonhancock.io/crewai-lang...
    Don't forget to Like and Subscribe if you're a fan of free source code 😉
    📆 Need help with CrewAI, join our FREE Skool Community:
    skool.com/ai-developer-accele...
    In this video, you're going to learn the fundamentals of LangGraph including nodes, edges, and graphs. From there, you're going to learn how to connect CrewAI with LangGraph so that you can build more advanced automations and level up as a CrewAI developer.
    📰 Stay updated with my latest projects and insights:
    LinkedIn: / brandon-hancock-ai
    Twitter: / bhancock_ai
    Checkout my other CrewAI Tutorials:
    - CrewAI Tutorial: Complete Crash Course for Beginners - • CrewAI Tutorial: Compl...
    - CrewAI Tutorial for Beginners: Learn How To Use Latest CrewAI Features - • CrewAI Tutorial for Be...
    - How To Connect Llama3 to CrewAI [Groq + Ollama] - • How To Connect Llama3 ...
    Resources:
    - Setup a credentials.json: developers.google.com/gmail/a...
    - Enable GMAIL API: console.developers.google.com...
    - LangGraph: python.langchain.com/docs/lan...
    Timestamps:
    00:00 Introduction
    02:36 What is LangGraph
    05:28 Code Overview
    09:37 LangGraph Setup
    16:47 Setup Nodes
    31:42 Setup CrewAI
    41:51 Setup Google Authentication
    46:21 Create Tavily API Key
    47:34 Setup Local Environment / Install Dependencies
    49:21 Run Crew with LangGraph
    52:38 Outro
  • Наука та технологія

КОМЕНТАРІ • 66

  • @user-lu5wm7vu1x
    @user-lu5wm7vu1x Місяць тому +8

    THIS IS MINDBLOWING! The combo of CrewAI and LangGraph is just golden!

  • @andydataguy
    @andydataguy Місяць тому +2

    Excited to see more people combining LangGraph and CrewAI! I've been experimenting with it but am still getting my feet wet as a developer. Seeing this live makes me want to drop everything, put my head down, and train until reaching multi-agent gigachad mode. Thanks for the inspo!!

  • @goforit5
    @goforit5 Місяць тому +1

    Wow - too good. I would love to see more of this personal automation use case type videos. I think we all need help automating our lives with AI to do things like reviewing and replying to emails for us so we can spend time on more immportant things. I’d love to see more videos with Crews and LangGraph and Agents running 24/7. Thanks for the content.

  • @Beenee_AI
    @Beenee_AI Місяць тому +6

    Brandon - you have made just another diamond out there!!! I am becoming your groupie dude! Can you please update your Github repo with this code? Thanks!

  • @RobShocks
    @RobShocks Місяць тому

    Another fantastic video, you’re covering some great topics. Will def hop into your skool.

  • @a.........1._.2..__..._.....__
    @a.........1._.2..__..._.....__ Місяць тому

    Fantastic video, still watching. Been using langgraph +crewai for a bit (all guess work).

  • @vinoopb
    @vinoopb Місяць тому

    Another great one Brandon, thanks for this!

  • @vastvitamins1966
    @vastvitamins1966 Місяць тому

    Amazing video we get so many emails. Will definitely try this

  • @jesseybijl2104
    @jesseybijl2104 Місяць тому +2

    Thanks for all your hard work. Love every video.

    • @bhancock_ai
      @bhancock_ai  Місяць тому +2

      Thanks Jessey 😁 I really appreciate it!

  • @israelcrawford8734
    @israelcrawford8734 Місяць тому

    Keep up the good work Brandon

  • @maertscisum
    @maertscisum Місяць тому +2

    Workflow has it's use, however, State Machine is better for this purpose and more resilient.

  • @cudaking777
    @cudaking777 Місяць тому

    It is really great work, thank you. I have question if i reoeate the same action every 30 secs will it not be waste of resources can we use a trigger the moment we receive an email or we can do it every 6 hours.

  • @nits_koh
    @nits_koh Місяць тому

    What terminal do you use and what enables the auto-completion?

  • @AIdevel
    @AIdevel Місяць тому

    Thank you so much for sharing this great tool , can I use it to automatically fill a form ?

  • @trendgameshorts3831
    @trendgameshorts3831 Місяць тому

    Incredible !

  • @felipefedesign
    @felipefedesign Місяць тому

    Good usage of CrewAi

  • @adebayoadenekan8106
    @adebayoadenekan8106 Місяць тому

    Thank you for these tutorials you make.
    I have two questions:
    1) can we use pydantic's 'BaseModel' for the 'EmailState' class model instead of 'TypedDict'
    2) is it safe to think of states & nodes as another implementation of cron-jobs?

  • @chjpiu
    @chjpiu Місяць тому

    Excellent video. Thanks for sharing, Brandon. I also see a lot of potential in Phidata. Could you consider to combine the Phidata with Langgraph or CrewAI

  • @TJTHEFOOTBALLPROPHET
    @TJTHEFOOTBALLPROPHET Місяць тому

    This video is your Billie Jean on a Thriller album full of Number 1 Hits - not sure you can top it LOL! OMG YOU WERE BORN TO TEACH!!!!

  • @thealwayssmileguy9060
    @thealwayssmileguy9060 Місяць тому

    This is really cool! Just wondering as i am a beginner programmer, how long did i take you to create this full project?

  • @out-of-sight
    @out-of-sight Місяць тому

    Thank you for the tutorial Brandon, could you please create another tutorial on CrewAI and Next.js soon? 🤩

  • @sanderschat
    @sanderschat Місяць тому

    Great content! as usuall
    Question: possible to make a video on how (and maybe where) to set this up on a hosting platform?
    My little laptop is asking for peace and quietness these days.
    But also, when it is on my hosting, i can access the endpoints just via my browser anywhere.

  • @lbf5984
    @lbf5984 Місяць тому

    how about incorporating some threading into your crew?

  • @johnvicente796
    @johnvicente796 20 днів тому +1

    I love you videos and content. Please keep it coming. What would be super helpful is if you created a video on how to build an agent swarm with langgraph using SQL databases..not crew ai but all with langgraph. Please and thank you

    • @bhancock_ai
      @bhancock_ai  16 днів тому +1

      That’s a really good idea!
      I have 4 LangChain videos in the queue and then I want to dive deep into LangGraph.
      I think your idea would be a great suggestion!
      If you need help with this idea before I’m able to make a video around it, I definitely recommend checking out our Skool community to ask questions as you build out your solution!
      www.skool.com/ai-developer-accelerator/about

  • @yunjinbak7478
    @yunjinbak7478 23 дні тому +1

    I can't find the source code from your github can you make it public?

  • @CodeSnap01
    @CodeSnap01 Місяць тому

    sir please make a video on deployment also . As pipelining these projects can be tricky. Hope you understand and will implement such major topic.

    • @bhancock_ai
      @bhancock_ai  Місяць тому +1

      Great suggestion! As soon as CrewAI+ is ready for production, I’ll make a ton of tutorials to show you guys how you can deploy your crews!

  • @jofus521
    @jofus521 Місяць тому

    Would be cool to have a state pointer object with methods on it and then only pass the methods to nodes. That might make the state updates a bit clearer. Is that possible here? Coming from golang, so not really a python person.

  • @tomaszzielinski4521
    @tomaszzielinski4521 2 дні тому

    What's the tool you use to draw these cool graphs?

  • @free_thinker4958
    @free_thinker4958 Місяць тому

    You're the man 😎👏🤘

  • @terbeest
    @terbeest Місяць тому

    what software do you use to draw the diagrams?

    • @terbeest
      @terbeest Місяць тому +1

      just caught it... excalidraw... where TF has it been hiding all my life. So great! Visio need not be open ever again.

  • @Damirnah
    @Damirnah Місяць тому

    Awesome video, as always. Does somebody know how do these agents perform in other languages then English?

  • @jinil9002
    @jinil9002 Місяць тому +1

    wow, excellent video. and what is the drawing tool? where can i get it?

    • @olb47
      @olb47 Місяць тому

      Yeah I wonder too, because I like your approach and would like to implement it as well!

    • @lvm1772
      @lvm1772 9 днів тому +1

      the drawing tool is excalidraw

  • @sr.modanez
    @sr.modanez Місяць тому

    muito bom professor, top top top, tenho uma sugestao, tem como o sr ensinar usar agentes para escrever sobre um assunto especifico gerar uma imagem e postar no instagram tudo automaticamente ?

  • @virgilbarnard4343
    @virgilbarnard4343 Місяць тому

    Curious, is there a graphical UI for LangGraph yet?

  • @krysc4d
    @krysc4d Місяць тому

    Is there an option that the system will save the emails as drafts on gmail?

    • @bhancock_ai
      @bhancock_ai  Місяць тому +1

      Hey! That’s exactly what it does! The drafts will appear in your Gmail drafts so you can quickly edit them and send them out!

    • @krysc4d
      @krysc4d Місяць тому

      @@bhancock_ai amazing job. Thanks man. I wonder how to connect all the amazing tool into one manager.

  • @HomunMage
    @HomunMage Місяць тому

    i like both LangGraph and crewai
    i think the future is that LATS will merge into them

  • @olb47
    @olb47 Місяць тому

    Oh that's cool, **python has a spread operator as ... JavaScript! Didn't know that!

  • @st.3m906
    @st.3m906 Місяць тому +1

    Join his Skool or else you aren't cool. -Mitch

    • @bhancock_ai
      @bhancock_ai  Місяць тому +1

      Thanks Mitch! This cracked me up! 😂

  • @daniell.6463
    @daniell.6463 Місяць тому

    I guess you're system is not sending out code to yahoo emails.

  • @Rookie_AI
    @Rookie_AI Місяць тому +8

    why not just do all of it using Langgraph?

    • @MachineLearningZuu
      @MachineLearningZuu 24 дні тому +2

      Because of Multi Agent Aspect which doesn’t capable only in these data frameworks

    • @theitaliandev
      @theitaliandev 24 дні тому +1

      I would do it using just langgraph, totally agree with you

  • @yazanrisheh5127
    @yazanrisheh5127 Місяць тому

    Did someone find the source code of this project?

  • @akj3344
    @akj3344 Місяць тому

    I cant find the source code on your github. Perhaps the repo is private.

  • @madhudson1
    @madhudson1 29 днів тому

    I kind of feel like you could just cut crewai out and use langgraph for it all

  • @theitaliandev
    @theitaliandev 24 дні тому +1

    Am I the only one not understanding the need to use Langgraph with CrewAI? Why not just LangGraph?

  • @teprox7690
    @teprox7690 Місяць тому

    4:30: The use case sounds scary to me. In a few months, we will be spammed with AI newsletters that no longer have any real content. Nevertheless, your videos are great!

  • @maankabe01
    @maankabe01 Місяць тому +1

    langchain crash course

    • @bhancock_ai
      @bhancock_ai  Місяць тому

      You’ve read my mind! I’m going to start working on a LangChain video this week

    • @dbwstein
      @dbwstein Місяць тому

      I’d love to see if I can use langchain with ollama, but where ollama is not local; ie if i have ollama in 1 container and my backend in a different container.