Let's Build: Automate ANYTHING With AI Agent Teams (Step-by-Step)

Ғылым және технология

Let's build an AI agent team using CrewAI for multiple real-world use cases. In part 1, we'll set up the framework for taking in a list of URLs, having our agents scrape the websites for content, and then summarizing that content. This is something I need for my newsletter. In part 2, we'll expand on that use case to make our code more robust and production-ready.
Enjoy :)
Code: github.com/mberman84/crewai_yt
Cloud IDE, Fine-tuning, Inference, Data Management and more!
Try Lightning AI Studio FREE Today: bit.ly/3uBiWO9
Join My Newsletter for Regular AI Updates 👇🏼
www.matthewberman.com/
Need AI Consulting? ✅
forwardfuture.ai/
Rent a GPU (MassedCompute) 🚀
bit.ly/matthew-berman-youtube
USE CODE "MatthewBerman" for 50% discount
My Links 🔗
👉🏻 Subscribe: / @matthew_berman
👉🏻 Twitter: / matthewberman
👉🏻 Discord: / discord
👉🏻 Patreon: / matthewberman
Media/Sponsorship Inquiries 📈
bit.ly/44TC45V
Disclosures
I'm an investor in CrewAI

Пікірлер: 298

  • @matthew_berman
    @matthew_berman5 ай бұрын

    Do you like this format of video? What other use-cases should I cover?

  • @og_23yg54

    @og_23yg54

    5 ай бұрын

    Yes we like it

  • @keithhanson9441

    @keithhanson9441

    5 ай бұрын

    Love this, Matthew :) Have you ever looked into docker for this work? I use it constantly and it helps me deploy local models + agent code to end user laptops (and servers ofc, but most of my work is HIPPA and privacy focused) 😊 If you ever want a deep dive for your content, happy to show you the ropes! The tldr is to simply use a python docker container and bake your agent in there, and then using docker compose you can combine ollama container with GPU access + agent container. Makes it almost magically no config for the end user

  • @BharatGuru007

    @BharatGuru007

    5 ай бұрын

    While, what you have been doing creates bu!z and excitement, I truly believe we need to certainly classify, basic, intermediate level learning stuff somehow. In basics, one must only discuss fundamentals and intermediate to provide a demo. And I understand it takes blood to create such hour long videos. But you are so ahead in the curve, you are best fit for the job. Guide and be the light! 🙏🙏🙏🙏

  • @konstantino_vichi

    @konstantino_vichi

    5 ай бұрын

    Bro keep this going; recently found myself thinking that from all the channels on the topic I trust your message the Most. Feels true & Authentic. Regarding the format, Absolutely longer video is nice Separates you from other News reporters. In fact, I just watched the first 1:27 minutes, stopped. Gotta do the due Dilligence and follow through tomorrow with better circumstances. Really wanna have the together coding experience without spoilers. Sincere gratitude to you for the great work, Matthew Peace to AIl Ivan

  • @AdrianC2006Uk

    @AdrianC2006Uk

    5 ай бұрын

    Love the format. I was building out research agents recently using langchain. It's an incredible set of tools. Tooling is definitelt where the fun is at. Gorrila will take human input and spit out API calls.

  • @BharatGuru007
    @BharatGuru0075 ай бұрын

    The question is where to invest time? At the pace things getting bombarded in AI space, sometimes i feel, wait and let it mature but at the same time i have FOMO, Who else feels the same?

  • @aimademerich

    @aimademerich

    5 ай бұрын

    Invest time in your biggest pain points, at least with every new development, it can be applied to your biggest use case.

  • @keithhanson9441

    @keithhanson9441

    5 ай бұрын

    I feel this. Definitely had a tool the boss had me build become obsolete over night. But! I still think it was valuable to do. Lots of techniques I learned along the way and getting comfortable with these "squishy" ways to get what you want is very valuable and transferrable.

  • @inplainview1

    @inplainview1

    5 ай бұрын

    Yes.

  • @BharatGuru007

    @BharatGuru007

    5 ай бұрын

    @aimademerich my friend in my 40s where I have achieved financial independence, actually there are no pain points, I just love to keep myself hands-on on latest technologies. But I have not seen anything like this.. There is hardly any structure visible atleast from learning perspective.

  • @BharatGuru007

    @BharatGuru007

    5 ай бұрын

    @@keithhanson9441 Seems like get your things done is the mantra :-).

  • @jmvillwock
    @jmvillwock5 ай бұрын

    Love this format - You took us all step by step including "mistakes" YAY. This is how we all learn. The mistakes not edited out makes it real and approachable. Thank You for being so helpful!

  • @acumennations9120

    @acumennations9120

    5 ай бұрын

    Ah ya!! 👊😎

  • @miltonassis7939
    @miltonassis79395 ай бұрын

    Hello Matthew. I'm Brazilian, I live in the interior of the state of Paraná, I'm amazed by your content. Here in Brazil, particularly me, there are few people talking and explaining about the creation of AI agents by CrewAI. In fact, only a select group of enthusiasts, followers of Alan Nicolas, have the knowledge to explain this topic. But they themselves are in search of knowledge. However, it is paid content. And not everyone has access to the basics. I would like to express my gratitude for your innovative initiative. I don't know anything about English, but I'm trying my best here to learn. I use AI and Google translate, it takes time, but I think it's worth it. Please continue to make this content available, your teaching is excellent. If possible, teach me the basics and fundamentals, with your videos. Gratitude

  • @VVMaestri

    @VVMaestri

    5 ай бұрын

    Amigão... sou do Paraná também, entusiasta da AI, se tiver algum grupo ou algo do genero, me informe, detalhe que acho interessante é que o desenvolvedor do CrewAI aparentemente é Brasileiro....

  • @joneslemos

    @joneslemos

    4 ай бұрын

    olha os BR, sou do RS

  • @VVMaestri

    @VVMaestri

    4 ай бұрын

    vamos criar um grupo ou algo do genero para trocar conhecimento... @@joneslemos

  • @fredyschaible5536

    @fredyschaible5536

    4 ай бұрын

    Olá Milton, sou de Curitiba, se quiser trocar idéias, bora se conectar!!!

  • @dominandoomercadodeservico1922

    @dominandoomercadodeservico1922

    4 ай бұрын

    Brasil!!! kkk Bora aprender!

  • @keithhanson9441
    @keithhanson94415 ай бұрын

    Just want to share that Iove that you not only cover the news but you actually show us the practitioner side. I share your videos with non-tech fam and they really appreciate your breakdowns, and you save me a lot of words 😂 This is awesome content!

  • @southVpaw
    @southVpaw4 ай бұрын

    This is the best example of how development is done in the age of AI I've found on YT. I like that you said you are not entirely confident in your Python skills because I'm sure a lot of us can relate; AI brought in a lot of new coders (like myself), and we're all crash coursing our way to DIY AGI. What's more important than the final code was your chain of thought through problem solving. While most of us won't be able to FaceTime the founders of tools we're using 😜 you went to ChatGPT for the scraper. I love this format, I love the thought process, I'm always stoked to see a new video. Live editing is a great idea! I know you like to be all together, but it would be fun and useful to debug with you

  • @MrBadGenius
    @MrBadGenius5 ай бұрын

    It’s literally GOLD. I’ve been thinking a whole day how to build it with langchain, exactly the same use case. I want to automate newsletters. Initially I created it with notion, zapier and chatGPT, but want first code approach. It’s the sign . Awesome stuff

  • @RikHeijmen
    @RikHeijmen5 ай бұрын

    Man, I applaud you for this. The vulnerability is real. And it makes me much less anxious of diving deeper into code. Especially with lightning, the hassle of an environment setup and some stuff that just not works on my local Mac, is not importatnt anymore. Great stuff!

  • @TF-qt3jh
    @TF-qt3jh5 ай бұрын

    ❤I can’t thank you enough for this format as well as the high-value content of all of your past videos. 🎉 As you already know, this format benefits three parties: developers can learn new stuff as you deep deeper with your tech expertise, non- tech entrepreneurs can catch up with new tech trend with even some understanding, so you will not only attract existing audience but also people who wouldn’t take a lot of time on your channel otherwise. Sorry for the obvious! 😅

  • @pioggiadifuoco7522
    @pioggiadifuoco75225 ай бұрын

    This is my absolute favorite format!! Definitely the right direction for a channel like yours.

  • @zoomlistings
    @zoomlistings5 ай бұрын

    There is no better form than showing all the trials and mistakes of trying to make something work. Because if you edit out all the mistakes... no one really learns anything unless it goes perfectly. Kudos.

  • @user-jg4ci4mf8w
    @user-jg4ci4mf8w5 ай бұрын

    I absolute love this video. These types of videos will double your subscribers by the summer, if not more. I promise you.

  • @aimademerich
    @aimademerich5 ай бұрын

    You are phenomenal for this one!!! Thank you!! That IDE inclusion with this tut is everything

  • @kate-pt2ny
    @kate-pt2ny5 ай бұрын

    Thanks to Matt for showing all the processes. It took me almost an hour to finish it. Newbies to Python can see a lot of themselves in it. Matt said that he has learned Python for less than a year. According to Matt's video production rhythm, you should be very busy. Yes, thank you for sharing. Video production is not easy. Thank you for giving us many excellent tutorials.

  • @lucdeflem6361
    @lucdeflem63615 ай бұрын

    Matthew, thanks a lot for this extensive demo. Seeing what can go wrong and seeing how you solve the problems was absolutely inspiring. Thanks!!!

  • @jandzchaudhary4936
    @jandzchaudhary49363 ай бұрын

    Hi Matt, really enjoyed your video. I liked the trial and error approach presented raw. These activities are iterative by nature, and you doing it interactively makes it so much more real than just dumping a neatly finished project. Your steps show case the effort that is needed to make these go especially for folks who understand coding in general without necessarily being experts in a specific language. Thank you for your effort and I would love to see more live coding videos.

  • @hectorprx
    @hectorprx5 ай бұрын

    Thank you for the clarity. All the best.

  • @JohnLewis-old
    @JohnLewis-old5 ай бұрын

    I love this format. Could you put chapters in so it's easier to jump to the parts I'm actually using and skipping over stuff I already know? Thanks again! Great work.

  • @frimis
    @frimis5 ай бұрын

    Great video format. Loved the real life tone. Sometimes we think we need to be super proficient to build our ideas into something real but videos like this show us that’s not always the case. Make more please!

  • @lucindalinde4198
    @lucindalinde41983 ай бұрын

    Love that this project is being built real time. It's so helpful to see how other people work through all the stumbling blocks Please do more videos like this one!

  • @IdPreferNot1
    @IdPreferNot15 ай бұрын

    "Bill.... i've got a problem getting my windows to update..." Great video.... this format is SO MUCH APPRECIATED as the errors you get highlight the things we all come across trying to actually create our own projects. Your troubleshooting is what we really need as examples.... not 'now pip install, blah blah' that most creators videos are. Thank you for trying this style out and please consider doing more of them, even if its just your version of trying to duplicate some new tech Repo's example project.

  • @protovici1476
    @protovici14765 ай бұрын

    YES! Love everything about this especially using Lightning AI and developing a solution from end to end that actually solves real problems.

  • @user-ny7ng1yi9t
    @user-ny7ng1yi9t5 ай бұрын

    You are a very good teacher. That's the way coding works.

  • @stevenfullman5646
    @stevenfullman56464 ай бұрын

    Hey Matthew, this is THE format. Like my maths teacher always said: you always get more credit when you show your “working out”…because it demonstrates how you reached your answer.

  • @kemalmus
    @kemalmus5 ай бұрын

    I like sooooo much, that you share all your debugging as well. It resonates as I have almost zero Python experience (much less than yourself) and stumbling upon such issues all the time. Interestingly, at first it was irritating, now I do not mind. Part of the process. Being able to create something and see it eventually works is greatly satisfying.

  • @kevinneely9801
    @kevinneely98015 ай бұрын

    I really liked the video. It's fun to work through the problem with you and even pause and see if we come up with the same solution. I would like to see more of these from time to time, as the insight into your throught process is helpful (and reinforcing when it maps to soemthing I've also thought about). Separately, for this problem specifically, I think setting up a personal instnace of browserless may make a lot of sense for the scrapting, especially since many of the early CrewAI scripts reference Browserless as a tool.

  • @joxxen
    @joxxen5 ай бұрын

    Im very happy you made this video, I like to see how other people learn by doing and struggle on the way. 😊

  • @Tight5Digital
    @Tight5Digital4 ай бұрын

    Came across your channel as I was searching AI Agents, very awesome stuff!!! I greatly appreciate your time with this! Thank you!

  • @Shaq-pe9ut
    @Shaq-pe9ut3 ай бұрын

    Great video format Matthew, thank you for being open and sharing the steps.

  • @ScottMaxwell_UK
    @ScottMaxwell_UK5 ай бұрын

    This is an awesome format - warts and all! Really appreciate it. Feels like pair programming. Saved me a bunch of time.

  • @matthewbond375
    @matthewbond3754 ай бұрын

    Great vid! As a brand new python n00b, it's inspiring to see somebody more experienced than me troubleshooting through new code they're writing. I really appreciate everything you're showing us. Thank you!

  • @YuryGurevich
    @YuryGurevich5 ай бұрын

    this format is great. please keep them coming if/when you have time. thanks

  • @ill8888
    @ill88883 ай бұрын

    This is totally learning by doing and it's the absolute best way to learn! The way you show us your debugging process and how to solve every problem you encounter that is so incredibly valueble.. Please keep making this type of content

  • @shotelco
    @shotelco5 ай бұрын

    The coding format, with all the re-works is awesome!

  • @avg_ape
    @avg_ape5 ай бұрын

    Hi - This is an excellent video! Thank you for taking us step by step from "Zero". Great production & format effort. Please do more!

  • @Christopher_Tron
    @Christopher_Tron5 ай бұрын

    Thank you for this content! I’m really excited to dive into this

  • @inplainview1
    @inplainview15 ай бұрын

    This format is great. Sure you wouldn't want every video to be a long form tutorial but this is really helpful and is great when interspersed with your informative and, ahem, "shocking" ai news content. 😉

  • @user-en6ot9ju7f
    @user-en6ot9ju7f5 ай бұрын

    Death Vader here. I've been with you a minute. I haven't watched this yet but it's in my schedule. You are my freaking hero.

  • @NakedSageAstrology
    @NakedSageAstrology5 ай бұрын

    Your channel is an absolute blessing for this world! Legendary.

  • @souravbarua3991
    @souravbarua39915 ай бұрын

    Thank you for this tutorial video. From this I came to know about different types of crewai inbuilt tools which will be helpful to make different projects. In other's videos they are using different apis for this tools.

  • @alewar01
    @alewar015 ай бұрын

    Matt, again, thank you for all of this!

  • @MeinDeutschkurs
    @MeinDeutschkurs5 ай бұрын

    It is well doing, seeing another one, playing around. This is motivating.

  • @cristianandrei5462
    @cristianandrei54624 ай бұрын

    You are great man, you gave me confidence, I've always taught that I lack to much in my python skills but seeing you struggling with it to and still making it work gave me confidence!

  • @shuntera
    @shuntera5 ай бұрын

    Yes, I like this. Going through exactly the same kind of thing we are all doing right now.

  • @AaronGayah-dr8lu
    @AaronGayah-dr8lu2 ай бұрын

    It really helps to see you struggle a bit in there to get it all working for those of us learning here.

  • @davidrose9577
    @davidrose95775 ай бұрын

    I like this how to video. It's nice to text new as i releases but building is far more interesting then simply texting the limits of new ai releases. Love your stuff in general. Thank you for sharing your knowledge and expertise.

  • @adtiamzon3663
    @adtiamzon36635 ай бұрын

    🤫 Good one. Matt, thank you for showing how AI works. Keep going. 🌹👏👏

  • @tancheeken
    @tancheeken4 ай бұрын

    Best video ever! Beats all the videos that shows perfect codes hands down.

  • @ophelia6207
    @ophelia62073 ай бұрын

    Thanks so much, this was exactly what I was looking for!

  • @kenchang3456
    @kenchang34564 ай бұрын

    Yes, I like the live build format, thanks for presenting it.

  • @knuckleheadmcspazatron4939
    @knuckleheadmcspazatron49395 ай бұрын

    Yes, a live coding session would be awesome. This would be so useful in a system upgrade / outage and not just development

  • @roddlez
    @roddlez5 ай бұрын

    Really liked this long-form tutorial/Let's Build

  • @EliudLamboy
    @EliudLamboy4 ай бұрын

    I really appreciate this video. Thank you Sir!

  • @og_23yg54
    @og_23yg545 ай бұрын

    Good video we like it keep it up upload videos like this man lit 🔥

  • @LinktheworldsLondon
    @LinktheworldsLondon5 ай бұрын

    your videos are awesome Matt :=)

  • @mfayed19
    @mfayed195 ай бұрын

    Incredibly good video, I like it. Thank you.

  • @OMGitsProvidence
    @OMGitsProvidence5 ай бұрын

    just saw this drop! looking forward to this one, always was frustrated when your demos just set things up when I ran into issues afterward. I was following your superagi tutorial but it doesnt work right now cause the repository isnt being updated, so I had to manually merge the bug fixes then deploy and its working now

  • @eddieb8615
    @eddieb861522 күн бұрын

    You have the best content!

  • @MeinDeutschkurs
    @MeinDeutschkurs5 ай бұрын

    Great video! Awesome!🎉🎉🎉

  • @marwanabas5524
    @marwanabas55243 ай бұрын

    You are doing great job you update us with AI I hope you get 1 million subscribers very soon 🌹

  • @maalonszuman491
    @maalonszuman4915 ай бұрын

    Great video !!!! really helpfull

  • @andreas_tech
    @andreas_tech5 ай бұрын

    Great stuff!

  • @frankdearr2772
    @frankdearr27724 ай бұрын

    great topic, thanks 👍

  • @michaelghurston
    @michaelghurston5 ай бұрын

    Great stuff. Would love to see an example of using Autogen to correlate or extract subsets of data from CSVs, such as GA Reports and Search Console Reports.

  • @iandanforth
    @iandanforth5 ай бұрын

    There is nothing braver than live-coding with a new library. Mad props.

  • @BradleyKieser
    @BradleyKieser5 ай бұрын

    Very helpful and interesting.

  • @ripstar2
    @ripstar25 ай бұрын

    Awesome video - let’s go deeper

  • @YG-jn8st
    @YG-jn8st5 ай бұрын

    Great video, but FYI: "RC" in a semantic version number stands for "Release Candidate" not "Release Client".

  • @ggalan212
    @ggalan2125 ай бұрын

    thank you so much for this!

  • @SODKGB
    @SODKGB5 ай бұрын

    I have been working on similar AI code and getting mixed results. The struggle is real, keep up the good work.

  • @bruceclark4209
    @bruceclark42094 ай бұрын

    I like your style buddy.. you explain things pretty good and you have a large variety on your channel. You look a little bit like pauly shore

  • @bnkiBirbz
    @bnkiBirbz5 ай бұрын

    Thanks for yhe full setup video

  • @lawrencium_Lr103
    @lawrencium_Lr1035 ай бұрын

    Soo good and so relatable. Live, live f'sure.

  • @alexjensen990
    @alexjensen9905 ай бұрын

    This was fantastic! I have written a webscrapper with AutoGen and it was a total b*^ch... It made me feel better that I wasnt the only one who has had some difficulty getting one functioning.

  • @MartinBlaha
    @MartinBlaha4 ай бұрын

    Thank you for sharing your thoughts process. Have the same use case (weekly AI newsletter in German): currently I'm using a Perplexity collection with custom instruction set to create a summary of a website. Perplexity does a great job on this as I'm not dealing with token issues or blocking scrappers. But the Perplexity API doesn't support calling my collection "GPT". So the process here is broken. Looking forward to see your progress with this use case 😊

  • @phillipsparks9690
    @phillipsparks96905 ай бұрын

    Cool. Very cool

  • @securedev-fr
    @securedev-fr5 ай бұрын

    Great and thanks for this demo that shows also the pitfalls and how to get rid of them. Did you know that VSCode has the "Live Share" plugin (Microsoft) that allows co-editing in our local vscode, with others in using their vscode? Same as what you shown with this cloud based editor (good to know this one too).

  • @flv-hd7nn
    @flv-hd7nn5 ай бұрын

    this vedio showed me programmers are needed after all when mattew said i will make chatgpt writes code when you are programmer it makes a difference

  • @realCleanK
    @realCleanK5 ай бұрын

    Thank you!

  • @MrTactics26
    @MrTactics265 ай бұрын

    Funny part is I got stuck in the same part but I misplaced the Founders #. Thanks for helping with that 😂!

  • @carlosramalho9429
    @carlosramalho94295 ай бұрын

    Thank you 🙏

  • @technobabble77
    @technobabble775 ай бұрын

    Adapting the code to use ollama is super easy. I'm running it now.

  • @PaulSchwarzer-ou9sw
    @PaulSchwarzer-ou9sw5 ай бұрын

    Huge! 🎉

  • @hassentangier3891
    @hassentangier38913 ай бұрын

    Awsome man

  • @ew3995
    @ew39955 ай бұрын

    if you are going to extract a specific element from the html perhaps the websearch tool is what you should have used

  • @adrieninvesting3177
    @adrieninvesting31772 ай бұрын

    Thanks Matthew for the great content. Please, do you have some step by step guide as I have some difficulties in finding the correct text to copy into the documentation? Kind regards,

  • @oscarp2074
    @oscarp20745 ай бұрын

    How do you get that green circle on your mouse pointer? It looks useful for reading

  • @E_-_-
    @E_-_-5 ай бұрын

    Cool!

  • @DanielBlanchfield-ys9pp
    @DanielBlanchfield-ys9pp4 ай бұрын

    Live coding would be amazing. The one thing about the video that I love is bumping into errors. It's encouraging to me being a very novice coder to know that errors are a normal part of the process. Let's jam!

  • @BrayanColi
    @BrayanColi5 ай бұрын

    Automating my life sounds awesome but I'll probably just end up more lazy.

  • @jakkritbunmark3729
    @jakkritbunmark3729Ай бұрын

    00:02 Setting up CrewAI for task automation with native and custom tools. 02:04 Setting up and using CrewAI for real-world tasks 07:04 Automating real-world tasks with CrewAI 10:18 Task 1: Scrape and provide content to writer 16:22 Importing tools from CrewAI and exploring examples. 18:56 Automating real-world tasks with Python code 24:33 Automating task by passing it into the task company. 27:11 Troubleshooting and resolving errors in Python code 31:51 Struggling to pass URLs into stock analysis tool 34:05 Discussing the use of website search tool and potential need for website scraping 38:34 Creating a website scraping tool using Python 41:01 Integrating code and addressing potential issues 46:04 Using third party tools and services to scrape websites 48:40 Struggling with complex scraping blockers and open AI's maximum context length issue 54:05 Lightning AI makes tasks easy in the cloud.

  • @darwinboor1300
    @darwinboor13005 ай бұрын

    Looks great. It also looks like programmers are going to have jobs for a while longer. They are just going to need to retrain for new architechures, methods, and syntax. Of course new AIs will be there to help them transition. Imagine how well the process of getting your CrewAI app to work would flow if AIs could reason.

  • @wurstelei1356

    @wurstelei1356

    5 ай бұрын

    Yes, ChatGPT wasn't even able to help Mat out. AI will need some further improvements to replace coders.

  • @enricomasella998
    @enricomasella9985 ай бұрын

    The agents didn’t ‘SHOCK THE ENTIRE INDUSTRY ‘?! What a miracle ✌🏼

  • @ryzikx
    @ryzikx5 ай бұрын

    wow 55 minutes. what a gem

  • @VadimBesedin
    @VadimBesedin4 ай бұрын

    VS Code can also be set to save automatically, so there will be no need for CTRL+S :)

  • @Sergiopoo
    @Sergiopoo5 ай бұрын

    More videos like this please!

  • @hectornonayurbusiness2631
    @hectornonayurbusiness26315 ай бұрын

    I love this video

  • @phineas6871
    @phineas68714 ай бұрын

    I just give a thumbs up automatically on new content before clicking play. I know it’s gonna be good anyways

  • @gamerzparadise2355
    @gamerzparadise23553 ай бұрын

    Just been reading crewai docs, a PDF write tool would be a good addition to the toolset.

  • @ROKontotheFuture
    @ROKontotheFuture4 ай бұрын

    It seems my error is with the Scraper Tool as I get "Article with specified ID not found." Looking at the code of that tool used I see line 20 (article = soup.find(id='insertArticle") is the likely source of the issue

Келесі