LangGraph: Multi-Agent Workflows

Поделиться
HTML-код
  • Опубликовано: 6 сен 2024
  • LangGraph makes it easy to construct multi-agent workflows, where each agent is a node, and the edges define how they communicate. In this video we will walk through three examples of multi-agent workflows
    Python code: github.com/lan...
    JavaScript code: github.com/lan...

Комментарии • 64

  • @christopherscheidel5431
    @christopherscheidel5431 7 месяцев назад +9

    Fantastic work as always. Thanks to the LangChain team.

  • @bqmac43
    @bqmac43 5 месяцев назад

    These videos never cease to impress me. Straight-forward and effective. Thank you, LangChain team!

  • @Sandheip
    @Sandheip 15 дней назад

    LangGraph makes creating multi-agent processes easier. SymthOS is an essential viewing for anyone interested in cutting-edge AI frameworks. #AI #MultiAgentWorkflows #SymthOS

  • @akashlives
    @akashlives 7 месяцев назад +1

    Thank you for constantly posting such videos.
    So easy to use and adopt.

  • @free_thinker4958
    @free_thinker4958 Месяц назад +1

    That would be great if you add a disclaimer at the beginning of the video mentionning that it's for intermediate and advanced levels because beginners will feel lost and sometimes more confused just like me

  • @paraconscious790
    @paraconscious790 7 месяцев назад

    This is a super helpful series, a quick starter, easy to follow along with practical examples, thanks so many Harrison! Starting to experiment right away!

  • @Orcrambo
    @Orcrambo 7 месяцев назад +1

    Excited to get my hands dirty with langgraph. Hopping on now!

  • @johnvicente796
    @johnvicente796 3 месяца назад +1

    Great video. Can you PLS create an example in langgraph on how to use an SQL database tool and call the tool with an agent. More importantly do a RAG search with it. That would be helpful

  • @ManiSaintVictor
    @ManiSaintVictor 7 месяцев назад

    Thank you! Very helpful. I did the first 2 exercises. I'll be back for the 3rd.

  • @Mullheimer
    @Mullheimer 7 месяцев назад

    Great way of explaning. Thank you. Will dive into it sometime soon.

  • @raphaelb7933
    @raphaelb7933 5 месяцев назад

    Super helpful series. I delved a lot in langchain source code, docs to customize already well-established examples and started these series for LangGraph it's a great format thanks a lot.

    • @tonyppe
      @tonyppe 3 месяца назад

      are you using ai to write youtube comments?

    • @ilianos
      @ilianos Месяц назад

      @@tonyppe just because you read the word "delve" ;-) ? look at the last words of his comment: missing punctuation marks :)

  • @glowstorm334
    @glowstorm334 4 месяца назад +1

    For anyone facing any error , there are the two error I have faced :
    1: Make sure Matplotib is installed in your environment
    2: Change the name of Chart Generator to Chart_Genenrator , this fixes an error which the regex does not recognize the name of Chart Generator.

  • @ramzirebai3661
    @ramzirebai3661 Месяц назад

    This is incredibly beautiful

  • @kevinkawchak
    @kevinkawchak 3 месяца назад

    Thank you for the discussion.

  • @dvirbenor2690
    @dvirbenor2690 7 месяцев назад

    Very interesting and well explained! Thanks 👌

  • @user-uv8tx8lb4b
    @user-uv8tx8lb4b 7 месяцев назад

    Awesome! Thank you guys for great work

  • @lucascresci509
    @lucascresci509 6 месяцев назад +1

    Bro is just a beast!

  • @adandrea
    @adandrea 4 месяца назад

    Great video. One bit things I'm trying to figure out: how can the tools access the graph state? I mean custom tools. I really need them to have context of the conversation, user session metadata, etc, and I can't past them that info if the tools are called just with the parameters filled with syntetic data generated by the llm. I'm sure there is a way to do it but can't seem to fiture it out. Thanks!

  • @rahulvb5044
    @rahulvb5044 5 месяцев назад +1

    In the supervisor example , the model returns ,
    {
    "function_call" : {
    "arguments" : "{"next","Coder"}",
    "name" : "route"
    }
    How is this used to determine the next agent.
    Or how is Agentstate populated with next : Coder after getting the above out put from model. I can see a JsonOutputFunctionsParser. But i cant understand, how next value is determined from that

    • @user-ig3so8vu4l
      @user-ig3so8vu4l Месяц назад

      In conditional edges setup. You parse it to dict and then make a conditional navigation depending on 'next' value

  • @waneyvin
    @waneyvin 7 месяцев назад

    great job! please advise how if I wanna add reward or policy into the state for further decision making sake.

  • @jimjimjimjimjim
    @jimjimjimjimjim 2 месяца назад +1

    Does anyone get issues where the supervisor agent loops over and over calling the sub agents?

    • @calebadobah641
      @calebadobah641 Месяц назад

      Yes same. Have you managed to fix it?

  • @drtristanbehrens
    @drtristanbehrens 6 месяцев назад

    Such a cool video!

  • @octopusfinds
    @octopusfinds 5 месяцев назад

    Thank you!

  • @zelx7567
    @zelx7567 4 месяца назад

    Thank you langchain team, this helps a lot. In the example multi-agent graph all agents share the same instance of a large language model (LLM), is it possible to use different LLMs for different agents?

  • @mertsengil4697
    @mertsengil4697 Месяц назад

    Hello, thank you for the vide. I have a problem. I created my own tools instead of "tavily search" and "PythonREPL" tools. I did everything same with your code. But i cant get the end token {'supervisor' : {'next' : 'FINISH'}}. why? can anyone help me pls?

    • @mertsengil4697
      @mertsengil4697 Месяц назад

      Continuous 1. tool... 2. tool... 1. tool. ... As the 2nd tool, it loops through my tools, but it never goes to the finish token and finishes the loop.

  • @adityagaurav2816
    @adityagaurav2816 6 месяцев назад

    I tried to implement supervisor based multi agent framework for my use case but after my workers return something to supervisor , supervisor doesn't call FINISH and get into a loop of calling the same worker again and again. Has anyone faced this issue ? or know how to fix this ?

  • @estebanmunoz1637
    @estebanmunoz1637 7 месяцев назад

    I can't make this example work using AzureOpenAI, I am receiving the error: 'create() got an unexpected keyword argument 'functions''
    after executing:
    result = agent.invoke({"input": "what's the weather in SF?", "intermediate_steps": []})
    Are Agents supported using AzureOpenAI? I have been trying different formulas but I cannot make my agents work using AzureOpenAI

  • @ragsAI
    @ragsAI 7 месяцев назад

    Hi! Is Langchain integratable/compatible with redshift/databricks? (especially the text-to-sql framework)? Thank you.

  • @aryangautam7161
    @aryangautam7161 7 месяцев назад

    Are there examples on how you can use multi agent workflow that doesn’t involve openAI function calling?

  • @VijayasarathyMuthu
    @VijayasarathyMuthu 7 месяцев назад

    Could you show how to bring Humans in the Loop in each architecture or any one of them?

  • @aryangautam7161
    @aryangautam7161 7 месяцев назад +2

    I tried to implement multiagent using supervisor agent and running into issue where it couldn't parse function call.
    langchain_core.exceptions.OutputParserException: Could not parse function call: 'function_call

  • @user-rz8rh1wc6j
    @user-rz8rh1wc6j Месяц назад

    not work with the current version of langgraph/langhchain, issues never solved

  • @joehenri1
    @joehenri1 7 месяцев назад +3

    What is the differences between CrewAI and LangGraph ?

    • @yuripourre
      @yuripourre 5 месяцев назад

      CrewAI is a thin wrapper around langgraph.

  • @googleyoutubechannel8554
    @googleyoutubechannel8554 7 месяцев назад +9

    Oh no, I feel so sorry for everyone trying to use this, you don't have nearly enough basic logging functionality or debugging / investigation tooling in langchain to make using multiple prompt stages remotely tolerable, I wonder how long it will take people trying to actually implement this to solve a problem to figure it out.

    • @ste7081
      @ste7081 6 месяцев назад +14

      didn’t they make langsmith exactly for this?

    • @xfldiazx
      @xfldiazx 3 месяца назад

      ​@@ste7081 but it's not private :( honestly a framework should not rely on a paid service for basic functionality, I wish I could use it though

  • @Stormyys
    @Stormyys 7 месяцев назад

    How do we get access to langsmith?

    • @LangChain
      @LangChain  7 месяцев назад

      DM Harrison on twitter @hwchase17 :)

  • @adamwilfrid3271
    @adamwilfrid3271 7 месяцев назад

    requesting for Langsmith access please 😊

    • @LangChain
      @LangChain  7 месяцев назад

      DM Harrison on twitter for access @hwchase17 :)

  • @carterjames199
    @carterjames199 7 месяцев назад

    How can I request access to langsmith??

    • @LangChain
      @LangChain  7 месяцев назад

      hey, if you drop Harrison a message on twitter @hwchase17 he'll get you access

    • @carterjames199
      @carterjames199 7 месяцев назад

      @@LangChain already done he was very fast to reply

  • @manfyegoh
    @manfyegoh 7 месяцев назад

    hi how do i get access to langsmith?

    • @LangChain
      @LangChain  7 месяцев назад

      Drop Harrison a message on twitter @hwchase17 and he'll sort you out

    • @manfyegoh
      @manfyegoh 7 месяцев назад

      @@LangChain thanks! i just gotten my access!

  • @user-ul5mh5gz1o
    @user-ul5mh5gz1o 7 месяцев назад

    Great video! Can you hook me up with Langsmith?

  • @Kenykore
    @Kenykore 7 месяцев назад

    Need access to langsmith

    • @LangChain
      @LangChain  7 месяцев назад

      DM Harrison on twitter @hwchase17 :)

  • @user-rn4vu8th3r
    @user-rn4vu8th3r 7 месяцев назад

    Great video! Can you hook me up with langsmith? :)

    • @LangChain
      @LangChain  7 месяцев назад

      Shoot Harrison a message on twitter @hwchase17 :)

  • @avi7278
    @avi7278 7 месяцев назад +1

    What's your Twitter?