LangGraph Simplified: Master Custom AI Agent Creation

  Рет қаралды 45,156

Data Centric

Data Centric

Күн бұрын

Пікірлер: 117
@Data-Centric
@Data-Centric 7 ай бұрын
I'm making some updates to the LangGraph WebSearch Agent. Here's a summary: - Changes to the agent graph - Refactor of the agent script turning agents into classes. - Small bug fix where the scraped content isn't currently being passed to the reporter agent. Only the chosen page and a high level description is being passed. - Supporting Groq models (and maybe Claude if I have time). I'll be putting a video out on this tomorrow.
@AndyPandy-ni1io
@AndyPandy-ni1io 7 ай бұрын
be awesome if you can show how to use any llm local or groq cloud and the bits of code we would need to change, I've got an idea but not 100%
@AndyPandy-ni1io
@AndyPandy-ni1io 7 ай бұрын
and Google Studio and Gemini 1.5 pro plzzz
@patrickikhifa7886
@patrickikhifa7886 5 күн бұрын
I simply love the simplicity of the content flow and the project setup 👍
@ScriptureFirst
@ScriptureFirst 7 ай бұрын
Excellent concise speech. No extraneous mouth noises. No annoying music. No filler & stutter words. Great visuals. Thank you. 🙏🏼
@bphilsochill
@bphilsochill 7 ай бұрын
Definitely the most comprehensive explanation of Langgraph. I've used it, even made a video, but I learned a lot from how you broke down the state. Going to implement a DevOps type of workflow with this, see how well it does. Thanks!
@realCleanK
@realCleanK 7 ай бұрын
Thank you! 🙏 The way you keep circling back and comparing and ranking each paradigm is super helpful please keep doing that.
@EnzoAguado-g4z
@EnzoAguado-g4z 26 күн бұрын
Wish I could drop more than one like, this video has so much more depth and actual advice than 99% of the articles you find online (most feel awfully AI generated). Explaining the actual reasons you'd use langgraph compared to other frameworks actually saved me days of trying each framework
@jasonjefferson6596
@jasonjefferson6596 7 ай бұрын
Absolutely the best source for practical ai programming on KZbin. Can’t get enough please keep sharing these amazing videos & thought process 🔥
@BasselHaidar
@BasselHaidar 7 ай бұрын
Fantastic job explaining State :: Read/Write :: Graph - Most Langgraph tutorials out there skip this crucial step which leaves a major hole in truly grasping this concept. I also appreciate the way you organize your scripts. The tip of having a model that outputs JSON only is helpful, too. Great job!
@joaoloureiro9767
@joaoloureiro9767 7 ай бұрын
Exactly! This guy is the GOAT!
@TANVEER991164
@TANVEER991164 7 ай бұрын
I feel this is the best video on LangGraph , thank you for explaining the concepts so patiently , keep up the good work .
@shreyasbs2861
@shreyasbs2861 2 күн бұрын
You have very good in depth knowledge about langgraph. Thanks a lot for wonderful content. It’s really differentiating with other KZbin contents about langgraph
@sanoobarshan
@sanoobarshan 27 күн бұрын
The best explanation i have ever seen about the Ai Agent or the langgraph. Nothing confusing, you are straight to the point and good comparisons among other framworks. Really Good Work 👍
@nickmills8476
@nickmills8476 6 ай бұрын
The more of your videos I watch, the more I trust your opinion. Solid, honest, no nonsense reviews, great work!
@ConorDean
@ConorDean 7 ай бұрын
This was super helpful! I've seen a lot of other videos on this and, you presentation was the best I've seen so far. Thanks
@granitetie
@granitetie 7 ай бұрын
Completely underrated channel.
@AndyPandy-ni1io
@AndyPandy-ni1io 7 ай бұрын
I know right, then all the main ones with millions of views are crap and videos are unfollowable, gonna stick links everywhere for this to help the guy out.
@xspydazx
@xspydazx 5 ай бұрын
truly- Probably nered some hashtags
@yotubecreators47
@yotubecreators47 Ай бұрын
Thanks! No BS just to the point 🎉
@AlvinEvangelista
@AlvinEvangelista 7 ай бұрын
Thank you for the detailed information with lang graph, all other videos are kind of sparse when talking about it. Yours is the best I've seen!
@MrAhsan99
@MrAhsan99 7 ай бұрын
thanks man for explaining these concepts in a very simple terms. I had kinda hard time understanding the state in langgraph, your video really helped me understanding it. Keep em coming!
@tanguero2k7
@tanguero2k7 7 ай бұрын
Thank you so much for taking the time to share your thoughts (during the weekend!) breaking it all down so thoroughly. I've been looking forward to spend some quality time searching for a good starting point on agents until, weeks ago, I found your channel and easily became confortable with your syle. It's sunday morning and, - yesss! Let's see what he has to say. - Got yourself a new subscriber! Keep up the good work!👏👏👏
@Data-Centric
@Data-Centric 7 ай бұрын
Thanks, glad it has been useful.
@ArianeQube
@ArianeQube 5 ай бұрын
Damn, this is some high quality presentation. Subscribed.
@BradleyKieser
@BradleyKieser 7 ай бұрын
Excellent, clear, concise explanation. Thank you.
@johnpribesh388
@johnpribesh388 7 ай бұрын
So many props for the simple concept breakdown. Very well done. Thank you so much for creating this video!
@OzgurOzsen
@OzgurOzsen 7 ай бұрын
That's the spirit! The best explanatory video I have ever seen. Thank you for your work. I will be waiting for videos explaining the comparison with other frameworks, whether Crew or Agency swarm or etc, with different examples.
@chrisogonas
@chrisogonas 7 ай бұрын
Very well illustrated! Thanks for keeping it simple and clear.
@martinsh7296
@martinsh7296 7 ай бұрын
What a coincidence. I was playing today with communication between 3 “experts” by going back and forth manually. I was wondering if i could have automated the workflow. I came across this video by chance, and I am very pleased the way you presented. Thank you!
@apereiracv
@apereiracv 7 ай бұрын
This content is amazing, thank you so much. Very well explained and having the repo is cherry on top!
@paulmiller591
@paulmiller591 7 ай бұрын
Great video, as usual. I am keen to give it a go now.
@nikosterizakis
@nikosterizakis 4 ай бұрын
Thank you. Certainly explained quite a few things that the online documentation is missing.
@MoBahri
@MoBahri 5 ай бұрын
best explanation I saw about this topic
@amimaron1
@amimaron1 4 ай бұрын
Great video! Thanks for the well-structured code and clear explanations
@deanchanter217
@deanchanter217 7 ай бұрын
I have been waiting for you to do this video...watching now!
@touchthesun
@touchthesun 7 ай бұрын
This is fantastic, thanks so much for putting this together!
@alexandre.hsdias
@alexandre.hsdias 3 ай бұрын
I can't thank you enough for this video. Really elucidating.
@ProfFranciscoAraujo
@ProfFranciscoAraujo 3 ай бұрын
Valeu!
@Data-Centric
@Data-Centric 2 ай бұрын
Thanks for the support!
@sivaprasanth5961
@sivaprasanth5961 6 ай бұрын
This session is really amazing.
@i2c_jason
@i2c_jason 3 ай бұрын
Thank you for this. It really, really helps simplify the strategy going into something ambitious.
@GNN37
@GNN37 7 ай бұрын
I would definitely like to see more videos on integrating Ollama, Gemini, and Claude into a mixed agent workflow. I think using the big context of Gemini for the reviewer, Claude for the reporter, and GPT-3.5/Llama mix as the researcher/planner could be a fun project.
@Data-Centric
@Data-Centric 7 ай бұрын
A few people have expressed interest in Integrations with Ollama etc. I'll do this next!
@IkechiGriffith
@IkechiGriffith 7 ай бұрын
Wow. Amazing stuff. Been waiting on this!
@MauroMariniello
@MauroMariniello 5 ай бұрын
That's a great video tutorial! Thanks for sharing!
@KrishnanSrinivasan-w4v
@KrishnanSrinivasan-w4v Ай бұрын
This is very helpful. Thank you!
@faqs-answered
@faqs-answered 7 ай бұрын
Great content! Absolutely love it .
@jerichokatende8151
@jerichokatende8151 6 ай бұрын
Thanks for this wonderful content , Well explained and Clear
@Cenot4ph
@Cenot4ph 6 ай бұрын
good structure of code, ive recently started with this kind of programming again. This is very helpful to get up to speed
@AP-hv5dh
@AP-hv5dh 7 ай бұрын
Pure 🔥 as usual!
@atomarce2470
@atomarce2470 7 ай бұрын
keep up the great releases!
@brylie
@brylie 7 ай бұрын
How can we build human-in-the-loop workflows where the agent-workers prompt the human for input, such as helping the person expand on an idea or clarify their goals before proceeding to subsequent steps in the graph?
@marijnstollenga1601
@marijnstollenga1601 6 ай бұрын
Underrated video!
@fiqigading102
@fiqigading102 Ай бұрын
thanks, this is so clear
@sukitfup
@sukitfup 7 ай бұрын
Thank you for doing these amazing videos.
@romioo97
@romioo97 7 ай бұрын
Thanks a lot! Super helpful and even more clear than Udemy courses I purchased on LangGraph
@levbszabo
@levbszabo 6 ай бұрын
Great video!
@Lirim_K
@Lirim_K 5 ай бұрын
10 minutes in and you have my subscription! One question: Is it possible to create one agent that retrieves relevant content from a vector database?
@tonyppe
@tonyppe 7 ай бұрын
top notch work this is excellent stuff thanks for the video! I'm about to ditch crewai. I want to build agents though with a prompt template so that I can apply llama3 specific prompt template so that it works properly and then I can use it on my own hardware. I see you make your own template within the prompt itself. If you use a template then you can abstract that part from the text part of the prompt and use the same format throughout the conversation.
@sidsanaasanavfamily
@sidsanaasanavfamily Ай бұрын
Excellent illustration and well explained. Very useful GitHub repo. By any chance you would make a video on using temporal AI?.
@shekharkumar1902
@shekharkumar1902 7 ай бұрын
Wow Amazing work with clear explanation. Thank you. I want to try it with Ollama using LLama3 model. Will appreciate if you could create another video on same request. I don't want to give my savings to OpenAI.
@HyperUpscale
@HyperUpscale 7 ай бұрын
I also vote for easy OLLAMA implementation! Please!
@dancoman8
@dancoman8 7 ай бұрын
Brilliant! Would you consider making a video using DSPy?
@santiagocalvo
@santiagocalvo 6 ай бұрын
Amazing video!!! subscribed :)
@pablocablitzpria2423
@pablocablitzpria2423 7 ай бұрын
First thanks for the great video and visualisation of the current topic…my question is if it’s possible with this scheme to build an agent graph where you have an agent node that decides which of three tools it should use in the next step to call a specific function from this decided tool could be called parallel tool decision making
@zd676
@zd676 3 ай бұрын
Based on the code you showed, wouldn't your implementation of updating the state `state = {**state, "planner_response": ai_msg.content}` always overwrite exsting planner_response state? You defined the state to be dictionary of lists, but I didn't see how the lists gets appended.
@joaoloureiro9767
@joaoloureiro9767 7 ай бұрын
Hey John, thank you for this awesome video/resource! I have a question for us that work with a dB aswell. How would you structure the file system and how would you implement handling dB requests and writes, for example, if you want to store the planner's agent thoughts in a dB, how would you achieve that with your modular approach? Thank you so much I learned a lot from this video
@Simon-temporary
@Simon-temporary 6 ай бұрын
Great Video! Have you made any open source version of this. Or any advice on how to do it with open source LLM or things to Change.
@MarziehZZare
@MarziehZZare 2 ай бұрын
Thank you!
@SriniVasan-hv8cq
@SriniVasan-hv8cq 7 ай бұрын
Love your videos! Have you done one on GPT Pilot and Open Devin? If not, please do!
@alchemication
@alchemication 7 ай бұрын
Would it be possible to actually intelligently detect which model would be sufficient at answering the query? Would tou have any ideas for handling that logic? Thanks for posting, nice and tidy!
@Data-Centric
@Data-Centric 7 ай бұрын
It's possible. I think if you took that approach you would need a model intelligent enough to decide which model would be best for answering the query.
@ignatiuswillie8492
@ignatiuswillie8492 7 ай бұрын
I will also love to see the adaptation to ollama ran locally. Can you do a chat application in langgraph using ollama as well so we can see how memory works. Thanks great video
@HyperUpscale
@HyperUpscale 7 ай бұрын
Perfect video, right on time. Thank you and Respect for the valuable information
@maazmusa3192
@maazmusa3192 Ай бұрын
Can someone explain why in graph.py he is importing state from state.py? That state object is empty. My understanding is that the workflow.compile(input) sets the state object. Im missing a piece somewhere.
@SolidBuildersInc
@SolidBuildersInc 7 ай бұрын
Thanks for sharing your view on Langgraph. As far as your efforts towards an open source solution, this is very exciting with Ollama. Not sure I have any others I could suggest. With the structure you have established in your custom agent, it seems to me you could have a more dynamic approach via a control sheet along with a Flask framework to establiah a RAD build out of the code. Any thoughts on this DRY methodology since there is a Template layout? Thanks again.
@tee_iam78
@tee_iam78 6 ай бұрын
Thank you for your video.
@Bakobiibizo
@Bakobiibizo 7 ай бұрын
im pretty sure he's an ai
@Data-Centric
@Data-Centric 7 ай бұрын
You caught me!
@vikassengupta8427
@vikassengupta8427 6 ай бұрын
Exactly
@RAHUL_TANTDON_h
@RAHUL_TANTDON_h Ай бұрын
Already few reasons to say so
@kennethreilly7648
@kennethreilly7648 4 ай бұрын
knowing what you know now about Langgraph, does your position change re: your suggestion/preference to build custom workflows from scratch? I recall you mentioning that preference in your CrewAI tutorial & you don't mention that at the end of your video here. Has Langgraph converted you to frameworks?
@vancewilliams2902
@vancewilliams2902 7 ай бұрын
loved the video! Is anyone else having problems with API related issues, perhaps conflicts between langchain and openai. I just can't figure it out.
@joneskiller8
@joneskiller8 6 ай бұрын
Amazing, @Data-Centric. I appreciate this tutorial a lot. You really break down the code in a way that is easily digestible, and it is simply articulate and beautiful code, IMO. The VLLM integration tutorial is highly desired for lame ducks like moi.
@johngoad
@johngoad 7 ай бұрын
THANK YOU! Would I be crazy saying LangGraph is like LangChain, but for chaining together multiple Lang Chain Agents?
@uiy8023
@uiy8023 7 ай бұрын
Are u going to do some RAG related video?
@ManjaroBlack
@ManjaroBlack 7 ай бұрын
I added Ollama and SearXNG support and sent a pull request. I still need to update the readme for this configuration.
@TheMangz1611
@TheMangz1611 4 ай бұрын
If the answer of the complex query was wrong. how would you make sure its correct? how can we increase the accuracy of the result? (I want people to trust AI responses)
@sirishkumar-m5z
@sirishkumar-m5z 5 ай бұрын
Language-based AI agents are transformative. While exploring Slang AI, consider alternative tools that might better suit your specific needs in communication and automation.
@airobsmith
@airobsmith 7 ай бұрын
I don't think the disadvantage of agency swarm is OpenAI Assistants API, the beta thing will go away soon. The Open Assistants API also will develop quickly. However, it seems to me that LangGraph lets us really define how are agentic workflow moves and how we provide prompts and context to agents in the chain. I don't like relying on a "CEO" or manager agent to decide on the agentic workflow, it seems likely to get this incorrect from time to time. I have had trouble getting the agents I wanted to be used to get selected were the controlling agent at the top of the hierarchy has a choices. Agency Swarm has some configuration possible on this, but it seems LangGraph is much more in this area.
@AlperYilmaz1
@AlperYilmaz1 7 ай бұрын
Great explanation of LangGraph.. But the coding part is kind of overwhelming.. I wish there's GUI for LangGraph soon, so that, nodes can be defined, and then connected visually..
@malikrumi1206
@malikrumi1206 7 ай бұрын
Why do use the serper api? Isn't that paid? Why not just plug into regular google?
@AndyPandy-ni1io
@AndyPandy-ni1io 7 ай бұрын
finally, someone who doesn't talk too fast.
@twobob
@twobob 7 ай бұрын
hey - good to see you getting some views now. about time. Peace brother
@waynesletcher7470
@waynesletcher7470 7 ай бұрын
Ollama please, thanks.
@diegocalderon3221
@diegocalderon3221 7 ай бұрын
The best concept of LangGraph is the state, very useful. Unfortunately its is very un-pythonic, often times it feels like I’m programming in Json.
@sergeygetman6488
@sergeygetman6488 7 ай бұрын
Good explanation, than you. But information that AutoGen state management is just to share everything in a Group Chat is outdated: AutoGen already has Memory Enabled Agent and Memory Manager Agent that are likely even more advanced and automated than LangGraph state management, even though that feature is not 100% production ready most likely. AutoGen also allows to use sequential and programmatic workflows to manage what parts of message history are shared with what agents. - These agent frameworks progress very fast and it is hard to keep up with it for sure.
@gileneusz
@gileneusz 7 ай бұрын
take a look at Buffer of Thoughts framework
@Data-Centric
@Data-Centric 7 ай бұрын
It's on my list to research, thanks for the recommendation!
@gileneusz
@gileneusz 7 ай бұрын
@@Data-Centric are you open for online call consultation?
@0MVR_0
@0MVR_0 7 ай бұрын
number of dependencies is out of this world
@free_thinker4958
@free_thinker4958 7 ай бұрын
What you mean??
@0MVR_0
@0MVR_0 7 ай бұрын
@@free_thinker4958 the most this program does is assemble ready-made imports that query a database on the cloud. Show me architecture that you built without using a single third party package, and you can count me impressed.
@AndyPandy-ni1io
@AndyPandy-ni1io 7 ай бұрын
So there is KZbinrs with 1.5mil subs that do AI and you are 100% better! I can follow you and you make sense. Can we use AI to make predictions based on csv data?
@nicolasfelipe1
@nicolasfelipe1 6 ай бұрын
great explanation but langgraph is complex, hope the library get easier so more developers can play with it.
@ademczuk
@ademczuk 7 ай бұрын
Perhaps you could try Ali babas Qwen2-72B?
@2TanishChavan
@2TanishChavan 7 ай бұрын
@lLvupKitchen
@lLvupKitchen 7 ай бұрын
Lang graph vs custom AI
@mayureshbande5515
@mayureshbande5515 6 ай бұрын
Please make in it langraph.js
@foysalmamun5106
@foysalmamun5106 6 ай бұрын
wow
@jarad4621
@jarad4621 7 ай бұрын
Twice now my really cool value added comments got deleted that took a lot of time and effort. Done with that now, sees all ypuu want is people to say "Excellent, clear, concise explanation. Thank you.". Which is true i wont like. Ill just do that from now on, no added effort, apologies
@Data-Centric
@Data-Centric 7 ай бұрын
I have not deleted any comments. KZbin has it's own comment moderation in place, your comments must have triggered it. I am open to constructive feedback, but let's keep things respectful. Thanks for watching.
@0MVR_0
@0MVR_0 7 ай бұрын
​@@Data-Centric channels can select for comments to be removed from particular users. My own comment was deleted and the criticism was light as can be, talking about the number of dependencies.
@muazashraf409
@muazashraf409 5 ай бұрын
I don't know what makes the Langraph a impressive framework. Nobody wants to see this big response and it keeps giving the same response until the Recursion limit and then it stops deh.
@sausage4mash
@sausage4mash 5 ай бұрын
hmmm so why not just use functions in python why langGraph , anyway very clear presentation thanx
Building AI Agents from Scratch, Simplified
33:56
Data Centric
Рет қаралды 30 М.
Tuna 🍣 ​⁠@patrickzeinali ​⁠@ChefRush
00:48
albert_cancook
Рет қаралды 148 МЛН
小丑教训坏蛋 #小丑 #天使 #shorts
00:49
好人小丑
Рет қаралды 54 МЛН
LangChain vs LangGraph: A Tale of Two Frameworks
9:55
IBM Technology
Рет қаралды 66 М.
Anthropic Revealed Secrets to Building Powerful Agents
19:06
Matthew Berman
Рет қаралды 125 М.
Create your perfect cofounder with AI agents (CrewAI)
15:48
Vlad does growth
Рет қаралды 7 М.
Learn LangGraph - The Easy Way
28:29
AI with Misbah
Рет қаралды 36 М.
PydanticAI - The NEW Agent Builder on the Block
21:45
Sam Witteveen
Рет қаралды 32 М.
Why Agent Frameworks Will Fail (and what to use instead)
19:21
Dave Ebbelaar
Рет қаралды 111 М.
Introduction to LangGraph: A Quick Dive into Core Concepts
21:54
Coding Crash Courses
Рет қаралды 16 М.
Build anything with DeepSeek V3, here’s how
14:34
David Ondrej
Рет қаралды 205 М.
Tuna 🍣 ​⁠@patrickzeinali ​⁠@ChefRush
00:48
albert_cancook
Рет қаралды 148 МЛН