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

Поделиться
HTML-код
  • Опубликовано: 25 апр 2024
  • 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.

Комментарии • 48

  • @DavidOndrej
    @DavidOndrej  Месяц назад +1

    🔥 If you're serious about AI, and want to learn how to build Agents, join my community: www.skool.com/new-society

  • @StringerBell
    @StringerBell Месяц назад +13

    For the past year I watched about 300 videos on AI agents (all of your videos + a lot of other RUclipsrs) 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 Месяц назад

      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 Месяц назад +1

      You probably should talk to David honestly

    • @StringerBell
      @StringerBell Месяц назад +5

      @@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 Месяц назад +1

      @@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

  • @VastCNC
    @VastCNC Месяц назад +5

    Glad you’re keeping it local. 💪🏽

  • @NurtureNestTube
    @NurtureNestTube 29 дней назад

    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..

  • @davisoares454
    @davisoares454 Месяц назад

    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 Месяц назад

    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!

  • @EsotericAI
    @EsotericAI Месяц назад +1

    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 25 дней назад +1

      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?

    • @EsotericAI
      @EsotericAI 25 дней назад

      @@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.

  • @nicholasdelnegro6936
    @nicholasdelnegro6936 27 дней назад

    Love the glasses amazing insight

  • @milque1854
    @milque1854 29 дней назад

    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!!

  • @malamstafakhoshnaw6992
    @malamstafakhoshnaw6992 Месяц назад +1

    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 🤟🏻

  • @seandiamond7983
    @seandiamond7983 Месяц назад

    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!!

  • @WatchMeGPT
    @WatchMeGPT Месяц назад

    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.

  • @karanborana8540
    @karanborana8540 Месяц назад +1

    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

  • @McWhirterGaming
    @McWhirterGaming Месяц назад

    Very awesome!

  • @codewithtj
    @codewithtj 26 дней назад

    If the agent is giving wrong response how do we train it ? any help

  • @SonGoku-pc7jl
    @SonGoku-pc7jl 12 дней назад

    thanks

  • @mrsotona
    @mrsotona 7 дней назад

    So i still can't do anything with my 8gb ram card ? Not rly free if you need spaceship pc to run llama

  • @theaigrind
    @theaigrind Месяц назад

    For some reason I could not get the code to run calling for an "No module named 'ollama'" Even after installing ollama.

  • @SonoftheLivingGod7
    @SonoftheLivingGod7 24 дня назад

    can you make this agent surf the web without api?

  • @Jakemottola
    @Jakemottola Месяц назад +1

    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.

  • @VictorSilva-hv7jg
    @VictorSilva-hv7jg 22 дня назад

    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 RUclips 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?"

  • @mehdiberber8395
    @mehdiberber8395 Месяц назад

    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)

  • @mohamedkeddache4202
    @mohamedkeddache4202 Месяц назад

    what is an agent?
    it's just an llm ?

  • @agugi
    @agugi 8 дней назад

    nothing in this video is working. Could anyone succeed after following instructions step by step in this video?

  • @nayetcuba
    @nayetcuba Месяц назад +2

    glad u r on PC. iOS is meh

    • @primalplasma
      @primalplasma Месяц назад +3

      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.

  • @qbitsday3438
    @qbitsday3438 Месяц назад

    how do you write the response to a file !

    • @mohamedkeddache4202
      @mohamedkeddache4202 Месяц назад +1

      ask chat gpt, he knows basic stuff like how to write a text variable into a text file

  • @MovieClips14359
    @MovieClips14359 Месяц назад

    Create ai agent build for seo purpose

  • @nobody-er6ys
    @nobody-er6ys Месяц назад

    Make a video on how to earn money?