Build Anything with Local Agents, Here’s How

Поділитися
Вставка
  • Опубліковано 9 чер 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.
    Credits: @matthew_berman
    This video will show you how to build Agents using open-source models.

КОМЕНТАРІ • 80

  • @DavidOndrej
    @DavidOndrej  2 місяці тому +5

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

    • @PeterPan-hs5tu
      @PeterPan-hs5tu Місяць тому

      Hi David, thank you for making the demo right off the bet. as much as i want to follow along with your tutorial, seems like this is not the entire operation of algorithm right? I am having trouble locate the model after downloading the crewai but the code demo in your vid simply could not locate the model. (i am new to this)

    • @PeterPan-hs5tu
      @PeterPan-hs5tu Місяць тому

      Hey Dave, thanks for the tutorial, i think i finally figured it out. it was my env not setup in the right folder that causes the issue. i think my M2 macbook is too slow for the model. each prompt takes more than a couple hrs to execute haha

  • @smokeylowkey5575
    @smokeylowkey5575 Місяць тому +6

    Great video! suggestion: utilize the "word wrap" functionality in vscode located under view tab or "alt+z", so that there is no need to scroll for long lines of code. cheers!

  • @johnnyutah8374
    @johnnyutah8374 Місяць тому

    Great content. Keep it up

  • @ABANDONTHEFLESH
    @ABANDONTHEFLESH Місяць тому

    just a thought, its very easy to /save checkpoints of the same model in ollama with custom prompts and context, passing those checkpoints through distinct agents could help finetune without training

  • @1JO_M
    @1JO_M Місяць тому +1

    how about publishing an exact procedural map on what to do as some of us are a tad confused.

  • @PeterPan-hs5tu
    @PeterPan-hs5tu Місяць тому +2

    is there a reason why sometimes the vid gets cut off when david is reading out a command. i would be typing along the vid and the vid just skip to the next step...

  • @RobynLeSueur
    @RobynLeSueur Місяць тому +2

    This is extremely useful, thank you!

  • @StringerBell
    @StringerBell 2 місяці тому +6

    Damn it would be amazing if this had a nice UI. The first company that implements some eye candy , easy to understand and work UI will skyrocket instantly in this space.
    I'm pretty tech savvy and I have no issues installing and running this, but I'm too spoiled to watch a wall of text every time when I use it.

    • @roccovergoglini7670
      @roccovergoglini7670 2 місяці тому +4

      Totally agree with you. It badly needs someone to create a GUI that my mom could use. That would be worth a ton of money.

    • @StringerBell
      @StringerBell 2 місяці тому

      @@roccovergoglini7670 Yep, Steve Jobs was one of the biggest geniuses in the world not because it had great engineering mind, but because it was able to see things through the eyes of the everyday layman and how to put complex technology in use for the everyday user.
      Right now these agents are limited to only more engineered minded people like us. Until there is a nice, sexy GUI that most of the people can use, we won't see big adoption and use-case breakthroughs.
      One of the biggest reason Stable Diffusion gain traction is because tons of easy to use GUI popped up (from A1111 to Fooocus)
      Until then, agents will be a niche buzzword.

    • @slddive9025
      @slddive9025 Місяць тому +2

      Yep, this is like being back in the day using DOS. We need someone to invent Windows for this stuff. It's ridiculous that it takes programmers so long to figure out that it's not about them.

    • @roccovergoglini7670
      @roccovergoglini7670 Місяць тому

      @@slddive9025 You nailed the analogy to Windows. That's when the breakthrough might come. But I suppose this is all still in its infancy.

    • @thiagofelizola
      @thiagofelizola Місяць тому

      @@roccovergoglini7670 100% agree

  • @fmredux
    @fmredux 2 місяці тому

    What is the difference with this type of agent and a GPT from OpenAI? I see the advantage of choose different LLMs. But the ease of config a GPT through a GUI..

  • @user-yi4sh4fd2v
    @user-yi4sh4fd2v 2 місяці тому +1

    how to give my agent google serper access so that it can search through internet .Please help

  • @Nairb932
    @Nairb932 2 місяці тому +3

    LLMs ran locally use RAM? I though it used VRAM or is that just for training?
    Are there any other PC requirements needed to get the biggest LLM model to run well locally?

    • @austinpatrick1871
      @austinpatrick1871 2 місяці тому +1

      Yes you can run LLMs with ram. Generally you’d choose the “quantized” version of the LLM you want to run. Also regarding compute requirements, you still need a lot. I have an 8 core i9 and 40gb ram. With that I can get by with running quantized 13 billion parameter models.

    • @Nairb932
      @Nairb932 2 місяці тому

      @@austinpatrick1871 Hmmm I have a i7-11700KF, I was hoping I could just buy more RAM and get it to 256GB or something but from the sounds of it there will be other bottlenecks

  • @anmolmalhotra4349
    @anmolmalhotra4349 Місяць тому

    Hey, do you have an idea of how we could integrate Vision models such as 'gpt-4-vision-preview' or 'gpt-turbo' with crewAi agents to analyze images>

  • @FunDumb
    @FunDumb 2 місяці тому +1

    That's what I want.

  • @Koaki913
    @Koaki913 16 днів тому

    How do I go about adding these agents to an existing ollama instance running in docker? I have been using Anything LLM that has pre-built Agents but have no idea how to add my own for it to use

  • @sum1likeno1
    @sum1likeno1 Місяць тому +1

    how do i give this access to the internet
    ?

  • @user-ru1qz1bo2q
    @user-ru1qz1bo2q 2 місяці тому +6

    Don't use a 50b model then tell us we can do this with a 1b model. Small models suck for agents. I'm still trying to get a 7b model to work and I've had no luck with crewai, langchain, autogen, etc. I'm having to build my own from scratch.

    • @tintintvkahaniya
      @tintintvkahaniya 2 місяці тому +1

      Im using lama7b, on my pentium dual core, 16gm ram desktop, it works well actually, only it responds very late, around 20min-40min

    • @b.d.y.k.1081
      @b.d.y.k.1081 Місяць тому +2

      Welll that sounds like, what’s the point

    • @drlordbasil
      @drlordbasil Місяць тому

      @@b.d.y.k.1081 main reason I prefer groq for all. It's still free lol

  • @texasjbird4528
    @texasjbird4528 Місяць тому

    Does the lama need to include the 3?

  • @dbonneville
    @dbonneville Місяць тому

    You chose mixtral but that was 47B parameters. I thought you said you were on a mac and that that wouldn't work?

  • @Ravenofnorth
    @Ravenofnorth Місяць тому +1

    Maybe it would hav been helpful to clearly state on the minunum system requirements

  • @urbagriculture
    @urbagriculture 2 місяці тому +3

    My main problem using CrewAI with local models is that they have a very hard time using tools. What model do you recommend for tools / function calling?

    • @user-ru1qz1bo2q
      @user-ru1qz1bo2q 2 місяці тому

      From my experience, making local models behave requires creating custom prompts, which is tough when using pre-made agent frameworks like crewai and autogen. if you can find and modify the prompts they're using you'll have a chance. My strategy is to build my own agents so I have control over their inner workings.

  • @williamweatherspoon4527
    @williamweatherspoon4527 2 місяці тому +1

    What type of Mac Book would you suggest I get to run everything locally? What memory requirements as well?

    • @qAidleX
      @qAidleX 2 місяці тому +3

      They don't make one. Chip technology jump is crazy, save for 9 more months, the m4s are going to be a huge leap

    • @dudufada
      @dudufada 2 місяці тому +1

      I have a M2 chip 2022 mac air and it can’t run Ollama fast enough to be useful

    • @joacosolbes9283
      @joacosolbes9283 2 місяці тому

      @@qAidleX great insight

    • @DavidOndrej
      @DavidOndrej  2 місяці тому +5

      If you're gonna buy a Macbook go with an M3 - they have integrated Neural Engines shared between the CPU and the GPU, which are made exactly for tasks like running AI inference
      Choose an option with at least 32GB of RAM, ideally 64

    • @williamweatherspoon4527
      @williamweatherspoon4527 2 місяці тому

      @@DavidOndrej thanks Dave. I signed today for your class too.

  • @lobiqpidol818
    @lobiqpidol818 2 місяці тому +1

    Will agents still make sense as a business opportunity in a few months when Google and Microsoft start building their own agents that are integrated directly into the OS?

    • @darklen14
      @darklen14 2 місяці тому

      Nope and Microsoft already has an OS with agents

    • @maxwiili
      @maxwiili 2 місяці тому

      Yes,they will.But I foresee them being more profitable if you are selling a B2B product focusing on specific domain problems.

  • @DudeDude205
    @DudeDude205 2 місяці тому

    Did you checkout Pearsonai? It's crewai and autogen combined

    • @amw4029
      @amw4029 Місяць тому

      Link? All I see is the edu company

  • @magwwad
    @magwwad 2 місяці тому +1

    My laptop core i3 , since 2010 . Poor one , what is the minimum hardware needed to set up all these apps and llms ?

    • @CookiesDarkMatter
      @CookiesDarkMatter 2 місяці тому

      afaik, min $2k with proper AI GPU

    • @lightweightbaby99
      @lightweightbaby99 2 місяці тому

      As a rule of thumb: all models smaller than 7B could fit into about 8GB RAM, so if you're Laptop has 16GB of Ram you should be able to use 'ollama run llama2:7b' for example

  • @SAVONASOTTERRANEASEGRETA
    @SAVONASOTTERRANEASEGRETA 2 місяці тому +6

    It could have been an interesting video. But all those windows, opening and closing and all this rush to explain... After 5 minutes I gave up

  • @jedschmed
    @jedschmed 2 місяці тому +1

    I’m going to take you up on your AI agent building offer I just dove in the intro to Python via harvards cs50 (excellent and free) so my head is jammed for the next several weeks but this is where it’s at there is no question I want to be fully versed I am very clever and will use it to great affect
    Big fan of you and your show.

  •  2 місяці тому

    Thanks. Your thoughts on Mind Studio?

  • @seitenaufintelligenz3790
    @seitenaufintelligenz3790 Місяць тому

    pip install crewai doesnt work. it says command not found:pip does anyone know what im supposed to do?

    • @Ravenofnorth
      @Ravenofnorth Місяць тому

      You don't have pip .. or you are not working in the python directory find where python is installed and open cmd there and use pip

  • @cloudsystem3740
    @cloudsystem3740 Місяць тому +1

    source code ?

  • @randomdudefpv4927
    @randomdudefpv4927 Місяць тому

    and now we have llama3

  • @stonedoubt
    @stonedoubt 2 місяці тому

    Pydantic is telling me that crewai Agent doesn't have an argument "model" but it does have "llm"

    • @toyvo
      @toyvo 2 місяці тому +1

      If you actuality watch the video instead of commenting at the first hiccup you would've learned that

    • @stonedoubt
      @stonedoubt 2 місяці тому

      @@toyvo Thank you for pointing out my flaws, Comment Jesus. You have swooped in to save me from my sins and I thank you from the bottom of my heart… but alas, I have fallen.

    • @revelari5250
      @revelari5250 Місяць тому +1

      @@stonedoubtwhat other sins? homosexuality?

  • @zeppelin0110
    @zeppelin0110 Місяць тому

    Very cool tutorial. I got to the end and I think this may be the downfall of my laptop. i7 with 8 cores (and HT), 32Gb of memory and NVidia 3500 RTX GPU just aren't good enough.

  • @mrwhosetheuneek
    @mrwhosetheuneek 2 місяці тому +7

    I LIKED MY COMMENT 😂😅

  • @mallow610
    @mallow610 Місяць тому

    Brb downloading some RAM for my 8 GB MacBook

  • @opusdei1151
    @opusdei1151 2 місяці тому +3

    What kind of machine are you using xD are you rich?

    • @Noqtis
      @Noqtis Місяць тому

      ram isn't that expansive, bro.

    • @opusdei1151
      @opusdei1151 Місяць тому

      @@Noqtis Im not uptodate on hardware stuff. But Im also prefer notebooks/laptops

  • @phen-themoogle7651
    @phen-themoogle7651 2 місяці тому

    Build anything with Agents?
    Can you build a 2D platformer game with 150 different levels, animations for all sprites, great level design, amazing player controller script for top-tier platformer, several types of menus (beautiful UI), beautiful consistent art, fitting music for the game, bug-free, high-performing popular game, compatible with many game engines, with agents?
    If you can have Agents do Game Dev professionally then you'll have my attention.

  • @gregkendall3559
    @gregkendall3559 Місяць тому

    You guys have heard of the UA-cam pause video function, right?????? 🤔🤔🤔

    • @wardellcastles
      @wardellcastles Місяць тому +2

      You can even slow down the audio!!!!!! 🙂

  • @guitar_investment_money
    @guitar_investment_money Місяць тому

    56 gb???

  • @moroccanguy1957
    @moroccanguy1957 2 місяці тому

    But is crew ai free ?

  • @santumos
    @santumos 2 місяці тому

    I recognize this is good content. I’m still just too dumb to follow it

  • @stonedoubt
    @stonedoubt 2 місяці тому

    How the hell do you have a Mac either 128gb ram??? 😮😅😅

    • @DavidOndrej
      @DavidOndrej  2 місяці тому +1

      I bought it

    • @CookiesDarkMatter
      @CookiesDarkMatter 2 місяці тому

      would be cheaper to rent than own tbh.

    • @stonedoubt
      @stonedoubt 2 місяці тому

      @@DavidOndrej You must really love Apple 😂😂😂 I built my Linux machine with an RTX 3090 and 128gb ram for under half of that.

  • @slddive9025
    @slddive9025 Місяць тому +2

    Another good video that turns out to be useless for the majority of people (non coders). Thanks for the effort but you lose us in the first minutes. I wish content creators would think about this step-by-step to make sure they get the right answer.

  • @Pregidth
    @Pregidth 2 місяці тому +12

    Sorry David. Don't tell that you teach, when you are running through this like a gepard, where no one can follow. Feels like you are fishing for joining your training. Also posing with good results by using a huge model doesn't make it easier for people running on low end computers. Make it more accesible ;)

    • @jimlynch9390
      @jimlynch9390 Місяць тому +5

      I think he's really trying to sell his "community" support. At $77 a month, it's not going to appeal to many people. I have lots better ways of spending my hard earned cash.

    • @sophiedelavelle5958
      @sophiedelavelle5958 Місяць тому +1

      I beg to differ I enjoyed the fact that for once it was fast. Nowadays you have a lot of tutorial not going deep enough because of starting from scratch or some too detailed