Building AI Agents from Scratch, Simplified

  Рет қаралды 26,228

Data Centric

Data Centric

Күн бұрын

Пікірлер: 85
@aim2helpU
@aim2helpU 4 ай бұрын
when the student is ready, the master appears! Thankyou.
@Salionca
@Salionca 4 ай бұрын
"Not only the thirsty seek the water, the water as well seeks the thirsty." -Rumi
@wadejohnson4542
@wadejohnson4542 4 ай бұрын
This is such an amazing service to the community. You deserve to be recognized. Thank you.
@harshu7954
@harshu7954 2 ай бұрын
I'm crying really, I was just lost in this project, but you made it so tangible and understandable. Thank you. Thank you from the bottom of my heart.
@royxss
@royxss 4 ай бұрын
This is truly the best agentic explanation across the internet without using frameworks. Many thanks!
@madhavpr
@madhavpr 4 ай бұрын
This is definitely the best explanation of AI agents ever. I'm a subscriber from now onwards. What this lesson also shows are 1. You can create agents without frameworks if you understand what they are and what they're supposed to do. 2. Agent creation isn't all that hard. It may involve writing more lines of code but everything you write will be under your control. I'm curious as to how you can make two agents talk to each other. If we can do this, then I'm ditching all frameworks.
@shacharbard1613
@shacharbard1613 4 ай бұрын
finally a clear, structured explanation on how agents work behind the hood. great respect man!
@EderNunes-zf1oj
@EderNunes-zf1oj 4 ай бұрын
This was the best video I ever see on AI in months. Very well explained, great examples and good explanation on the subject! Just amazing!
@kennycommentsofficial
@kennycommentsofficial 4 ай бұрын
You make the best llm dev content on youtube - always a clear vision and clean code. I'd be interested to see your take on running llm code, say giving an ai a python sandbox to write code to, or even make new tools in the format from this video.
@Data-Centric
@Data-Centric 4 ай бұрын
Thank you! I'll see what I can do on this.
@Hector-zr2lq
@Hector-zr2lq 4 ай бұрын
I definitly want to see this
@nickmills8476
@nickmills8476 4 ай бұрын
Awesome work! From scratch, helps us understand. As Feynman said: what I can’t create, I don’t understand.
@MuhanadAbulHusn
@MuhanadAbulHusn 4 ай бұрын
One of the most structured and throughly explained code-along thank you
@bradlegassick9327
@bradlegassick9327 4 ай бұрын
Just used your Github repo & got this to work. Thanks for the detailed lessons.
@mahiaravaarava
@mahiaravaarava 2 ай бұрын
Building AI agents from scratch involves designing algorithms that can learn and make decisions. Start with defining the problem, select appropriate machine learning models, and train them using relevant data. Simplify the process by breaking it into manageable steps and using frameworks that streamline development.
@KayleighBarrow-z9b
@KayleighBarrow-z9b 4 ай бұрын
That was truly incredible. I have never been so motivated before. Thank you so much for this
@donmitchell3566
@donmitchell3566 4 ай бұрын
THANK YOU! I've been looking for one like you that knows the tech well enough to explain it! Thank you!
@chirumamillabharath9037
@chirumamillabharath9037 4 ай бұрын
This perfectly demonstrated what exactly it works underneath.Thanks
@olderguyai
@olderguyai 4 ай бұрын
Awesome info on custom agents, can you crate a vid that dives into building tools/functions? I watch a TON of your videos, appreciate the work and info you put in! you have skills and knowledge my friend...
@kenchang3456
@kenchang3456 4 ай бұрын
Excellent video. Thanks for the detail and especially your reasoning, I really appreciate that.
@leonwinkel6084
@leonwinkel6084 3 ай бұрын
Great thanks a lot!! I would also love to see how agents are looping through problems and iterate on possible solutions and reflect until they decide the current solution in good and only then returns it
@xspydazx
@xspydazx 4 ай бұрын
keep it up bro week by week ! - It was a very good video ! Works fine !! 100 percent !
@khaledsaud6677
@khaledsaud6677 4 ай бұрын
Thank you for this well-explained video. Which would you recommend for creating a sophisticated, saleable, production-ready agent system (> 30 nodes) with cycling and branching capabilities: Haystack, LangGraph, or a custom framework built from scratch, and why? Also, can you please make a video about tips for building AI agents in production? Last question, can LangGraph and LlamaIndex be combined and does it make sense to do so?
@MrAhsan99
@MrAhsan99 4 ай бұрын
Brilliant Question! You got any answer?
@avg_ape
@avg_ape 4 ай бұрын
fantastic walk through & video production. Thank you.
@jonasbg
@jonasbg 4 ай бұрын
This is a great example! Thank you. Only thing i would miss is the agent ability to reason with itself after the tool responds with a calculation or string reversal.
@namwkim85
@namwkim85 3 ай бұрын
Great example without using existing frameworks
@martinsh7296
@martinsh7296 4 ай бұрын
You have the teacher talent. Thank you!
@jarad4621
@jarad4621 4 ай бұрын
Awesome thanks, i hope maybe you can do a part 2 where we can see agents working together in a flow or process or somerhthing where we can see their value over normal code
@Highdealist
@Highdealist 4 ай бұрын
Hey man, excellence in all its meaning, thanks for your work and knowledge and time!
@NyloXD
@NyloXD 4 ай бұрын
I run my Ollama stuff on a container, and I have a ip like 192.168.1.1:8087 for it. How would I approach changing a local ollama model to use this port instead?
@sirishkumar-m5z
@sirishkumar-m5z 2 ай бұрын
Awesome newsletter automation tips! Alternative tools like SmythOS offer advanced AI models to streamline your content strategy. #AIContent #Automation
@free_thinker4958
@free_thinker4958 4 ай бұрын
Thanks man, we would like you to dedicate a future video of a self improving agent with memory + deployment 🎉🙏
@Hector-zr2lq
@Hector-zr2lq 4 ай бұрын
Excelent work, im following this project, I encountered that with 7b models its hard to make it work properly, i will work on the optimization of it, looking for tool calling optimization
@edwardrhodes4403
@edwardrhodes4403 4 ай бұрын
I love the detail in this video and will be checking out your other ones! I suggest upgrading your microphone as this is currently the only thing taking away from the viewing experience
@1msirius
@1msirius 4 ай бұрын
I was waiting for this, really cool and thanks for making this < 3
@nmana9759
@nmana9759 3 ай бұрын
I'm learning how to develop AI Agents from you.. new subscriber 🎉
@sausage4mash
@sausage4mash 3 ай бұрын
this is basically what I've been doing ,interesting we have come to similar solutions , i never thought of specifying a json format back , i had been converting it afterwards ,good stuff
@karthage3637
@karthage3637 4 ай бұрын
I am a bit lost when it come to understand where some of those actions are happening, how does the LLM read the description ? where does it transform the query to use the tool ? Does it use the response of the tool in a prompt or not ?
@joaoloureiro9767
@joaoloureiro9767 4 ай бұрын
Another great video! Awesome work!
@JeomonGeorge
@JeomonGeorge 4 ай бұрын
Thank you so much for creating this video. 😁
@haimroizman6440
@haimroizman6440 4 ай бұрын
Great explanation. Thank you very much!
@madhavpr
@madhavpr Ай бұрын
Hi @Data Centric. Do you plan to add a video on how you can make two (or more) agents talk to each other to fulfill a task from scratch? :)
@Sarunas-llm
@Sarunas-llm 4 ай бұрын
You, sir, are a legend!
@trafferz
@trafferz 4 ай бұрын
would like to see the following - given a research agent(s) with scraping or search capabilities (could be any task really), a manager agent who analyzes research agent returns, accepts the response, the response needs further refinement or the response elicits a new question with the manager who then, with case 2 or 3, sends the research agent out again with a new task.
@frankshines-stroudfamily
@frankshines-stroudfamily 4 ай бұрын
Very well done. Great delivery, excellent content on AI Agents. Look forward to learning more from you. For example, how do you think AI enterprise workflows might be developed through combination of the AI Agent approach you have outlined integrated with BPM (biz process mgmt) tools and RPA?
@Data-Centric
@Data-Centric 4 ай бұрын
Thank you! Regarding your suggestion, this is quite difficult to do without sounding general and unhelpful. For obvious reasons, one can't share confidential client work on KZbin so the information becomes more like a consulting dec you could easily pick up from McKinsey or Gartner for free.
@Data-Centric
@Data-Centric 4 ай бұрын
I'm not suggesting that Mckinsey or Gartner do not do great work btw!
@tedifibri
@tedifibri 4 ай бұрын
the accent and articulation are awesome
@lessing3607
@lessing3607 4 ай бұрын
Good explanation. Thanks a million
@thays182
@thays182 4 ай бұрын
Can you list examples of tools and more powerful tools we can give to our agents?
@Data-Centric
@Data-Centric 4 ай бұрын
Tools can be anything you want as long as you can program them as functions. Web Search, Data Visualization, Scheduling Events etc.
@juanjosetorresvillarroel820
@juanjosetorresvillarroel820 Ай бұрын
Thank you sir
@johleonhardt5637
@johleonhardt5637 4 ай бұрын
All these videos are great and good but it never works on my machine can do a video where you show a full beginner easy installation guide or ide , python environment etc?
@Lhtokbgkmvfknv
@Lhtokbgkmvfknv 4 ай бұрын
Have you tried to do it with the help of ai? 😊
@Data-Centric
@Data-Centric 4 ай бұрын
I appreciate your efforts in trying to get everything up and running. Have you had a chance to go through the instructions in the README for the GitHub projects? Python development often requires persistence with debugging, and there are plenty of resources available online to help with these challenges. I mention this not to dismiss your request, but because my time is limited, and I focus on AI and its applications on this channel. Unfortunately, I cannot dedicate videos to beginner tutorials on setting up your environment, IDE, etc. Thank you for your understanding!
@vastvitamins1966
@vastvitamins1966 3 ай бұрын
Thanks 💯
@rajc2645
@rajc2645 4 ай бұрын
I have 1 question what will be the behaviour if tool calculator is named as some garbage but has proper doc string
@karthage3637
@karthage3637 4 ай бұрын
Depending of how competent your model is it will understand what it do or not I had an experiment where the LLM (gpt-4o) was able to use a tool for a case I did not anticipate in my doc string or name of the tool/function because it was able identify that some script I have inside could help it to respond to the query It did not work with smaller model
@sveineksdfghjkljhgfd
@sveineksdfghjkljhgfd 4 ай бұрын
There is a minor typo in ollama_model.py on line 38. It should be '"format":"json",' instead of '"format" "json"' (a colon and a comma are missing). Additionally, I had to uncomment line 56 and return response_dict instead of just response, as it was a string.
@Data-Centric
@Data-Centric 4 ай бұрын
Great spot, thank you. I've updated the code with the fix now!
@banalMinuta
@banalMinuta 4 ай бұрын
Do you have any personal recommendations for looking for particular fine-tuned models on huggingface? I get some of the lingo, like what "Hermes" means, etc. but I'm curious if you've noticed if particular data-sets to look for. Or even stuff like if you've noticed if there's any noticable difference For example: Between Unsloth and DPO tuned models, any inkling if anything like that might be more effective in general in terms of finding a model that seems to perform really well as an agent? I know this is a random question and is kinda broad on the face of it. So to clarify my intentions, I'm really I'm just trying to spark any novel thinking or observations that might prove valuable. Either way, thanks for your time man! These videos are awesome
@Data-Centric
@Data-Centric 4 ай бұрын
Thanks for watching. I'm currently combing through the latest research papers on agents, haven't covered finetuning for agentic workflows yet. However, if there is anything interesting that appears in the literature I will do a video on it!
@BradleyKieser
@BradleyKieser 4 ай бұрын
This guy is awesome.
@NicholasPanek
@NicholasPanek 4 ай бұрын
Thank you for this
@sherinrahim7700
@sherinrahim7700 2 ай бұрын
Bro u r amazing 👏👏👏
@john_blues
@john_blues 4 ай бұрын
I know you used very basic example to show proof of concept. But what are some practical things that one could do with these agents/tools?
@SomeHobo
@SomeHobo 4 ай бұрын
Use langchain bro. So much better than rawdogging with pure Python
@everybodyguitar5271
@everybodyguitar5271 4 ай бұрын
Similar to function calling
@0MVR_0
@0MVR_0 4 ай бұрын
this is from numerous imports, rather than from scratch
@rakeshkumarrout2629
@rakeshkumarrout2629 13 күн бұрын
hey what is te self.model_endpoint here im not getting itcan you help me find it?or how can i find it for other platforms like together ai and groq points as well?
@Hae3ro
@Hae3ro 4 ай бұрын
Great
@heikohotz9235
@heikohotz9235 4 ай бұрын
This is great John, thanks for this video. I would love if you could elaborate more on this agent architecture vs the one you built in kzbin.info/www/bejne/eYeUipp_jMqjpas - when would you use which architecture and why?
@ManjaroBlack
@ManjaroBlack 4 ай бұрын
6:39 ???
@flyingwasp1
@flyingwasp1 4 ай бұрын
why is it necessary to install anaconda?
@flyingwasp1
@flyingwasp1 4 ай бұрын
I'll answer my own question - no it is not necessary. It works great. thanks for the fantastic video and for providing us the code.
@abdulsamad.abd007
@abdulsamad.abd007 Ай бұрын
This video is ai generated
@free_thinker4958
@free_thinker4958 4 ай бұрын
Thanks man, we would like you to dedicate a future video of a self improving agent with memory + deployment 🎉🙏
@Data-Centric
@Data-Centric 4 ай бұрын
I'll be creating a more sophisticated agent with vector store for long term memory.
@MrAhsan99
@MrAhsan99 4 ай бұрын
@@Data-Centric looking forward!
A Prompt Engineering Trick for Building "High-level" AI Agents
50:36
КОГДА К БАТЕ ПРИШЕЛ ДРУГ😂#shorts
00:59
BATEK_OFFICIAL
Рет қаралды 7 МЛН
这是自救的好办法 #路飞#海贼王
00:43
路飞与唐舞桐
Рет қаралды 128 МЛН
Disrespect or Respect 💔❤️
00:27
Thiago Productions
Рет қаралды 37 МЛН
The IMPOSSIBLE Puzzle..
00:55
Stokes Twins
Рет қаралды 116 МЛН
What are AI Agents?
12:29
IBM Technology
Рет қаралды 630 М.
LangGraph Simplified: Master Custom AI Agent Creation
43:51
Data Centric
Рет қаралды 38 М.
AI Agentic workflow - How to build AI Agents with Python.
13:29
Masters of Technology
Рет қаралды 1,3 М.
I wish every AI Engineer could watch this.
33:49
1littlecoder
Рет қаралды 82 М.
Have You Picked the Wrong AI Agent Framework?
13:10
Matt Williams
Рет қаралды 77 М.
OpenAI's Swarm - a GAME CHANGER for AI Agents
20:48
Cole Medin
Рет қаралды 43 М.
The COMPLETE TRUTH About AI Agents (2024)
45:47
TheAIGRID
Рет қаралды 64 М.
Python: Create a ReAct Agent from Scratch
57:27
Alejandro AO - Software & Ai
Рет қаралды 16 М.
AI Pioneer Shows The Power of AI AGENTS - "The Future Is Agentic"
23:47
From RAG to Knowledge Assistants
27:29
LlamaIndex
Рет қаралды 23 М.
КОГДА К БАТЕ ПРИШЕЛ ДРУГ😂#shorts
00:59
BATEK_OFFICIAL
Рет қаралды 7 МЛН