LangGraph Simplified: Master Custom AI Agent Creation

  Рет қаралды 15,005

Data Centric

Data Centric

Күн бұрын

Here’s a LangGraph tutorial that should put your mind at ease. There is significant interest in the LangGraph framework due to its customisability and integrations. However, many have found the core concepts to be quite complex. This video breaks down those core concepts in a friendly and digestible manner and provides you with a Python tutorial for a custom web search agent to help you concretise the theory.
Need to develop some AI? Let's chat: www.brainqub3.com/book-online
Register your interest in the AI Engineering Take-off course: www.data-centric-solutions.co...
Hands-on project (build a basic RAG app): www.educative.io/projects/bui...
Stay updated on AI, Data Science, and Large Language Models by following me on Medium: / johnadeojo
GitHub repo: github.com/john-adeojo/graph_...
Chapters
Introduction: 00:00
LangGraph Key Concepts: 00:55
Python Code Walkthrough: 12:19
Demo the Custom Agent: 31:37
Thoughts on LangGraph: 38:50

Пікірлер: 80
@Data-Centric
@Data-Centric 15 күн бұрын
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 14 күн бұрын
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 14 күн бұрын
and Google Studio and Gemini 1.5 pro plzzz
@nickmills8476
@nickmills8476 7 күн бұрын
The more of your videos I watch, the more I trust your opinion. Solid, honest, no nonsense reviews, great work!
@ScriptureFirst
@ScriptureFirst 12 күн бұрын
Excellent concise speech. No extraneous mouth noises. No annoying music. No filler & stutter words. Great visuals. Thank you. 🙏🏼
@granitetie
@granitetie 16 күн бұрын
Completely underrated channel.
@AndyPandy-ni1io
@AndyPandy-ni1io 14 күн бұрын
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.
@bphilsochill
@bphilsochill 19 күн бұрын
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 17 күн бұрын
Thank you! 🙏 The way you keep circling back and comparing and ranking each paradigm is super helpful please keep doing that.
@TANVEER991164
@TANVEER991164 15 күн бұрын
I feel this is the best video on LangGraph , thank you for explaining the concepts so patiently , keep up the good work .
@jasonjefferson6596
@jasonjefferson6596 16 күн бұрын
Absolutely the best source for practical ai programming on KZbin. Can’t get enough please keep sharing these amazing videos & thought process 🔥
@BasselHaidar
@BasselHaidar 17 күн бұрын
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 15 күн бұрын
Exactly! This guy is the GOAT!
@BradleyKieser
@BradleyKieser 19 күн бұрын
Excellent, clear, concise explanation. Thank you.
@sivaprasanth5961
@sivaprasanth5961 17 сағат бұрын
This session is really amazing.
@ConorDean
@ConorDean 18 күн бұрын
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
@martinsh7296
@martinsh7296 14 күн бұрын
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!
@johnpribesh388
@johnpribesh388 17 күн бұрын
So many props for the simple concept breakdown. Very well done. Thank you so much for creating this video!
@AlvinEvangelista
@AlvinEvangelista 18 күн бұрын
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!
@IkechiGriffith
@IkechiGriffith 19 күн бұрын
Wow. Amazing stuff. Been waiting on this!
@apereiracv
@apereiracv 14 күн бұрын
This content is amazing, thank you so much. Very well explained and having the repo is cherry on top!
@tanguero2k7
@tanguero2k7 18 күн бұрын
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 18 күн бұрын
Thanks, glad it has been useful.
@chrisogonas
@chrisogonas 16 күн бұрын
Very well illustrated! Thanks for keeping it simple and clear.
@MrAhsan99
@MrAhsan99 16 күн бұрын
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!
@paulmiller591
@paulmiller591 19 күн бұрын
Great video, as usual. I am keen to give it a go now.
@deanchanter217
@deanchanter217 18 күн бұрын
I have been waiting for you to do this video...watching now!
@touchthesun
@touchthesun 14 күн бұрын
This is fantastic, thanks so much for putting this together!
@OzgurOzsen
@OzgurOzsen 18 күн бұрын
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.
@faqs-answered
@faqs-answered 11 күн бұрын
Great content! Absolutely love it .
@AP-hv5dh
@AP-hv5dh 10 күн бұрын
Pure 🔥 as usual!
@sukitfup
@sukitfup 18 күн бұрын
Thank you for doing these amazing videos.
@journeymanaipod
@journeymanaipod 8 күн бұрын
Great video!
@atomarce2470
@atomarce2470 18 күн бұрын
keep up the great releases!
@GNN37
@GNN37 18 күн бұрын
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 18 күн бұрын
A few people have expressed interest in Integrations with Ollama etc. I'll do this next!
@romioo97
@romioo97 18 күн бұрын
Thanks a lot! Super helpful and even more clear than Udemy courses I purchased on LangGraph
@santiagocalvo
@santiagocalvo Күн бұрын
Amazing video!!! subscribed :)
@AndyPandy-ni1io
@AndyPandy-ni1io 15 күн бұрын
finally, someone who doesn't talk too fast.
@Bakobiibizo
@Bakobiibizo 18 күн бұрын
im pretty sure he's an ai
@Data-Centric
@Data-Centric 18 күн бұрын
You caught me!
@twobob
@twobob 16 күн бұрын
hey - good to see you getting some views now. about time. Peace brother
@AlperYilmaz1
@AlperYilmaz1 15 күн бұрын
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..
@dancoman8
@dancoman8 17 күн бұрын
Brilliant! Would you consider making a video using DSPy?
@tonyppe
@tonyppe 17 күн бұрын
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.
@SriniVasan-hv8cq
@SriniVasan-hv8cq 14 күн бұрын
Love your videos! Have you done one on GPT Pilot and Open Devin? If not, please do!
@shekharkumar1902
@shekharkumar1902 18 күн бұрын
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 17 күн бұрын
I also vote for easy OLLAMA implementation! Please!
@ignatiuswillie8492
@ignatiuswillie8492 18 күн бұрын
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
@AndyPandy-ni1io
@AndyPandy-ni1io 15 күн бұрын
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?
@SolidBuildersInc
@SolidBuildersInc 17 күн бұрын
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.
@user-du6zo7zp2k
@user-du6zo7zp2k 15 күн бұрын
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.
@joaoloureiro9767
@joaoloureiro9767 14 күн бұрын
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
@nicolasfelipe1
@nicolasfelipe1 Күн бұрын
great explanation but langgraph is complex, hope the library get easier so more developers can play with it.
@waynesletcher7470
@waynesletcher7470 18 күн бұрын
Ollama please, thanks.
@sergeygetman6488
@sergeygetman6488 17 күн бұрын
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.
@johngoad
@johngoad 14 күн бұрын
THANK YOU! Would I be crazy saying LangGraph is like LangChain, but for chaining together multiple Lang Chain Agents?
@ManjaroBlack
@ManjaroBlack 17 күн бұрын
I added Ollama and SearXNG support and sent a pull request. I still need to update the readme for this configuration.
@diegocalderon3221
@diegocalderon3221 19 күн бұрын
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.
@uiy8023
@uiy8023 18 күн бұрын
Are u going to do some RAG related video?
@pablocablitzpria2423
@pablocablitzpria2423 18 күн бұрын
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
@brylie
@brylie 13 күн бұрын
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?
@HyperUpscale
@HyperUpscale 17 күн бұрын
Perfect video, right on time. Thank you and Respect for the valuable information
@vancewilliams2902
@vancewilliams2902 16 күн бұрын
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.
@TanishChavan00
@TanishChavan00 18 күн бұрын
@0MVR_0
@0MVR_0 16 күн бұрын
number of dependencies is out of this world
@free_thinker4958
@free_thinker4958 15 күн бұрын
What you mean??
@0MVR_0
@0MVR_0 15 күн бұрын
@@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.
@alchemication
@alchemication 18 күн бұрын
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 18 күн бұрын
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.
@ademczuk
@ademczuk 16 күн бұрын
Perhaps you could try Ali babas Qwen2-72B?
@gileneusz
@gileneusz 19 күн бұрын
take a look at Buffer of Thoughts framework
@Data-Centric
@Data-Centric 18 күн бұрын
It's on my list to research, thanks for the recommendation!
@gileneusz
@gileneusz 18 күн бұрын
@@Data-Centric are you open for online call consultation?
@malikrumi1206
@malikrumi1206 12 күн бұрын
Why do use the serper api? Isn't that paid? Why not just plug into regular google?
@lLvupKitchen
@lLvupKitchen 16 күн бұрын
Lang graph vs custom AI
@jarad4621
@jarad4621 18 күн бұрын
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 18 күн бұрын
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 15 күн бұрын
​@@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.
Building AI Agents from Scratch; Simplified
33:56
Data Centric
Рет қаралды 13 М.
AI Leader Reveals The Future of AI AGENTS (LangChain CEO)
16:22
Matthew Berman
Рет қаралды 98 М.
Khó thế mà cũng làm được || How did the police do that? #shorts
01:00
ROCK PAPER SCISSOR! (55 MLN SUBS!) feat @PANDAGIRLOFFICIAL #shorts
00:31
Autogen Full Beginner Course
1:24:45
Tyler AI
Рет қаралды 26 М.
GraphRAG: LLM-Derived Knowledge Graphs for RAG
15:40
Alex Chao
Рет қаралды 77 М.
LangGraph Crash Course with code examples
39:01
Sam Witteveen
Рет қаралды 63 М.
Mixture of Agents (MoA) BEATS GPT4o With Open-Source (Fully Tested)
12:55
Build Blazing-Fast LLM Apps with Groq, Langflow, & Langchain
1:01:18
How I Build Local AI Agents with LangGraph & Ollama
19:21
Data Centric
Рет қаралды 4,2 М.
LangChain Master Class For Beginners 2024 [+20 Examples, LangChain V0.2]
3:17:51
Have You Picked the Wrong AI Agent Framework?
13:10
Matt Williams
Рет қаралды 44 М.
1$ vs 500$ ВИРТУАЛЬНАЯ РЕАЛЬНОСТЬ !
23:20
GoldenBurst
Рет қаралды 1 МЛН
Ждёшь обновление IOS 18? #ios #ios18 #айоэс #apple #iphone #айфон
0:57
CY Superb Earphone 👌 For Smartphone Handset
0:42
Tech Official
Рет қаралды 823 М.
Secret Wireless charger 😱 #shorts
0:28
Mr DegrEE
Рет қаралды 1,8 МЛН
APPLE совершила РЕВОЛЮЦИЮ!
0:39
ÉЖИ АКСЁНОВ
Рет қаралды 4 МЛН
Lid hologram 3d
0:32
LEDG
Рет қаралды 7 МЛН
Gizli Apple Watch Özelliği😱
0:14
Safak Novruz
Рет қаралды 3,8 МЛН