- 14
- 31 575
W.W. AI Adventures
United Kingdom
Приєднався 16 сер 2024
Data Scientist, AI Engineer and Educator.
Fascinated with building AI Agents in python & teaching others about the latest and greatest advances.
Get in touch if theres anything you'd like to see covered in this channel. Im here to serve!
Fascinated with building AI Agents in python & teaching others about the latest and greatest advances.
Get in touch if theres anything you'd like to see covered in this channel. Im here to serve!
Which Agentic AI Framework to Pick? LangGraph vs. CrewAI vs. AutoGen
Not sure which Agentic Framework to pick? Get an overview of 3 of the most popular. LangGraph, CrewAI and AutoGen.
🎥 Channel: @WW_AI_Adventures
# ============================
Chapters
0:00 🕒 Intro
01:36 AutoGen - How does it work?
02:47 AutoGen - Learning Curve
03:31 AutoGen - Integrations
05:00 AutoGen - Scalability
06:27AutoGen - Flexibility
07:24 AutoGen - Documentation
08:00 AutoGen - Other Features
10:08 LangGraph - How does it work?
10:56 LangGraph - Learning Curve
11:41 LangGraph - Integrations
12:20 LangGraph - Scalability
13:20 LangGraph - Flexibility
13:58 LangGraph - Documentation
14:44 LangGraph - Other Features
15:58 CreqAI - How does it work?
16:53 CrewAI - Learning Curve
17:35 CrewAI - Integrations
18:48 CrewAI - Scalability
19:46 CrewAI - Flexibility
20:29 CrewAI - Documentation
21:15 CrewAI - Other Features
23:12 Which Framework to pick?
# ===========================
Stay Connected with Me!
📧 Email: will@axies.ai (Consultancy coming soon!)
💬 Discord: discord.gg/k3pqPcQzQG
🔗 LinkedIn: www.linkedin.com/in/william-white-data-scientist
👨💻 GitHub: github.com/whitew1994WW
# ===========================
About
In this video, I do a systematic review of the 3 largest Agentic Frameworks finishing with an overview of where each framework is best suited. I also give a walkthrough of how each framework works.
📌 Tags:
#AI #LangGraph #AgenticAI #OpenAI #GPT4 #Python #APIs #AIResearch #langchain
🎥 Channel: @WW_AI_Adventures
# ============================
Chapters
0:00 🕒 Intro
01:36 AutoGen - How does it work?
02:47 AutoGen - Learning Curve
03:31 AutoGen - Integrations
05:00 AutoGen - Scalability
06:27AutoGen - Flexibility
07:24 AutoGen - Documentation
08:00 AutoGen - Other Features
10:08 LangGraph - How does it work?
10:56 LangGraph - Learning Curve
11:41 LangGraph - Integrations
12:20 LangGraph - Scalability
13:20 LangGraph - Flexibility
13:58 LangGraph - Documentation
14:44 LangGraph - Other Features
15:58 CreqAI - How does it work?
16:53 CrewAI - Learning Curve
17:35 CrewAI - Integrations
18:48 CrewAI - Scalability
19:46 CrewAI - Flexibility
20:29 CrewAI - Documentation
21:15 CrewAI - Other Features
23:12 Which Framework to pick?
# ===========================
Stay Connected with Me!
📧 Email: will@axies.ai (Consultancy coming soon!)
💬 Discord: discord.gg/k3pqPcQzQG
🔗 LinkedIn: www.linkedin.com/in/william-white-data-scientist
👨💻 GitHub: github.com/whitew1994WW
# ===========================
About
In this video, I do a systematic review of the 3 largest Agentic Frameworks finishing with an overview of where each framework is best suited. I also give a walkthrough of how each framework works.
📌 Tags:
#AI #LangGraph #AgenticAI #OpenAI #GPT4 #Python #APIs #AIResearch #langchain
Переглядів: 4 283
Відео
Can an AI Agent do Data Science? | Advanced Tutorial in LangGraph + Python + Cursor + Streamlit
Переглядів 6 тис.День тому
Follow along as I build an AI Agent in python with LangGraph to perform data science and discuss if my job is safe from automation. Using Cursor & Streamlit for rapid prototyping. 🎥 Channel: @WW_AI_Adventures GitHub repo: 👉 github.com/whitew1994WW/AgenticDataAnalysis # Chapters 0:00 🕒 Intro 01:23 Finding a Dataset 03:45 Seeing how well ChatGPT performs 06:59 Plotly Intro 07:35 Build Part 1: Cre...
Agentic Framework LangGraph explained in 8 minutes | Beginners Guide
Переглядів 10 тис.14 днів тому
Get started with LangGraph quickly & Learn Why its becoming one of the most popular agentic frameworks. 🎥 Channel: @WW_AI_Adventures GitHub repo: 👉 github.com/whitew1994WW/LangGraphForBeginners # Chapters 0:00 🕒 Intro 00:41 Value Proposition of LangGraph 02:49 Building Blocks 03:58 Practical Example 04:47 Code Walkthrough # Stay Connected with Me! 📧 Email: will@axies.ai (Consultancy coming soon...
Build Your Own AI Research Assistant in Python That Works While You Sleep!
Переглядів 1,3 тис.21 день тому
If you're looking for daily research summaries ✉️ and want to explore LangGraph, then this project is for you! Interested in GraphRAG? Watch my other video here 👉ua-cam.com/video/NA9tJU3kL-c/v-deo.html 🎥 Channel: @ww_dot 📂 Set up your email assistant with step-by-step instructions from my GitHub repo: 👉 github.com/whitew1994WW/email_research_assistant Chapters 0:00 🕒 Don't waste time doing your...
GraphRag vs Normal RAG - Summarise a Whole Book in python!
Переглядів 3,6 тис.2 місяці тому
Microsofts GraphRAG is a powerful algorithm. It isnt perfect, but it can add value if you need your RAG queries to have visibility of your entire text datatbase. If you're looking to learn about GraphRAG✉️ and want to see how it can be used for massive text summarisation, then youre in the right place! 👉 github.com/whitew1994WW/GraphRAG 🎥 Channel: @ww_dot Chapters 00:00 - Intro 00:37 - What is ...
Retrieval Augmented Generation (RAG) & Vector Databases | Beginners Intro in 6 minutes
Переглядів 6673 місяці тому
RAG & Vector Databases can be challenging concepts, understand them through diagrams in this video. 🎥 Channel: @ww_dot Chapters 00:00 - Intro 00:35 - Why use RAG 01:20 - RAG Pipeline 02:15 - Ingesting Data 03:34 - Vector Database 04:35 - Querying Data 06:18 - Wrap up Stay Connected with Me! 📧 Email: will@axies.ai (Consultancy coming soon!) 💬 Discord: discord.gg/k3pqPcQzQG 🔗 LinkedIn: www.linked...
LangGraph Customer Support Agent Ep 4: Customer Management Tools
Переглядів 5894 місяці тому
Python AI Customer Support Agent Ep 4: Customer Management Tools In this episode we will create a fake customers database and give our LangGraph chatbot the ability to manage it with two new agent tools: - Retrieving customer details with a DPA check - Creating a new customer 00:00 - What we will build 02:27 - Creating customers database 03:20 - Creating tools 03:54 - Data protection check tool...
LangGraph Customer Support Agent Ep 5: Order Management Tools
Переглядів 3144 місяці тому
LangGraph Customer Support Agent Ep 5: In this episode we will create a fake orders database and connect our LangGraph agent chatbot to it by creating two more tools: - Retrieving an existing order (to check the status) - Placing a new order 00:00 - What we will build 01:26 - Create Fake Orders Database 01:45 - Create retrieve existing customer tool 04:04 - Place orders tool 11:10 - Update Lang...
LangGraph Customer Support Agent Ep 3: Agent Setup with LangGraph
Переглядів 6604 місяці тому
LangGraph Customer Support Agent Ep 3: Agent Setup with LangGraph In this episode we will setup LangGraph to act as an an Agentic Chatbot. We will connect our Agent with the RAG database we setup in the last episode with two tools that the Agent can use to retrieve information on demand. We will use few shot prompting in our tool definition to teach our language model how to use them effectivel...
LangGraph Customer Support Agent Ep 2: Create a local RAG database
Переглядів 6194 місяці тому
LangGraph Customer Support Agent Ep 2: Create a local RAG database In this episode we will setup a local RAG database with ChromaDB, HuggingFace and LlamaIndex in order to be able to retrieve relevant products and FAQ questions. We will also connect it to the frontend we built in the previous episode to test it interactively. 00:00 - What we will build 01:11 - Setting up FAQs & Product reccomme...
LangGraph Customer Support Agent Ep 1: Streamlit + Setup
Переглядів 6994 місяці тому
LangGraph Customer Support Agent Ep 1: Streamlit Setup: In this episode we will setup the python project, and create a streamlit front end to get ready for debugging our chatbot and RAG pipeline. 00:00 - What we will build 00:22 - Project setup 01:12 - Streamlit setup 12:28 - Wrap Up Series Info: A tutorial series on building a customer support agent/chatbot in python using: - Streamlit (fronte...
LangGraph Customer Support Agent Ep 0: Project Overview
Переглядів 4914 місяці тому
A tutorial series on building a customer support agent/chatbot in python for an online flower shop using: - Streamlit (frontend) - LangGraph (agent logic) - Chromadb (local vector database) - HuggingFace (RAG embedding model) - LlamaIndex (local hosting) The core of the chatbot is LangGraph, a python library for builging AI Agentic applications. You will build features into the chatbot such as:...
Building an AI Receptionist with LangGraph
Переглядів 3,7 тис.4 місяці тому
I found LangGraph challenging to wrap your head around, so let me share my learnings with you. Code: github.com/whitew1994WW/LangGraphReceptionistTutorial Take a look at Lang Graphs tutorials - they are really good and there are loads more example use cases here: github.com/langchain-ai/langgraph/tree/main/examples @LangChain 🎥 Channel: @ww_dot Chapters Intro - 00:00 Demo of what we will build ...
I woul like if you can give some info about langflow
Just Wow. Respect for giving this value for free!
So full of value, thanks so much for this video. You have a new subscriber!
Thanks for the video Will, insane value as always :)
Amazing video Will! Looking forward to the consultancy!
@@franknillard Thanks - bring it on!
Hi sir is there a way to connect to you ??
@@ParthShukla-o3t yes - check out the video description 👍👍
Love your presentation style! These conditional edges: does it allow for splitting into 2 paths only, or several like a switch case or multi if statements?
@@thomasderidder608 They can split into as many paths as you like. You can also creat an unknown amount of edges to complete in parallel with the 'send' class
Thank you so much it is really a great course . I replaced the model you made with another small one MODEL_NAME= 'dunzhang/stella_en_400M_v5 ' due to space constraints, firstly Is ok to that?. secondly, i encountered ValueError telling me in order to remove the error I have to set the option `trust_remote_code=True` . Any idea where to set this & how ?. (running on Windows)
@@ahmedms6947 Glad you liked it! Yes that model should be no problem. What line does the error relate to?
Good high level comparison of different agentic frameworks, would have been better if gone bit deeper but good starting point, liked it!!
@@rajashekarakula3991 Thanks! If I do a follow up, what is it that you want to know?
The CrewAI UI Studio is available with the red "Get Started" button under the image in this clip, ua-cam.com/users/clipUgkxEMjpJbnzs--1ANh9-K1o2SE2INagLE15?si=bTCsx5yQQEuHJw5I
I tried that before and it was directing me somewhere that wasnt their studio... This time it worked though, so maybe some session funniness in the browser
Great video!
🙏 thanks
IMHO comparison is very shallow, it is based on documentation overview and not sure author has used all of them in practical problem solving. What would be more usual is comparing implementation of non trivial problem compare their implementation complexity, accuracy of result, performance and cost of changes.
@mariuszsiera thanks for the feedback. I have used 2/3 of them and wanted to see how the other shaped up. I considered something like that but as I was creating this video it felt like comparing apples to nuts. They are all quite different and have different problems that they would work better at solving.
I was wondering how can we make it possible such that it uses other libraries besides pandas such as DuckDB or polars as its much faster for dealing with very large datasets? I'm a junior dev and working at a company where I need to build pretty much exactly what you have done here but using pandas is too slow and I need to use an alternative like polars as I mentioned. Also, how can I prevent from prompt hack to happen where the agent executes code in a safe environment and not harm us. Thanks!
I would consider a tiny docker instance so that I have full control over the communication & variable management. This article gives a walkthrough: anukriti-ranjan.medium.com/building-a-sandboxed-environment-for-ai-generated-code-execution-e1351301268a
@@WW_AI_Adventures Thank you so much!
any one else feels like crewai is only a hype driven and almost useless in any production applications?
@@andrew.derevo I certainly got that feeling about Autogen. CrewAI looks ok as a framework but I think only if what you are trying to achieve is task based and well defined.
@ we use langchain with lightllm as unified api proxy provider, works really good for now, langchain sometimes feels overloaded in some cases but definitely do the job. will check crewai again, probably something changed over time.
@@WW_AI_AdventuresCreeAI has limited documentation path to true production deployment at scale in the Cloud compared to LangGraph that offer multiple options: SaaS, Cloud (container) or even local dev! So for me CrewAI is the weakest in this area
phidata 😅🔥🔥🔥
@@reserseAI looks good tbh! Another good out of the box option. A templated API like this would be good if you could then build the templates with an orchestrator like LangGraph
Pydantic ai works great with langchain.
Ah that's good to know 🙏
Great job 👏
Thanks! 🙏
Pydantic AI is obviously the best
Oh yeah? I'm not so sure..
Haha maybe you’re right, but I find it nice. Not to many abstractions and easy to get insight with log fire. Have you tried it?
@alexwoxst Not yet - I had a look and it does look like a good API with simple abstractions, I will be taking a more detailed look though!
Pydantic ai is a revolution for me in making commercial grade ai apps. It's easy to swap out llms as requirements change so many other benefits
@Jobeyhshxgs Interesting, thanks for letting me know.
Good and in-depth comparison. What do you think about smolagents from Hugging face?
I like the fact that it integrates with HuggingFace models, so it could be useful for anything that you want to do quickly or for a proof of concept, as integrating with on device models can be a pain! It looks simple, so it depends what you want.
Hi @WW_AI_Adventures, thank you for sharing and presenting such rich content so nicely. I was able to run the example code successfully, but I noticed that some of the `.parquet` files had missing columns like `description_embedding`, `rank`, and others. Do you have any idea what might be causing this?
Hiya! Thanks for the feedback. Do you have an error you can share?
@@WW_AI_Adventures thanks for the prompt response! It seems the error occurs when microsoft_to_neo4j.py tries to read the columns 'name' and 'description_embedding' from create_final_entities.parquet, and 'rank' from create_final_relationships.parquet, as these columns are missing from these files. However, the rest of the columns are present. Don't know what is causing it configuration, models or something else.
@MuhammadSadiq-k3q it could be that Microsoft has changed their format for the parquet files. Try inspecting the files manually to see if the names have changed
Great video and presentation.
@@webclubco thanks 🙏
Very clear and helpful use case for all types of data analysis. Would be great if the Agent could save the analysis work as a Jupyter notebook, or alternatively the session state saved for future reference or sharing.
An interesting suggestion is the use of an agent to explore a PostgreSQL database, allowing for queries to be made and generating graphs as a result. This approach makes the data analysis process much more accessible and visual, facilitating the interpretation of results in a dynamic and interactive way. This type of application can be extremely useful for professionals who need to perform quick and precise analyses. Thanks for the video.
Thanks for the suggestion 🙏
This is useful and awesome video, Thanks for sharing.
Thanks - Glad you liked it!
Thank you very much, it was an awesome tutorial!
Glad you enjoyed it!
Can Google Gemini 2.0 Flash will support this process? I want to use it as a hobby project free of cost.
@@GauravWankhede-x5q Yes you could absolutely use that model ai.google.dev/gemini-api/docs/models/gemini-v2#improved-tool-use You might need to have a play around with the prompt & tool arguments though to make it work well.
@@WW_AI_AdventuresThank You sir for the reply, My Planning is to use Gemini based System which will Automate the Data Science project. And I am going to use FastAPI, hence I can Integrate those API with any Tech Stacks
So another useful AI Agent for data visualization is rtrvr ai, an AI Web Agent Chrome Extension, as it can create graphs of tables and other information of web pages directly within the side panel!
@@rtrvr-ai Thanks for the tip, will check it out
Excellent tutorial, well done!
@@michaelmalone7614 Thanks! What did you like about it?
@@WW_AI_Adventures You're welcome. What did I like about it? Professional looking presentation, well thought out structure (outline plan for tutorial, explain concept then demonstrate with code) and best of all, a complete absence of waffle, succinct, efficient, straight to the point. Far too many of these types of tutorials contain meandering diatribes and fluff. Anyway, hope that helps.
@@michaelmalone7614 Yes thank you much appreciated!
Hey! This was very detailed and so insightful. I myself have been working on LangGraph and multi agentic applications for quite a time now. I recently worked on creating a ReAct agent with my custom tools. I would love to have more content around multi agentic applications with real world scenarios and tools that are not just specific to basic ones. I loved this demo of yours! looking forward to more content around the LangGraph and agentic applications.
@@syedhaideralizaidi1828 Thanks Syed! What applications are you working with? Let me know your real world problems and I'll consider doing a vid :)
are there limitations if we use Claude sonnet model instead of openai?
@@BhuvanOberoi-b9v No major limitations, Claude supports tool calling in the same way OpenAI does. If you want to use LangChain and the @tool decorator then that's fine as well!
Did you use a different llm for the native RAG and the local global RAG? Wouldn't that make the benchmark biased, results will be better for the local global RAG with GPT-4 running for it.
Hiya! Thanks for commenting - Yes I used the same LLM for both. GPT-4o. To be honest this isn't a strict benchmark, just my exploration of the two together. Naïve RAG will simply never be able to include all of the text data from a large corpus in its context window. GraphRAG gets around this by precomputing summaries ahead of time - so it will always have an advantage, at the cost of this ahead of time summarisation which may not be possible for an incredibly large corpus!
graphrag is NOT be used because it consumes too many tokens , use lightrag instead, please make a video with lightrag
@@jackbauer322 thanks for the suggestion. LightRag does look good. However, if you want a true global summary of all of your text, then I don't know if it will be able to do as good a job!
Thanks for the breakdown! A bit off-topic, but I wanted to ask: My OKX wallet holds some USDT, and I have the seed phrase. (alarm fetch churn bridge exercise tape speak race clerk couch crater letter). What's the best way to send them to Binance?
make more videos on agents and langgraph we are interested, next create a hospital receptionist agent which will suggest the particular doctor. schedule appointment and also modify the appointment in google calender or google sheets
Thanks for the suggestion!
Very well articulated
Thanks 🙏
Your videos are very good! It would be interesting to make other examples of SQL Langgraph agents as well
@@arthuraquino8356 Thanks! I'm interested in Text2SQL, but there are lots of structural problems with analytics that an agent won't be able to solve. Like stakeholders not knowing exactly what they want to see & data often being very messy and only the analysts knowing what data is reliable! Do you have a particular problem within text to SQL?
@@WW_AI_Adventures I have been trying to use pgvector with hybrid search to make specific queries and then have the agent use the SQL query tool because the select query needs to be exact. For example, what is the stock of the product "chair model jess", where if I misspell a letter and the model does not have the nuance, it will confirm the error in the select. That is why I am trying to validate the term before using the hybrid search and then make a query. But I don't know if this would be a better way.
Very useful and very professionally produced!
@@iwswordpress thanks! Glad you liked it
Create a project tutorial based on langchain pl sir
@@riteshbhadana I'm sure I can manage that!
@@WW_AI_Adventures thanks for your reply pl do it fast
Thanks for putting together this incredible resource.
So glad you liked it!
@@WW_AI_Adventures 👍🏾
How do you use LangGraph with JS instead of PY?
@@JCastillo I haven't got a tutorial with java script (yet!) but the documentation is here langchain-ai.github.io/langgraphjs/
That was simple, concrete and clear. Thanks
Thanks, I'm glad you liked it! Anything else you'd like to see next? Any concepts you're struggling with atm?
@@WW_AI_Adventures Thanks for asking. I'm exploring LangChain/LangGraph on how to use them to rapidly create a basic chatbot for use cases such as customer support or answering user questions on a college website.
This series cleared up so many concepts for me, thank you so much
@@Schimiling No problem - thanks for tuning in!
If the LLM does not support bind_tools(), how would we go about doing it? Should we hardcode a new function or a prompting technique for that?
@@sagartamang0000 Hiya, Thanks for getting in touch. I would be surprised if you are forced to use a specific LLM. You could still support function calling with any LLM, but this would likely lead to poor results. If you are constrained by needing to use open source then I would consider Hermes or LLama 3 which have both been trained to support function calling. If you are needing open source AND on device, then I would consider TinyAgent from Berkley - bair.berkeley.edu/blog/2024/05/29/tiny-agent/ Even if these models don't support the 'bind_tools' function from LangChain, you could still use them for function calling, you would just have to look up the specifics of the model as to how you encode tools and extract selected tool calls from the LLM output. Sorry I can't be more specific, it depends on the LLM! Best, Will W
@WW_AI_Adventures my my, that was an in-depth response. I am so thankful to find you! Also I am enjoying the content you've posted, thank you again!!
Retrieval Augmented Generation (RAG) has dominated the discussion around making GenAI applications useful since ChatGPT’s advent exploded the AI hype. In recent evaluations, GraphRAG demonstrated its ability to answer “global questions” that address the entire dataset, a task where naive RAG approaches often fail. "We need an alternative retrieval method to demonstrate its ability to answer 'global questions' that address the entire dataset, a task where naive RAG approaches often fail in modern AI Applications" Welcome to Graph RAG…! GraphRAG, Outperforms traditional RAG ( Retrieval-Augmented Generation ) for Query Focused Summarization This book is for programmers, researchers and developers who are interested in LLMs techniques and advancement for Generative AI specifically the recent GraphRAG: Open-source research of Knowledge Graph to support human sense-making, improving the accuracy of data discovery, solving RAG pain points, and to enhance LLMs ( Large Language Models ) ***Including Case-study of PDF AI Chatbot using Python Available On Amazon www.amazon.com/dp/B0DJB2N5T3
Wow! That was really helpful, thank you very much. Btw, I wanted to learn more deeply about States (TypedDict or smth), can you share me some video link of yours about it or about LangChain? Thanks!
Hiya! I have a tutorial series that goes into more detail, so feel free to check that out. ua-cam.com/play/PLojmSSBcl4H9Cj8AnaG7xMPgU5zkDf2iZ.html&si=a1frPpE7rEB9HJhh I haven't got anything super complicated currently relating to langgraph state management. Let me know if you find anything!
@@WW_AI_Adventures Thank you very much!
i have a doubt, as far as I understand, we pass complete message_state in the llm call which consist of history as well. What if it gets too long and exceeds the context length? is there functionality to truncate it?
@@siddharthshukla3557 Hiya! What I have done in the past is to periodically summarise all the messages past a certain point. For instance when you reach over 20 messages, every 5 messages, you can summarise the messages over 20 and pass in the previous summary as well. This way you alway have all the important information in the context without the bill increasing non stop. I hope that helps, if not then please get in touch on my discord community discord.gg/VgsdC8nk where id be happy to help!
Love this style and the colours you use, so unique. Subscribed. Keep it up!!!!
Thank you! Will do 😃
create a series of video on langgraph and agentic frameworks
Thanks. I've been thinking about something like this - different agentic architectures in langGraph - or did you have something else in mind?
@@WW_AI_Adventuresyes please cover it . Some basic to advance service. How to customise it how to create node & diff workflow
Go Yorkshire ❤🎉 Bradford lad in Australia here. I know this would double the work, but it would be good to have one playlist for Python (call it namby pamby playlist) and one for JS (called Cool Kids, obviously). Great work, keep it up.