LangGraph: Agent Executor

Поділитися
Вставка
  • Опубліковано 16 січ 2024
  • In this video we will go over how to re-create the canonical LangChain "AgentExecutor" functionality in LangGraph. The benefits of doing it this way are that it will be much easier to modify parts of it to fit your own custom logic.
    Notebook: github.com/langchain-ai/langg...
    LangChain Agents: python.langchain.com/docs/mod...

КОМЕНТАРІ • 21

  • @avidlearner8117
    @avidlearner8117 10 днів тому

    This is fantastic!!! Thank you so much for putting this Playlist, very clear and well explained... This is really the best way to use Agents.... Graph is brilliant!

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

    I really like the idea of looking at conversations, actions and functions as a branching graph neural network rather than as a linear based branch.
    All sort of lightbulbs are popping in my head about modeling very complex interactions between agents, humans in the loop and data

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

    This is awesome, thank you

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

    Can you throw some light on how LangGraph is different from AutoGen, in terms of capabilities or use-cases it tries to solve for. AutoGen is also muti-agent workflow, which can be branched, cyclic and LangGraph also looks the same.

  • @srivatsa1193
    @srivatsa1193 4 місяці тому +1

    It will be amazing if the langchain team makes lcel and lang graph available in rust. This sort of continue and end are very intuitive with Rust Enums. The code will also be less clunky. The app will also be faster if smaller parts of chains are executed with gguf models in rust. I am not sure, but i guess we can do that with the ollama integration somehow but a native adaptor would be cool too.

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

    Video sound is too low

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

    Thanks for the video! Is there an advantage of using agents in langgraph vs RAG chains in langgraph?

  • @DmitryGuryev
    @DmitryGuryev 3 місяці тому

    Is it possible to use AgentExecutor instead, to encapsulate tool running logic into single node?

  • @fredrikt6980
    @fredrikt6980 29 днів тому

    Is it just me noticing the latency for checking the weather in SF 8+ sec. Been fiddling with multi agents in OpenAI using multiple agents operating on the same thread. My issue is latency all the time. Simply writing a slightly more complex prompt yields fast response times (if that is an important thing). But maybe the whole point here is not to send everything off to a GPT4/GPT4o type model for every call?.

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

    how can I add a function to a node that takes multiple arguments?

  • @Mohamed-sq8od
    @Mohamed-sq8od Місяць тому

    can anyone explain to me how does the agent predicts to continue or to finish, i watched the video twice but couldn't find an answer ?

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

    When I try to pass the tools to ToolsExecutor, when langgraph tries to use them, i get the following error :
    Attribute Error: 'list' object has no attribute 'tool'.
    Has anyone faced this error on ToolsExecutor?

  • @user-fx8bn6se6k
    @user-fx8bn6se6k 4 місяці тому +5

    I’m really confused why you’re explaining every line of code with no context, like why not show what the program does first so it will make sense? Should I skip ahead to figure out what it does? Who chooses the format of these and why choose such a strange and unconventional format? Usually coding tutorials show what programs do first.

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

      I agree, I left the video even more confused than when I came in from the blog post.

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

      Also a visual representation of the abstractions, in special the graph itself, would be great

    • @avidlearner8117
      @avidlearner8117 10 днів тому

      I don't undersdtand... It's all there; at the end, you see the outcome. You can even click on the description of the video to have all the code, cut and paste it and execute it... What more do you want?

  • @user-oq9fr6hj6k
    @user-oq9fr6hj6k 18 днів тому

    This example doesn't work anymore!

  • @kcg26876
    @kcg26876 3 місяці тому

    Having Graph in name is so misleading. It is rather an agents state machine with transition rules.

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

    you guys are amazing , 95% of import libraries are langchain , sounds to me langchain invented the whole AI industry , wrapping others efforts to build your so called "ecosystem" and get developers locked in , which is not a decent AI startup should be doing .