Getting Started with ReAct AI agents work using langchain

Sdílet
Vložit
  • čas přidán 22. 08. 2024
  • How to create AI ReAct agents using Langchain. In this video chris breaks down exactly how Reasoning and Action (ReAct) agents work both by using the out of the box agent framework in Langchain and by building up the agents from scratch. By doing this we can see exactly how this works, step by step.
    At the end of this tutorial you'll understand how to use langchain, how ai agents work, how they use reasoning and actions, and how to build AI agents and custom tools for the agent. You will even be able to manually build your own agent
    Github is here:
    github.com/chr...

Komentáře • 38

  • @joebarhouch2742
    @joebarhouch2742 Před 4 měsíci +4

    Thank you for providing such a clear explanation!!! No BS, no following the tutorials given in the documentation blatantly, but actually carefully crafted
    tutorial with explanation of what's going on. Hats off!!

    • @chrishayuk
      @chrishayuk  Před 4 měsíci +1

      Thank you, glad it was useful. Thanks for calling out “carefully crafted”. Most of the time is spent figuring out the narrative. Very kind of you

  • @simon_greig
    @simon_greig Před 4 měsíci +4

    Awesome video Chris. Really clear and easy to follow. I also understand Langchain a lot more than I did 45 mins ago 🙂

    • @chrishayuk
      @chrishayuk  Před 4 měsíci +1

      Thanks Simon, appreciate it. It wasn’t really meant to teach langchain originally, but it’s kinda hard to talk about the ReAct pattern without covering the basics of langchain. Glad it was useful

  • @ruslankhomenko2586
    @ruslankhomenko2586 Před 3 měsíci +3

    the best video on the topic

  • @QrzejProductions
    @QrzejProductions Před 10 dny +1

    Great explanation, great content. Keep doing a good work, your channel's worth much more reach and subs :)

    • @chrishayuk
      @chrishayuk  Před 9 dny

      very kind but I’m actually kinda cool with the reach

  • @xiaoyuyang4017
    @xiaoyuyang4017 Před 2 měsíci +1

    The most useful and informative video I saw on this topic. Appreciate❤

    • @chrishayuk
      @chrishayuk  Před 2 měsíci

      Very kind, I felt ReAct was a little magical, so thought it’d be good to show how it really works. Glad it was useful

  • @tiympc
    @tiympc Před 19 dny

    Tremendous explanation. Thank you so much Chris!

  • @arindam1
    @arindam1 Před 12 dny +1

    This is epic. You got a sub!

  • @nikolatanev3293
    @nikolatanev3293 Před 3 měsíci +1

    Thank you !!! A good video is when you have a take-away. Mine is the possibility to assign stop keywords, the only missing link on how actually React works in practice.

    • @chrishayuk
      @chrishayuk  Před 3 měsíci

      yeah, that's the actual trick

  • @maizizhamdo
    @maizizhamdo Před 3 měsíci +1

    "Hey boss chris , I just wanted to say that your tutorial on creating an AI agent was super helpful and easy
    to follow! I'm not tech-savvy at all, but even I was able to understand the steps. Would you consider doing
    another tutorial using local OLLAMa models? That would be really cool and something I'd definitely want to learn
    more about. Thanks for sharing your knowledge with us!"

    • @chrishayuk
      @chrishayuk  Před 3 měsíci +1

      are you meaning as in finetuning your own model and getting it to run in ollama?

    • @maizizhamdo
      @maizizhamdo Před 3 měsíci +1

      @@chrishayuk using ollama with langchain in place of openai

    • @chrishayuk
      @chrishayuk  Před 3 měsíci +1

      @@maizizhamdo yes that's part of the video of the video on using opensource models that i've prepared but yet to record.

    • @maizizhamdo
      @maizizhamdo Před 3 měsíci

      @@chrishayuk "Ahaha, no worries! I'm glad you're planning on recording a video on using open-source models. Looking forward to
      seeing it when you're done recording! Thanks for the update"

  • @sumandawnmobile
    @sumandawnmobile Před 4 měsíci +1

    This is an amazing video Chris :) Thanks for the tutorial

  • @srirammanda9697
    @srirammanda9697 Před měsícem +1

    Thanks for making this video, wonderful explanation 👏
    I followed your step in my case the react agent going into loop and timeout.
    kindly let me know how to handle this case of looping.
    Thanks in Advance!

    • @chrishayuk
      @chrishayuk  Před měsícem

      The less powerful models can loop. More guidance on the patterns usually fixes it

  • @stanTrX
    @stanTrX Před 3 měsíci +1

    Very good, very clear 👍

  • @iliuqian
    @iliuqian Před 10 dny

    Thank you Chris. Could you show us how to create a ReAct agent using langgrahp?

  • @IdPreferNot1
    @IdPreferNot1 Před 4 měsíci +1

    Excellent explanation as you go along. Providing a github would perfect it, thx!

    • @chrishayuk
      @chrishayuk  Před 4 měsíci +1

      Examples are in GitHub.com/chrishayuk

    • @chrishayuk
      @chrishayuk  Před 4 měsíci

      And super glad it was useful

  • @joseluisbeltramone599
    @joseluisbeltramone599 Před měsícem

    Tremendous video. Thank you very much!

  • @matthewmolinar
    @matthewmolinar Před 2 měsíci

    Hey man! Super helpful. Do you have any thoughts on how this can be useful for agents that need to create code and ensure it works?

  • @federicoottomano8619
    @federicoottomano8619 Před 3 měsíci +1

    I guess it is pretty straightforward using another (eventually open source) LLM instead of GPT, like LlaMa, in your examples?

    • @chrishayuk
      @chrishayuk  Před 3 měsíci +1

      i have a follow up video in the pipe on this very thing, i'm hoping to record this weekend, i prepped it a few weeks ago, it's actually a pretty interesting topic

    • @federicoottomano8619
      @federicoottomano8619 Před 3 měsíci +1

      @@chrishayuk thanks Chris! Looking forward to it!

    • @chrishayuk
      @chrishayuk  Před 3 měsíci +2

      @@federicoottomano8619 and recorded

  • @HistorIAsImposibles776AC
    @HistorIAsImposibles776AC Před 3 měsíci +1

    Wooowowwwowo