5 Problems Getting LLM Agents into Production

Поділитися
Вставка
  • Опубліковано 1 гру 2024

КОМЕНТАРІ • 60

  • @MrKrzysiek9991
    @MrKrzysiek9991 5 місяців тому +5

    This is hands down the best channel about AI. No hype-building or irrelevant tests. Just pure practice. Thank you!

  • @BuildNewThings
    @BuildNewThings 6 місяців тому +19

    crewAI creator here 👋
    Thanks great feedback! We are addressing a lot of that internally :)
    Great video!

    • @samwitteveenai
      @samwitteveenai  5 місяців тому +7

      Hi João, big thanks for chiming in here. It really shows you are committed to what you are doing. I didn't want to sound like I was dumping on CrewAI, I really like what you are doing and I think the issues raise in the video apply to all the "Agent" Frameworks currently. Really look forward to seeing what you add to CrewAI

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

      @@samwitteveenai No worries, all feedback is welcomed! In matter of fact I would love to jump on a call and show you some of the work we are doing to address this, how is next week for you :)

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

      @@BuildNewThings sounds good lets connect on Linkedin

    • @Sarunas-llm
      @Sarunas-llm 4 місяці тому

      When are you gonna address the terrible bloat bloat?

  • @MartinBlaha
    @MartinBlaha 6 місяців тому +4

    This reflects completely my experience and I appreciate a lot your summary - thank you for all the effort!
    I started first with CrewAI and ended up very fast with 10 USD on one day in API calls. Then I realized I cannot really debug it. Also, I missed a transparent / standardized AI DevOps incl. tests.
    I'm currently experimenting with Langraph, but started wondering why to use a framework at all? Not there yet to decide.
    Anyway, thanks again, looking forward to follow up with your journey 😊🤗

    • @tonyppe
      @tonyppe 6 місяців тому +1

      agentops is your friend.

  • @tovanhai4930
    @tovanhai4930 6 місяців тому +7

    Can't wait to see the next videos about buildig LLM Agents with Langraph

    • @samwitteveenai
      @samwitteveenai  6 місяців тому +4

      hi I have made a few vids already about building with LangGraph on the channel.

  • @mrka_
    @mrka_ 6 місяців тому

    Very honest and to the point about the actually status of multi AI agents to the date.

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

    Amazing, thanks Sam! Huge fan, really loving and devouring your content. My first reaction was "ok good, it's not just me" 😅. But to your point, I think fine-grain agentic decisions with formatted/constrained outputs are key to mitigating some of those problems 💪. Even the idea (with the right models and speed/costs allowing) to have a few agents with the same task (maybe with slight prompt variations?) and then consensus/voting on the constrained output to the next agent is a decent approach.

    • @samwitteveenai
      @samwitteveenai  5 місяців тому +1

      The "ok good, it's not just me" comment really makes me feel the video did its job. I talk agents all day with my team and I realized that externally people were starting to think this was a solved area which is so far from the truth. Totally agree on "formatted/constrained outputs" and will make some more vids about this hopefully soon.

  • @bpraghu
    @bpraghu 6 місяців тому

    Thanks for the video, just confirms my thoughts after fiddling with langchain, Agents and Tools for the past year, the best thing to come out has been langgraph. Loved your video and you have a sub.

  • @squiddymute
    @squiddymute 6 місяців тому +10

    LLMs are nice for subjective stuff like creative tasks (which is the last thing we want to use them for) and for having fun with things like chatbots etc. For real world application that require concrete results and some overall robustness LLMs are like a time bomb. We are not there yet. There are people who trust LLMs can be part of a robust application which is what will cause the most issues with the so called AI in the long term. Skynet won't happen, stupidity will kill us first.

  • @micbab-vg2mu
    @micbab-vg2mu 6 місяців тому

    Sam, great video - I totally agree with the content. In my business (I work for a pharmaceutical company), the minimal reliability threshold is 95%. At the moment, I use agents as part of the experimentation process with AI, not for production. I think in a few months with GPT-5, they will work better and be more useful.

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

      GPT-5 might not be as close or as good as what you think from what I am hearing 😀

  • @silvias4808
    @silvias4808 5 місяців тому

    OMG your point is right on the spot! That's exactly the problem I had to deal with in my project

  • @unclecode
    @unclecode 6 місяців тому

    Indeed you are pointing a real issue. And with your permission I like too add one more. The tech ecosystem is currently hyped around large language models (LLMs), causing people to forget that many tasks used to be handled by smaller, task-specific models. The push from VCs and the hype around LLMs lead to the misconception that LLMs are needed for everything, creating immature products and numerous issues.
    Most problems that people try to solve with LLMs and so-called agents could often be addressed with small models or even without machine learning. A better approach is to integrate LLMs as part of a larger system, allowing for incremental improvements as new research emerges, rather than building entire systems based on LLMs due to hype.
    So, to add to your five problems, the sixth is: Don't build agents out of hype, and don't design entire systems on LLMs.

    • @samwitteveenai
      @samwitteveenai  5 місяців тому

      totally agree!! The small specific models is such a big issue. Maybe I will make a vid just about this. I see startups and companies using 7B+ models to do reasonably simple things like NER, Sentiment etc. Really quite crazy.

  • @mdeutschmann
    @mdeutschmann 4 місяці тому

    Looking for the Web Page Diff Tool Notebook to learn from, but couldn’t find it on your GitHub repository. Any ideas @Sam? 6:14

  • @waneyvin
    @waneyvin 6 місяців тому

    I would suggest to introduce critics and SOPs to the agent operations. how do you think?

  • @MeinDeutschkurs
    @MeinDeutschkurs 6 місяців тому

    I‘m sure that one day it will simply work to write background stories, and a team that does whatever. But: currently, I can just have own functions, producing outputs with a single word, to react on how to use and/or work with the current user prompt.
    Similar to dialects, models are not able to be prompted the same way. A Prompt delivers on models p * (n + m )^( n + m)-1 results. And this is just the input.
    It is tedious, but a start.
    And I agree to the decision point thing.

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

    Replacing your employee with an LLM is like hiring a virtuoso teenager on LSD.

    • @samwitteveenai
      @samwitteveenai  5 місяців тому

      Congratulations!! You win the internet today!!😀

  • @khaledsaud6677
    @khaledsaud6677 5 місяців тому

    Really insightful video, Sam! Glad to find your channel. Could you share your opinion on Haystack? I haven't seen a comparison between Haystack and LangGraph for real product development. Which would you recommend for creating scalable and complex LLM agents with more than 30 nodes?

    • @samwitteveenai
      @samwitteveenai  5 місяців тому

      I haven't used Haystack in a long time, have they added more stuff related to Agents? I will try to take a look and see what they have been up to. For something complex nowadays currently I would either use LangGraph or code it from scratch.

  • @homeautomationlab1533
    @homeautomationlab1533 5 місяців тому

    Great video, thanks.

  • @willjohnston8216
    @willjohnston8216 6 місяців тому

    Sam, your channel is my favorite on AI, but the stock video footage is very distracting. Keep up the great work!

    • @samwitteveenai
      @samwitteveenai  6 місяців тому +4

      Sorry I just gave the editor an audio track. Your idea about an ocean and a beach is interesting. What if it was just some slides with with my notes etc? How would you feel about that?

  • @hawa7264
    @hawa7264 6 місяців тому +17

    I really like your channel but recently actually*watching* it has become a lot less enjoyable with all the nonsensical stock videos in the background. I would much more enjoy the classical talking head or even just a still frame over those stock videos that don't add anything to the actual content.

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

      ai generated video!!!

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

      I completely agree. It is so distracting to have the cheesy stock videos. Please just have an ocean and beach or something that is not distracting in the background.

    • @samwitteveenai
      @samwitteveenai  6 місяців тому +8

      Sorry guys. I gave the editor an audio only track and thats why it came out like this. Interesting points about the ocean beach etc. I am finally back in main home so will stick my head on some of the vids soon.

  • @ChrisDermody
    @ChrisDermody 6 місяців тому

    Really useful video, thank you. Is that website diffing tool open source somewhere? You reminded me I need something similar.

    • @samwitteveenai
      @samwitteveenai  5 місяців тому +1

      It isn't currently, but I guess since I have shown I might make it open. I plan to make a video about building custom tools so might go in depth with that one

    • @ChrisDermody
      @ChrisDermody 5 місяців тому

      @@samwitteveenai awesome, looking forward to that video. Subscribed

  • @midnightmoves7976
    @midnightmoves7976 6 місяців тому +3

    We have just implemented this kind of service. we needed 6 tools and two agents. not an easy job. lots of time was spent writing logic for errors.

    • @samwitteveenai
      @samwitteveenai  6 місяців тому +1

      yeah I feel people are underestimating the work that goes into something like that.

    • @Aidev7876
      @Aidev7876 6 місяців тому

      was it worth it, or are agents just kind of trendy and cool for the resume?

    • @midnightmoves7976
      @midnightmoves7976 6 місяців тому +3

      @@Aidev7876 we felt that agents where needed to direct the flow of the logic. agents are just the name given to more than one prompt the llm can follow.

    • @JacuelineSatu
      @JacuelineSatu 6 місяців тому +1

      ​@@midnightmoves7976I like the way you defined the word agent. Nice.

  • @enceladus96
    @enceladus96 5 місяців тому

    2:26 just got trippy real quick

  • @tonyppe
    @tonyppe 6 місяців тому

    Where can people like us go to chat and discus how to tackle the problems raised in this video? I Think there are a ton of us that are trying to use these tools and failing to achieve reasonable outcomes. I am actively focusing on crewai usage and improvements and I currently have a crew with 7 agents and 8 tasks which works...... unreliably.
    I was also trying to find out what are the best practices for defining the agents description (ie personality) as well as the specific task details such as what should be contained or what should be avoided and how should it be structured.

    • @samwitteveenai
      @samwitteveenai  5 місяців тому +1

      You think I should start a discord? The main reason I haven't is I don't have a lot of time etc.

  • @gordoncandelin7688
    @gordoncandelin7688 6 місяців тому +3

    I feel seen! 😅

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

    "Alright"? What happened to the iconic "Okay" intro? I even used it as a tribute to you in my demo video.

  • @sergeziehi4816
    @sergeziehi4816 6 місяців тому

    In some not so distant past there were bots called RPA bots very powerful for repetitive and predefined steps based processes. Excell for realability in stable context but lack for reasoning capabilities end none capable of any kind of self reflexion.dream was to have cognitive capability one day in the future maybe..
    One day Generative AI with LLM and reasoning emerged . Suddenly automation industry started to thinks how automate work with this? RPA bots were forgotten. But Agent created with LLM started showing they limit in real business .. they allucinate and are reflect wrongly and to much some time were straight action is enough.. but then someone recall.. straight actions that exactly where RPA bots shine.
    Roles for genAI LLM based Agent and RPA started to become clear.
    Orchestration with Reasoning capabilities sound to be the place for Agent .
    Actions or tooling devoted to RPA.
    It's the dawn of a new era of possibilities. Where a smart combination of GenAi Action Orchestrator Agents & RPA bots could create best ever possible Business process Automations solution for corporates.

    • @samwitteveenai
      @samwitteveenai  6 місяців тому +1

      I worked on building RPA tools in the past using LLMs with CV Models and agree with the sentiment here.

  • @tonyppe
    @tonyppe 6 місяців тому

    Crewai has some flaws where the prompts sent to the ai agents actually confuse them. It works better with chatgpt but even chatgpt 4o gets confused and sends back a response which doesnt exactly match the tool schema so crewai sends the agents around in loops where they're just chatting BS amongst themselves trying to figure it out.
    Agentic chatting needs to be extremely clear and specific so that the response can invoke tools or assign work to another agent.

    • @samwitteveenai
      @samwitteveenai  5 місяців тому

      I think all the "pre-made" agent frameworks are similar they were usually written for OpenAI GPT-4 and need so customization of other models

  • @s11-informationatyourservi44
    @s11-informationatyourservi44 6 місяців тому

    i’ve noticed the biggest bottleneck in my experience is people forget that operations planning principles don’t and won’t change. a bad manager will still struggle with ai agents just as with humans, but it doesn’t hurt as bad as losing capital on lost salary

  • @edellenburg78
    @edellenburg78 6 місяців тому

    Your audio is a little low for TV watchers. It's not horrible, but I would prefer it a little louder from the editor.

  • @dr.mikeybee
    @dr.mikeybee 5 місяців тому

    I've been very disappointed with all these frameworks. They do somethings well, but they all handle context assembly very badly, and I think context assembly is the most critical part of agent building.

  • @teprox7690
    @teprox7690 6 місяців тому +1

    Sure that you discuss it? Or is an agent discussing it for you ? Is it AI generated ?

    • @samwitteveenai
      @samwitteveenai  6 місяців тому

      I wish it was AI generated would be much less of a pain in the editing issues etc.