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 - Наука та технологія
THIS IS MINDBLOWING! The combo of CrewAI and LangGraph is just golden!
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!!
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.
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!
Another fantastic video, you’re covering some great topics. Will def hop into your skool.
Fantastic video, still watching. Been using langgraph +crewai for a bit (all guess work).
Another great one Brandon, thanks for this!
Amazing video we get so many emails. Will definitely try this
Thanks for all your hard work. Love every video.
Thanks Jessey 😁 I really appreciate it!
Keep up the good work Brandon
Workflow has it's use, however, State Machine is better for this purpose and more resilient.
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.
What terminal do you use and what enables the auto-completion?
Thank you so much for sharing this great tool , can I use it to automatically fill a form ?
Incredible !
Good usage of CrewAi
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?
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
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!!!!
This is really cool! Just wondering as i am a beginner programmer, how long did i take you to create this full project?
Thank you for the tutorial Brandon, could you please create another tutorial on CrewAI and Next.js soon? 🤩
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.
how about incorporating some threading into your crew?
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
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
I can't find the source code from your github can you make it public?
sir please make a video on deployment also . As pipelining these projects can be tricky. Hope you understand and will implement such major topic.
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!
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.
What's the tool you use to draw these cool graphs?
You're the man 😎👏🤘
what software do you use to draw the diagrams?
just caught it... excalidraw... where TF has it been hiding all my life. So great! Visio need not be open ever again.
Awesome video, as always. Does somebody know how do these agents perform in other languages then English?
wow, excellent video. and what is the drawing tool? where can i get it?
Yeah I wonder too, because I like your approach and would like to implement it as well!
the drawing tool is excalidraw
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 ?
Curious, is there a graphical UI for LangGraph yet?
Is there an option that the system will save the emails as drafts on gmail?
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!
@@bhancock_ai amazing job. Thanks man. I wonder how to connect all the amazing tool into one manager.
i like both LangGraph and crewai
i think the future is that LATS will merge into them
Oh that's cool, **python has a spread operator as ... JavaScript! Didn't know that!
Join his Skool or else you aren't cool. -Mitch
Thanks Mitch! This cracked me up! 😂
I guess you're system is not sending out code to yahoo emails.
why not just do all of it using Langgraph?
Because of Multi Agent Aspect which doesn’t capable only in these data frameworks
I would do it using just langgraph, totally agree with you
Did someone find the source code of this project?
I cant find the source code on your github. Perhaps the repo is private.
Same
I kind of feel like you could just cut crewai out and use langgraph for it all
Am I the only one not understanding the need to use Langgraph with CrewAI? Why not just LangGraph?
Exactly what I was thinking
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!
langchain crash course
You’ve read my mind! I’m going to start working on a LangChain video this week
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.