AI Agents are changing the world, let's build one from scratch

  Рет қаралды 23,759

David Ondrej

David Ondrej

2 ай бұрын

If you're serious about AI, and want to learn how to build Agents, join my community: www.skool.com/new-society
Follow me on Twitter - x.com/DavidOndrej1
Please Subscribe.
In this video you'll learn how to code your own AI Agent from scratch, without using any Agent frameworks.

Пікірлер: 57
@DavidOndrej
@DavidOndrej 2 ай бұрын
🔥 If you're serious about AI, and want to learn how to build Agents, join my community: www.skool.com/new-society
@StringerBell
@StringerBell 2 ай бұрын
For the past year I watched about 300 videos on AI agents (all of your videos + a lot of other KZfaqrs) I've yet to find any real life business use-case of AI agents , besides simple basic research and summary on a topic/idea or coding, where 2-3 AI "agents" role play with each other. That's about it. I own a business with 17 people in the eCommerce niche with a lot of automation possibilities but I haven't really seen anything even remotely practical and useful (not only for my business but for almost any business) Everything is "in the future" but not right now.
@rodrigoamora
@rodrigoamora 2 ай бұрын
I have been using heavily on my consulting company so far. What helped me was to design all my processes, than automate parts of those processes. It's a lot easier that way, automating complete complex processes is pretty hard right now.
@StringerBell
@StringerBell 2 ай бұрын
@@rodrigoamora Yea, I can imagine is useful for consulting or similiar kind of work, but as for now I can't really find even one business, that use it for something other than that. I really hope soon that will change, because I can't wait to automate some stuff. So far the most useful thing for my business is Stable Diffusion with custom trained checkpoints. It literally saved me thousands of dollars per year for product photography
@HakaiKaien
@HakaiKaien 2 ай бұрын
You probably should talk to David honestly
@StringerBell
@StringerBell 2 ай бұрын
@@HakaiKaien Naah, I'll just wait patiently this to become more mainstream and polished, like I did with Stable Diffusion and jump in when all the "beta testers" lost their time iron out the kinks. Business doing great without AI so far, so yea :)
@HakaiKaien
@HakaiKaien 2 ай бұрын
@@StringerBell There's not much of a beta testing when it comes to agents. The only two limits are your ability to define your agents roles and the models capability. And of course, you ability to set up your framework, which can be daunting. You're probably waiting for a framework with a nice UI and straightforward installer. Which is going to happen very soon. But that will be a gpt3 moment just 1000x more pronounced
@davisoares454
@davisoares454 2 ай бұрын
I was trying to use phi-3-mini model on CrewAI and I was having problems because the model wouldn't understand the prompts from the previous agent to the next. When changing the temperature to lower, it sometimes worked, but it's not consistent. Now I'll try writing from the scratch like shown in this video. Thanks for the tutorial!!
@primalplasma
@primalplasma 2 ай бұрын
God bless you, man! I am going to recreate your example project just to get a feel for using Llama-3 with Python, then I will branch out from there. I am saving money to sign up for your course!
@codewithtj
@codewithtj 2 ай бұрын
If the agent is giving wrong response how do we train it ? any help
@WatchMeGPT
@WatchMeGPT 2 ай бұрын
What's the best way to do these open source models on a low budget. My laptop is 16 gb Intel i7 core. But anytime I open a model in LM studio it's hardcore struggling.
@milque1854
@milque1854 2 ай бұрын
this is crazy.. glad i found ollama! not much python required to split it up and get agents going.. would be awesome to see tavern card implementation!!
@theaigrind
@theaigrind 2 ай бұрын
For some reason I could not get the code to run calling for an "No module named 'ollama'" Even after installing ollama.
@nicholasdelnegro6936
@nicholasdelnegro6936 2 ай бұрын
Love the glasses amazing insight
@SonoftheLivingGod7
@SonoftheLivingGod7 2 ай бұрын
can you make this agent surf the web without api?
@mrsotona
@mrsotona 2 ай бұрын
So i still can't do anything with my 8gb ram card ? Not rly free if you need spaceship pc to run llama
@seandiamond7983
@seandiamond7983 2 ай бұрын
Great video. Thank you. But what if I want to use two agents with two different models? Could you please show how to do this? Using specialized models for each agent is powerful. Thank you!!
@karanborana8540
@karanborana8540 2 ай бұрын
Can you please make a video on how to make agents that will have capability to call multiple APIs like GET, POST requests and display the data from the response
@Peter.Wirdemo
@Peter.Wirdemo 2 ай бұрын
Cool! Gave me an idea of creating a simple 2D virtual environment for like 4-5 agents and give them "work titles" and let them walk around by outputting directions, for example Move x+1, and let them communicate and do stuff that actually update the state of the environment and their individual current coordinate positions inside the environment.
@StephenHicks1
@StephenHicks1 2 ай бұрын
thats a great idea. You could give them a proximity weighting so they can only communicate with others nearby. I wonder if they would huddle or spread apart like gas?
@Peter.Wirdemo
@Peter.Wirdemo 2 ай бұрын
@@StephenHicks1 yeah would be cool to find out! I guess you have to crunch current ”map”, other agents positions, the current agent position, some ”personality” info, some instructions what to output if the agent should take action, like walking or talking and some history of past events, all into the prompt for each query. Seems simple in theory.
@thays182
@thays182 Ай бұрын
Is there any way today to create and use ai agents while not being a regular or competent programmer who utilizes code? I'm familiar enough to understand code, generally, but no recent experience actually coding, it's been years. Seems like agents require a good bit of understanding of not only coding but other integration mandatory tools like python and whatever else... Is there any option to create useful ai agents today without programming?
@malamstafakhoshnaw6992
@malamstafakhoshnaw6992 2 ай бұрын
Thanks for a great educational video as always David. Personally for me i will be waiting for Elon's open source models to run locally. However what you showed can be incredibly useful for a lot of people. Thanks again and cheers 🤟🏻
@mehdiberber8395
@mehdiberber8395 2 ай бұрын
What are the characteristics of the pc that enable me to run llama3 locally ?
@hadex666
@hadex666 2 ай бұрын
Almost any modern one would suffice. With 8 GB ram you should be able to run the quantised 8B model. To run it fast, you need a 6 GB GPU. A nvidia 4090 runs it at about 80 tokens per second, my laptop with a 3060 runs 33 tokens/second. Very useable. The 70B model requires 64 GB to run, but you will get only 1-2 tokens per second, even on a fast pc, because it does not fit your GPU memory. (you can also run 2-bit quantisation with 32 GB, but quality will be worse)
@VictorSilva-hv7jg
@VictorSilva-hv7jg 2 ай бұрын
Hey guys! I'm immersed in the study of AI agents and I'm curious: would it be viable to build an agent that prospects customers for freelance professionals? I envision a system capable of exploring Instagram in an automated way, identifying potential customers and even starting conversations to schedule sales meetings. Is it possible to develop such AI agents? If so, do you know of any videos on KZfaq or any mentors that explain how to create AI agents to automatically prospect customers through Instagram? Is there something like this in development or is this an idea for the future of AI?"
@NurtureNestTube
@NurtureNestTube 2 ай бұрын
These are helpful, thank you! Just a small suggestion, it’s always a good practice to create a virtual environment for each new project! That way you won’t have to deal with conflicts, if ever..
@qbitsday3438
@qbitsday3438 2 ай бұрын
how do you write the response to a file !
@mohamedkeddache4202
@mohamedkeddache4202 2 ай бұрын
ask chat gpt, he knows basic stuff like how to write a text variable into a text file
@agugi
@agugi 2 ай бұрын
nothing in this video is working. Could anyone succeed after following instructions step by step in this video?
@Educationsupport
@Educationsupport Ай бұрын
No
@VastCNC
@VastCNC 2 ай бұрын
Glad you’re keeping it local. 💪🏽
@McWhirterGaming
@McWhirterGaming 2 ай бұрын
Very awesome!
@Jakemottola
@Jakemottola 2 ай бұрын
You do recommend using multi agent frameworks? Ok, I am in the opposite boat. I think they are not the answer and ultimately less capable. So if you need some content and like a challenge how about this: Create/use a multi agent framework to build a moderately complex piece of software, a service, and or application. You can build upon a pre existing framework like autogen, crewai, chat dev, etc if you'd like and you can use any closed or open source LLM you want. Whether it be gpt4, claude, llama, anything. In terms of what is "moderately complex". Use common sense, a game of snake isn't going to cut it but maybe something like a chatbot connected to a vector store where the end user can provide documents to ingest then query the chatbot against those documents. That I dont think is too difficult but hard enough that it would prove multi agent ability.
@SonGoku-pc7jl
@SonGoku-pc7jl 2 ай бұрын
thanks
@MovieClips14359
@MovieClips14359 2 ай бұрын
Create ai agent build for seo purpose
@mohamedkeddache4202
@mohamedkeddache4202 2 ай бұрын
what is an agent? it's just an llm ?
@Educationsupport
@Educationsupport Ай бұрын
It's an llm with tools. Like they can scan the internet for new news stories and summarize it, or it can build a website, or it can allow you to chat with pdf files. LLM + tools
@mohamedkeddache4202
@mohamedkeddache4202 Ай бұрын
@@Educationsupport thanx, i have an other question, for example i build a agentic RAG application, this application has multiple LLMs working together (router, grader, generater, hallucination_checker, etc...) is every single LLM are called Agent or the whole application is an Agent ? (because i saw an information that agents break a task into multiple tasks). also the chat prompt template for each LLM in the application, is it considered as prompt engineer ?
@nayetcuba
@nayetcuba 2 ай бұрын
glad u r on PC. iOS is meh
@primalplasma
@primalplasma 2 ай бұрын
The MacBooks with the M2 and M3 chips are helpful. You won’t need a fancy NVIDIA graphics card to run these local LLMs at a good speed with Apple Silicon Macs.
@nobody-er6ys
@nobody-er6ys 2 ай бұрын
Make a video on how to earn money?
@thisiscrispin
@thisiscrispin 9 күн бұрын
Don't get it. How is this an agent? This just looks like prompting a local model :)
@leonwinkel6084
@leonwinkel6084 21 күн бұрын
This is just a prompt chain. Not an agent …
@ThatGuyJoss
@ThatGuyJoss Ай бұрын
This isn't an agent, This is still a little bit of python script with an LLM lolz
@martin-xq7te
@martin-xq7te 9 күн бұрын
It seems you have created a llama environment. Should this not have been show
AI Expert: ChatGPT is dumb, start making Agents instead
46:47
David Ondrej
Рет қаралды 8 М.
Unlimited AI Agents running locally with Ollama & AnythingLLM
15:21
WHO LAUGHS LAST LAUGHS BEST 😎 #comedy
00:18
HaHaWhat
Рет қаралды 23 МЛН
Mom's Unique Approach to Teaching Kids Hygiene #shorts
00:16
Fabiosa Stories
Рет қаралды 21 МЛН
Playing hide and seek with my dog 🐶
00:25
Zach King
Рет қаралды 31 МЛН
Happy 4th of July 😂
00:12
Alyssa's Ways
Рет қаралды 65 МЛН
How to render array of data into multiple mustache partials?
3:02
The Python Oracle
Рет қаралды 6
Build Anything with AI Agents, Here's How
29:49
David Ondrej
Рет қаралды 234 М.
AI Pioneer Shows The Power of AI AGENTS - "The Future Is Agentic"
23:47
host ALL your AI locally
24:20
NetworkChuck
Рет қаралды 883 М.
This Llama 3 is powerful and uncensored, let’s run it
14:58
David Ondrej
Рет қаралды 99 М.
Can AI code Flappy Bird? Watch ChatGPT try
7:26
candlesan
Рет қаралды 9 МЛН
Self-Improving Agents are the future, let’s build one
34:03
David Ondrej
Рет қаралды 66 М.
Build AI Agents with Docker, Here’s How
51:59
David Ondrej
Рет қаралды 45 М.
How I'd Learn AI (If I Had to Start Over)
15:04
Thu Vu data analytics
Рет қаралды 751 М.
WHO LAUGHS LAST LAUGHS BEST 😎 #comedy
00:18
HaHaWhat
Рет қаралды 23 МЛН