How I Made AI Assistants Do My Work For Me: CrewAI

2024 ж. 14 Мам.
652 776 Рет қаралды

In this video about crewai I've decided to show you:
1. how to build your own team of ai agents that debate and think about your business idea from multiple angles
2. how to give your agents access to real world data like google searches and reddit
3. performance of 15 models in total: 13 local models + 2 through api
🤖 Join my Discord community: / discord
📰 My tutorials on Medium: / mayaakim
🐦 My twitter profile: / maya_akim
To rent a GPU from Massed Compute (crewaAI preinstalled) follow the link ⤵️
bit.ly/maya-akim
Code for 50% discount: MayaAkim
Promised links:
My Github CrewAI Repo:
github.com/majacinka/crewai-e...
CrewAI:
github.com/joaomdmoura/crewAI
AI agent landscape (as seen on 2:09):
github.com/e2b-dev/awesome-ai...
Serper Free Signup:
serper.dev
Andrej's video:
• [1hr Talk] Intro to La...
Gemini Free API Key:
makersuite.google.com/app
LangChain Tools:
python.langchain.com/docs/int...
Timecodes:
0:00 - 3:17 what is crewai
3:18 - 8:24 startup example
8:28 - 13:48 internet/reddit example
13:49 - 14:27 gemini pro
14:28 - 14:42 price
14:42 - 19:17 local models
#crewai #aiagents #localmodels

Пікірлер
  • *UPDATE:* Thanks to the viewer @tryingET great suggestion, I managed to improve the prompts and make the output consistent. You can check out the improved version on my github. Thanks for watching and I'm curious, what were your experiences with crewAI like?

    @maya-akim@maya-akim4 ай бұрын
    • Thanks to You I will start this in my home lab :) btw good job, waiting for more content. I see ring on finger, that's mean it's to late?

      @PCMagikHomeLab@PCMagikHomeLab3 ай бұрын
    • Top ASMR experience👌

      @TheGalacticIndian@TheGalacticIndian3 ай бұрын
    • Thanks for this deep dive! The problem with open source templates is that they don't handle function calls, which is necessary for the crew to function. It seems that OpenHermes handles it well, the scripts work as expected, but even gpt3.5 gives better results.. thanks again for sharing

      @christopheboucher127@christopheboucher1273 ай бұрын
    • i have to agree @@TheGalacticIndian

      @amandamate9117@amandamate91173 ай бұрын
    • @@tryingET This was just a great suggestion! I just ran the script couple of times, and you're right, the results are much more consistent. I only changed the part with "(linkToURL)", for some reason it was throwing the agent off. But it works with simple "(link to project)". I'll update the repo, thanks a lot for this help 🙏🏻

      @maya-akim@maya-akim3 ай бұрын
  • crewAI creator here, so cool to see videos like this! I also automated parts of my work with crewAI as well and it's a "a-ha" moment for sure! Great content! keep it up 💪

    @BuildNewThings@BuildNewThings4 ай бұрын
    • Wow I was trying to find your video my guy… someone posted a tutorial with your video and didn’t link you, great videos @BuildNewThings

      @aimademerich@aimademerich3 ай бұрын
    • Great program! Any chance we will be able to use memgpt with it?

      @MrPhilipe711@MrPhilipe7113 ай бұрын
    • is it possible to run them in parallel instead of serial (maybe via threads)? The idea is that there's a manager who of course manages the worker agents (researchers, writers, ...); the worker agents then hand-off their work to analyst agent(s) who determine if more work is to be done, the result is then handed off to the manager, who then hands off to-do work to task creator agents to define what else needs to be done based on metrics from the analyst(s), then brought back to the manager who then assigns tasks to agents based on available workload (agent workload queue would be cool). also, dynamically "spawning" (instantiating) agents based on needs would be cool also, to conserve resources. maybe some features in crewai are missing yet to do that - what do you think?

      @themax2go@themax2go3 ай бұрын
    • Huh wat? The video eventually comes to the conclusion that the results are useless and basically a waste of time. ☹️

      @ArnaudMEURET@ArnaudMEURET3 ай бұрын
    • @@themax2go not at the moment it only does sequential, maybe pair it with autogen

      @aimademerich@aimademerich3 ай бұрын
  • This is by far the most clear explanation I've found on agents, how to use them and how to run them locally. Congrats!

    @ryun_d3v@ryun_d3v3 ай бұрын
  • Literally every LLM video Title: "I automated everything" Video: "Wow no model can understand the task"

    @hidroman1993@hidroman19933 ай бұрын
    • Still a long way to go!

      @Enidehalas@Enidehalas3 ай бұрын
  • I hardly comment on KZhead channels. But this is another level. The way you explain things, organization, referencing, and pace spot on. Great content. Please keep up the great work. Thanks :)

    @sameerasamarasinghe1248@sameerasamarasinghe12482 ай бұрын
  • This was an awesome video Maya. Thank you so very much for the wonderful and very helpful information! 🙏

    @g_software@g_software3 ай бұрын
  • This is incredible. Thank you so much for sharing. Very inspiring!

    @enspan3704@enspan3704Ай бұрын
  • Good Job Maya :) I thought about many ideas while watching your video!

    @hasanaboulhasan@hasanaboulhasan3 ай бұрын
  • I want to thank you for this video! It is one of the most informative videos I have seen. Now that I watched it through I realized you really did your homework. I appreciate it.👏

    @howtomeditateai@howtomeditateai3 ай бұрын
  • One of the best, honest reviews - love this! Thank you!

    @EricSchroeder-cc4hf@EricSchroeder-cc4hfАй бұрын
  • I'm relieved to find someone else who faced challenges while running local models. Your sincere and practical review is appreciated. Unlike many others who simply join the hype train without discussing their struggles, your honesty is refreshing. Thank you.

    @christophera.7547@christophera.75473 ай бұрын
    • Try ollama or gpt4all anyway to run a SOTA model you will need gpu or apple silicon.

      @3wcdev878@3wcdev8783 ай бұрын
    • me too, local models beside being pain in the butt, freezing your whole damn dev environment, then you get a shitty output, i am surprised she did test many models, i would have givenup much faster.

      @hqcart1@hqcart13 ай бұрын
    • Not enough people talk about this. I follow the steps and run into error after error. Versions don't match, missing dependencies, list goes on. Ai development really takes a toll on your life force lmao

      @nevill1947@nevill19473 ай бұрын
    • I only tested one model weeks ago and i got no issue installing it and running it. It’s uncensored and i was curious. Outputs were great. If you have at least 16gb ram on 7B models there’s no way it will crash your PC. Of course it’s slow as fuck, like 1 word per second generation

      @VizDope@VizDope3 ай бұрын
    • @@VizDopeyou assume you have nothing else running dude, how do you develop this way? you need at least 64GB just to feel something!

      @hqcart1@hqcart13 ай бұрын
  • this is so in-depth and really appreciate your hard-work and dedication Maya.

    @vinchitZone@vinchitZone13 күн бұрын
  • Wow. Thank you for such a great video and for sharing these insights. Really good.

    @joshuacunningham7912@joshuacunningham79123 ай бұрын
  • Huge thanks for such detailed, well structured and illustrated information! The best video I’ve watched on AI so far.

    @LiubovIlina-ls7gr@LiubovIlina-ls7gr2 ай бұрын
  • AMAZING video Maja! Thank you so much ❤

    @isidoras.radojkovic2074@isidoras.radojkovic20743 ай бұрын
  • Super work there Maya. You earned a subscriber, and a follow. I built an agent on node with run tools with custom functions over RAG. But this is next level only, will try this next. Thanks again. Keep shining

    @KamleshKumar-yh1lt@KamleshKumar-yh1lt2 ай бұрын
  • Absolutely Stunning Maya, Thanks for sharing these golden information.🤩

    @mortitotti@mortitotti3 ай бұрын
  • Thank you for your clear and lucid explanation about CrewAI !!!

    @gabrieliba@gabrieliba2 ай бұрын
  • Love this. Really transparent and talking about limitations of models..

    @pavangandhi7808@pavangandhi780823 күн бұрын
  • Great video, Maya! Please keep creating more valuable content about agent creation.

    @deepdrops@deepdrops2 ай бұрын
  • This is an incredible guide!!! Thank you so much for making this video

    @jabatheshort660@jabatheshort6603 ай бұрын
  • This is awesome Maya, thank you for sharing.

    @mhdz10@mhdz102 ай бұрын
  • First time i encounter your channel/videos, and immediately got a subscribe from me. I love the clear explanation, straight to the point, no over promising or "Make $3000 dollar a day with these 10 simple bla bla". Thank you for keeping things real and useful. Breath of fresh air!

    @roynijland7386@roynijland73863 ай бұрын
    • Dr CC cfv CC cccc denn cr FFM ggf so XXL ref für du v_''_& cv

      @PGFuto@PGFuto23 сағат бұрын
  • I haved learned few very important things from your video. Thank you for an amazing video 🙏

    @codeplaywatch@codeplaywatch3 ай бұрын
  • Really good foundational information and great content. Thank you!!

    @sfield541@sfield5413 ай бұрын
  • Excellent explainer... Congrats and keep going !!!! Hello from Dominican Republic.

    @mcramirez@mcramirez3 ай бұрын
  • Appreciate the way you've explained difference with analogy of "Thinking, Fast and Slow"

    @rushirajpara6815@rushirajpara68153 ай бұрын
  • Really nice work friend. Nice narrative style and prosody while getting such a structured goal. And definitely awesome to listen discussions on the topics and decision making, this marks the difference. ... For trivial coding there is AI and Internet... for the core reasons and concepts there is us the humans

    @andresroca9736@andresroca97363 ай бұрын
  • Thanks for the info. Didn't even knew about Crew AI.

    @RPBCACUEAIIBH@RPBCACUEAIIBH3 ай бұрын
  • This is awesome! Building a team of AI agents that can access real-world data sounds incredibly powerful.

    @gosuperva@gosupervaКүн бұрын
  • Thanks for testing local AI models, I had a similar experience

    @luigitech3169@luigitech31693 ай бұрын
  • Great content and overview Maya. Thanks for sharing.

    @RouteOneTwoEight@RouteOneTwoEight3 ай бұрын
  • INCREDIBLE CONTENT. You just got a new follower

    @swifttransactions3595@swifttransactions35953 ай бұрын
  • Great work! I'll try it out tomorrow! 👏

    @waleedsalama336@waleedsalama336Ай бұрын
  • Tremendous! incredible research and findings ! THx

    @seanhynes9516@seanhynes951615 күн бұрын
  • I like your setup and vibe keep this good work up

    @csnawwa@csnawwa3 ай бұрын
  • Thank you! This content is so good.

    @davidvc4560@davidvc45604 күн бұрын
  • Wow! Very good video! So much GREAT info - thank you!

    @jorper98@jorper983 ай бұрын
  • Maya, have to say - that was in-depth. Love the detail. Expensive running GPTs with CHAT 4. The output is definitely worth it though. I guess getting your own custom newsletter every day for less than a dollar does save research time. The next step is to get that file data into the actual newsletter now. Cheers for the free resources on Langchain. Just getting into APIs with py and deployment apps. I predict that you will have a great future on KZhead. Keep up the good work.

    @aimattant@aimattant3 ай бұрын
  • This mirrors my experience with local models vs automation. I've come to the conclusion I either need to massively upgrade my hardware or just wait it out for a new breakthrough model. I'm a bit jaded with all the hype that never seems to live up to real-world use.

    @GabrielVeda@GabrielVeda3 ай бұрын
    • totally agree

      @antoineminiconi4943@antoineminiconi49433 ай бұрын
    • Welllllll, yes and no. I've been able to tripple my productivity and I got 100% on two seperate essays using AI to workshop some ideas and build the essay outlines.

      @bunkertons@bunkertons3 ай бұрын
    • We already have "Agency Swarm" in our business so there is no need for CrewAI or Autogen for sure. Try it out.

      @AverFlow@AverFlowАй бұрын
  • Wow, what great research and presentation. Thanks for sharing.

    @barrykruyssen@barrykruyssen3 ай бұрын
  • Damn, you really are DOING THE WORK and then reporting back to us for free, dude ! Thanks so much for such gem. Much appreciated !

    @laStar972chuck@laStar972chuck3 ай бұрын
  • It's very calming to listen to you. Doesn't happen with technical videos a lot. Great vid!

    @AkysChannel@AkysChannel3 ай бұрын
  • Amazing video thanks for the insights.

    @DaviddTech@DaviddTech3 ай бұрын
  • This was probally the most helpful video I have ever watched.

    @joze838@joze8383 ай бұрын
  • That's the most mental use of a boom arm I've seen anywhere. 😆 Commented for creativity, and the engagement boost.

    @PawFromTheBroons@PawFromTheBroons3 ай бұрын
  • Wow, what an intense research on the topic! Thank you for sharing this info with us 🙏

    @alexeycherkashin6251@alexeycherkashin62513 ай бұрын
  • Very good and clear explantion. I rarely comment but when i do its because is worth it. So GPT-4 was the best model for all the tasks.

    @nedyalkokarabadzhakov5405@nedyalkokarabadzhakov54053 ай бұрын
  • Thanks for making this type of content. I like it.

    @jappanmavani3132@jappanmavani31323 ай бұрын
  • Great content, thank you. Subscribed!

    @notclagnew@notclagnew19 күн бұрын
  • This looks lovely I can't wait to take charge of work and make it more productive. Can't wait to binge on the rest of your videos newly subbed.

    @VidhathShetty@VidhathShetty3 ай бұрын
    • And fire loads of redundant employees ?

      @InXLsisDeo@InXLsisDeo3 ай бұрын
  • I have been considering doing this. Thanks Maya.

    @13exousia@13exousia3 ай бұрын
  • Great video! Congrats!

    @andreasklinger4540@andreasklinger45404 ай бұрын
  • Maya, wonderful! I love learning from you. About local models, I bet Nous-2-Pro-7B could do a good job but have yet to try it. Keep up the good work!

    @mysticaltech@mysticaltechАй бұрын
  • As I loved the video, I'm going to create my agents 🕵‍♀; Thank you Maya! 😄

    @MindSetShortsOficial@MindSetShortsOficial2 ай бұрын
  • Great video and LLM review.

    @trainspotting02@trainspotting0213 күн бұрын
  • I just discovered your channel, beautiful concept, all the best insh'Allah

    @LearnAvecAmeen@LearnAvecAmeen3 ай бұрын
  • Great content , keep it up!

    @arnoldocabrera@arnoldocabrera3 ай бұрын
  • Your channel is really good! Eage to see more about te AI content

    @leandromirandafahurmachado2094@leandromirandafahurmachado20943 ай бұрын
  • This is such a great, informative and well crafted video Maya, so glad to see your channel grow so quickly - no worries! It is well deserved … how does Mat Armstrong say?! “HWBT” aka “Hard Work Beats Talent” … and you’ve got BOTH 💯🔥🚀❗️👍

    @phoenixaudas@phoenixaudas3 ай бұрын
  • Great content, thanks!

    @affinnen@affinnen11 күн бұрын
  • I used this same method only through Google apps script and integrated into spreadsheets. Nice work

    @alexatedw@alexatedw3 ай бұрын
    • That sounds interesting. I know Apps script better than Python and I want to work with sheets. Would you share your work, or some of your insights?

      @lausianne@lausianne2 ай бұрын
    • @@lausianne sure. I have a few videos on my channel and if you shoot me an email, I can share the code I used

      @alexatedw@alexatedw2 ай бұрын
  • You explain these things WAY better than anyone else I've watched, thank you!! 👍👍👍

    @JohnnyTwoFingers@JohnnyTwoFingers3 ай бұрын
  • Great presentation. Congrats

    @tassoskaris@tassoskaris8 күн бұрын
  • Amazing content, great work and great style of explaining everything. Thanks for taking your time delivering so nice content on this topic.

    @youngmediageeks@youngmediageeks3 ай бұрын
  • appreciate the effort!

    @bloomflora1105@bloomflora1105Ай бұрын
  • I’m not a coder but want to learn how to build and tinker with these. Thanks for the clear explanations!

    @enjoypolo@enjoypoloАй бұрын
  • great, very useful & interesting. Thanks a lot for your great video

    @robertbutscher6824@robertbutscher682413 күн бұрын
  • Ha never heard anyone mentioning thinking fast and slow anywhere that is a great book

    @AirmanCS@AirmanCS3 ай бұрын
  • You look like a 500k+ suscribers's creator, great job and great video btw

    @horus8296@horus82963 ай бұрын
    • thanks a lot :)

      @maya-akim@maya-akim3 ай бұрын
  • Wow you have a talent for explaining. Thank you

    @test12382@test123822 ай бұрын
  • Actually a great video to start with AI agents, thanks

    @nikhil0360@nikhil036027 күн бұрын
  • Thanks a lot for this video. I like it. It's very useful. :)

    @philippelescan@philippelescan3 ай бұрын
  • Good job on this video. I've used crewAI and Ollama. Always looking to see how other people are using this stuff.

    @chrisBruner@chrisBruner3 ай бұрын
  • This is like a book in one video, thank you so much! Just curious, but how would you compare the latest autogen studio to crew ai? Lots of wonderful ideas here and beautifully presented, thank you so much for publishing this, you are indeed a knowledge sharing master and the world needs more intellectual contributions like this. Thanks again!

    @josgraha@josgraha3 ай бұрын
    • thanks a lot! I'm working on autogen studio video and I'll compare it to crewai

      @maya-akim@maya-akim3 ай бұрын
  • Hey Maya! It was an amazing video! Its growing my interest to work in some stuffs more IA related, one the thing that shine to me is the Agents as a nerd I was thinking how is the effort to create a Copilot agent that would have access in some local project even the github, however, using a Local LLM

    @costathoughts@costathoughts3 ай бұрын
  • Watching from BerylCNC... what's your opinion on using CrewAI or AutoGen versus creating a GPT within OpenAI, and providing instructions that frame out the functionality in a similar way? My development work is mostly related to CNC tool path utilities. LLMs do a poor job of inferring and understanding geometry, so I have to bake in a lot of rules and math. GPTs seem like a cool way to get noticed, but I really need to include libraries and Python code. One of ours is called "Beryl of Widgets", and it helps makers figure out what to make and sell with the tools they have available. It could be so much more with CrewAI, I think, but then I need a way to deploy it. Great content, thank you!

    @jasonkocher3513@jasonkocher35133 ай бұрын
  • Wow! Love it!

    @MrSuntask@MrSuntask4 ай бұрын
  • Great vídeo, thanks!

    @diegofelipe2119@diegofelipe2119Ай бұрын
  • WOW incredible value...your work is enterprise-grade and enterprise-ready ithank you so much for this huge work i'm a software engineer (Java, Unity..) passionate about programming and i love this practical video this is amazing...thanks so much beautiful Maya!!❤ Subscribing!!!!

    @alphablender@alphablenderАй бұрын
  • Phenomenal thank you

    @aimademerich@aimademerich4 ай бұрын
  • Excellent review. New subscriber earned 😊. Would be interesting to see your take on Opengen Studio and compare this with Crew AI.

    @student7261@student72614 ай бұрын
    • crewAI UI is coming 😎👉👉

      @BuildNewThings@BuildNewThings4 ай бұрын
  • Will be learning more about this CrewAI. I have been using ollama to run LLMs on my Raspberry Pi5. I really need more Pi5s to run in parallel.

    @AlwaysCensored-xp1be@AlwaysCensored-xp1be2 ай бұрын
  • Thanks for sharing.

    @jdavidoconnell@jdavidoconnell4 ай бұрын
  • Amazing, great job! I world like to try too!!!

    @isaiassoares8458@isaiassoares84583 ай бұрын
  • It's shocking to me how quickly someone made an AI to do this, as I created my own autonomous agents in python a few months back to do these similar things. One tip I have for people trying to come up with a large & detailed tasks/descriptions is to write it in a .TXT file, and then reference it in your code. That way it keeps the code clean and also easy to modify the descriptions and tasks in the future without changing anything in the code.

    @grimskull416@grimskull4163 ай бұрын
    • Excellent idea! You could even create services to update it from a GUI without touching your code. I'd probably set it up like a traditional JSON config file.

      @123userthatsme@123userthatsme3 ай бұрын
    • How to use .txt from my laptop and feed it as an input to the llm? please guide

      @DAN_1992@DAN_19923 ай бұрын
  • Impressive video. The Reddit scrapper, thinking about changing ollama settings :D I'm sad your system limited your choice of LLM. But now I'm really motivated to try on my system, to test Mixtral.

    @milleniumdawn@milleniumdawn3 ай бұрын
  • Great content!

    @bartekblicharski6067@bartekblicharski60673 ай бұрын
  • dopeeeee video🔥🔥🔥

    @andreisas1621@andreisas16212 ай бұрын
  • That mic stand placement is wild lol

    @alecc.5610@alecc.561028 күн бұрын
  • Excellent video 🎉

    @B0tch0@B0tch03 ай бұрын
  • subscribed for your such a detailed review and your time you took for this video….

    @sharankumar31@sharankumar312 ай бұрын
  • I just started to learn about AI and.. I barely understand whats going on here, but I'm fascinated :). I was thinking about possibility to create this kind of agents/assistants for tasks like searching informations about specific topic online. I will follow you :),

    @ojciecvaader9279@ojciecvaader92793 ай бұрын
  • I watched Matthew Berman’s video on AutoGen, what made you decide to use CrewAI and have you tried/compared it to AutoGen?

    @YoungMoneyInvestments@YoungMoneyInvestments3 ай бұрын
  • Nice video Maya. Do you have an opinion as to which multi-agent platform is behaving more reliably a the moment (Crew AI or Audogen Studio)? Thx

    @DaveThomaeCommerce@DaveThomaeCommerce3 ай бұрын
  • Thank you for the video. At the moment, I am experimenting with Crewai and Autogen (it uses cheaper GPT4 turbo) - these tools are improving every month. In practice, I still achieve better results when I closely collaborate with LMMs - but who knows, in 6-12 months it might be possible to fully automate my workflows.

    @micbab-vg2mu@micbab-vg2mu4 ай бұрын
    • thanks for the feedback! that's interesting, I also can only automate parts of my work that require processing big amount of data. but who know what's going to be possible in 6-12 months!

      @maya-akim@maya-akim3 ай бұрын
    • @micbab-vg2mu Could you share insights into where you create your workflow for optimal results? I'm curious to know if you have any specific advice or insights for optimizing your workflows with LLMs? Any tips you can share would be appreciated!

      @jovanav3@jovanav33 ай бұрын
    • Hello, could you share your thoughts about crewAI vs Autogen? Which one provides better results? Maybe which one is simpler to use? Or which one gives more opportunities?

      @aszmajdzinski@aszmajdzinski3 ай бұрын
    • Adam - obie metody są bardzo prose w użyciu ( nie mam wykształcenia IT i daje radę). Jeśli planujesz open source - rekomenduje CrewAI jeśli GPT4 to Autogen2. Mimo że workflowy nie sa perfekcyjen to wart je znać - )@@aszmajdzinski

      @micbab-vg2mu@micbab-vg2mu3 ай бұрын
  • My understanding is that using a larger quantized model works better. I’m planning on trying it soon on my computer, maybe with autogen. I’ve got a 4090, i9-10900k, and 64Gb RAM, so I’m hoping I can run maybe a 30b quantized model on it. I read that the ~5-bit quantized models are the sweet spot that reduces your memory footprint without any significant loss in quality of responses. 4-bit is still good but takes enough of a hit to matter. Again, haven’t tried it myself, so maybe I’m mistaken, but that’s what I read.

    @DeruwynArchmage@DeruwynArchmage3 ай бұрын
  • Hi Maya! I’m so fascinated by your technical abilities. I barely understand the whole thing, but I’ve always been fascinated by AI and started learning AI tools.I saw on your tiktok that you taught yourself Python. It would be awesome if you can also share your learning process coming from a non-tech background and how’s your progress so far. Thank you :)

    @DigitalBeautyVault@DigitalBeautyVaultАй бұрын
    • Thanks! It's a great idea, I'll definitely make a video about that :)

      @maya-akim@maya-akimАй бұрын
  • It's quite possible that GPT4 is much more adept at understanding the premise of function calling, as it likely has a fine tuned expert in it's MOE to deal with "GPTs", thus making it more capable when dealing with OOTB solutions like CrewAI et al. I'd hazard that until someone fine tunes an OS model with a variety of function calling methods, and tools like CrewAI move on to more dynamic conversation flows rather than just sequential, then we'll begin to see the benefits of offline muilti-agent setups.

    @KCM25NJL@KCM25NJL3 ай бұрын
  • Well made video+!

    @test12382@test123823 ай бұрын
KZhead