Sequential vs. Multi Agents: Which Flowise Feature is Right for You?

Поделиться
HTML-код
  • Опубликовано: 26 янв 2025

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

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

    spot on, you are my go to for understanding flowise! Any chance you can do a tutorial on how to do an integrated code dev application using flowise...is this even possible? I want to achieve something like open interpreter, but with all the flowise no-code / flexible flow. Maybe you could build on your earlier multi agent sw dev tutorial to actually debug and review the code?

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

      Thank you for the suggestion.
      I'll look into this 👍.
      Thank you very much for the super! It helps a lot 🙏

  • @ks-hi9uz
    @ks-hi9uz 9 дней назад

    Thanks for the video Leon! Sequential Agents look like when someone create a graph with langgraph.😃

    • @leonvanzyl
      @leonvanzyl  8 дней назад +1

      It's exactly that. It uses LangGraph behind the scenes

  • @AdrianRodriguez-tm3qj
    @AdrianRodriguez-tm3qj 5 месяцев назад +1

    I've just started with the beginner's guide, so this is a bit more complex, but I'm amazed at the possibilities 😧

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

    Thanks for the video Leo, but if you can do more example of Sequential, we would like it, for example like a conversation with a customer like for sales, but they want to purchase a product, so that the bot has the intention of seeing when it has to ask them. the client's data, of course I see that it is complex, but the most possible.

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

    You are a very awesome mentor! thank you! 🎉

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

    Great Video Leon, a little more work with Sequential agents vs multi agents but I think the effort is well worth it unless you know the demands won't grow. I have been very keen on using Assistant API but this gives more flexibility. For a simple RAG Bot, its pretty hard to beat the Assistants I guess, quick output, quick money (esp with 40 Mini). But the sequential agents is so very powerful. Thank you.

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

    awesome, another awesome video! looking forward to improved rag examples

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

    Thank you for your high value content ❤💯🙏 looking forward for the n8n tutoriels too 🎉

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

      You're welcome 🤗.

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

    The Sequential agents are amazing! More videos about It please.
    PD: Also how to use Flowise and Langchain at the same time and the benefits of using both together ;)
    Thanks, Leooo!!

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

    Awesome, Leon! Thanks so much! This is incredibly useful as always.
    I have a special use case I'd love to explore with sequential agents. I'm thinking of one agent tasked with collecting information from users (e.g., filling out a form with a defined number of variables) and another agent responsible for processing the information collected to provide any type of conclusion to the user :)

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

      @choistella5863, I am working on exactly the same, I could share my current flow, maybe it would help.

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

      @@LuisOrtizFX
      Thanks so much for your answer !!!
      It would be amazing if you could share your flow :)

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

      @@LuisOrtizFX I would like to take a look, how can you share this with us?

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

      @jhonymonhol6851 I'm cleaning up some sensitive data out of it,, and I will share as a gist today. I'm actually getting VERY CLOSE to making it work quite nice (but needs work), I'm sure we can collab and make it perfect!

  • @faridullahkhan1
    @faridullahkhan1 5 месяцев назад +6

    Leon van Zyl, thank you for your valuable videos, very informative. I learned alot from your content. I wanted to ask, are you able to make a video that shows how to use N8N with Flowise and host them both in own cloud? thank you,

    • @leonvanzyl
      @leonvanzyl  5 месяцев назад +9

      That's actually my favourite stack! I have both Flowise and n8n running on Render with some automation.
      I'll create a video on this.

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

      I just deployed this last night in AWS. Quick note, make sure you use more than a 8gb disk (I ran out of space, worked when I used 28gb) and also use the Docker instructions (NPM froze on me installing both for some reason).

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

      @@leonvanzyl very much looking forward to this.

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

      @@leonvanzyl I have some workflows written in langgraph, which is better no code framework to use instead of langgraph ? Or can I use langgraph via api with n8n ? Thank you

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

    Thanks Leon! Great tutorial!

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

    Really nice video once again Leon 😊 I was waiting for the final app running 😂 how did it go?

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

      Thank you for the feedback 🙏.
      Hahaha, I'm sure the code would have worked 😂

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

    can you use both in hybrid setup

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

    I would love to know how to send additional parameters (like "name") from Telegram to Flowise. I can currently only get sessionID to work (for Upstart Redis).

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

      You can try adding variables inside of the "question" parameter when querying Flowise.

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

      You would need to use a tool node in flowise that uses code (use the code template in flowise click "see example") that will POST your json schema, and a tool agent to use that tool.

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

    Hi Leon, amazing work as always! Could you create a video on calling child flows from a main flow? The documentation on flowise is out of date I think, as the 'tool agent' seems to be deprecated, and the other options for this use are a bit confusing. Thanks mate!

    • @RohitWadhwa
      @RohitWadhwa 11 дней назад

      Yes, I am also looking for the same, any documentation which we can follow?

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

    Great video! I see you use both Flowise and Langflow. Which one is your favorite? For production use

  • @umqualquerporai
    @umqualquerporai 5 месяцев назад +4

    What is this error about?
    Error buildAgentGraph - Cannot read properties of undefined (reading 'label')
    I set two agents with a retrieval tool connected to pinecone for each one. Followed the same steps as the video.

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

      Followed the video step-by-step and got that same error message
      Error buildAgentGraph - Cannot read properties of undefined (reading 'label')
      Wondering how you can debug Flowise when errors like this come up?

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

      @@Thecoolestcouple1 I ran into the same issue. Wonder if you have figured out how to debug it? Thanks!

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

      @umqualquerporai, I ran into the same issue. Wonder if you have figured out how to debug it? Thanks!

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

      This is an issue with the variable used in LLM Node.
      Instructions are clear that you are supposed to use `$flow.output.`
      I think this is misunderstanding. From what I can tell. The structured JSON this is referring to is the output of the LLM directly which looks like the following.
      ```
      {
      "content": 'Hello! How can I assist you today?',
      "name": "",
      "additional_kwargs": {},
      "response_metadata": {},
      "tool_calls": [],
      "invalid_tool_calls": [],
      "usage_metadata": {}
      }
      ```
      The structured JSON output of the LLM we are supposed to use here seems to be within `$flow.output.content`

    • @aaronmcintyre286
      @aaronmcintyre286 2 месяца назад

      Ignore this. Still a problem. Debugged to successful setting state but failing to return to the LLM Node or continue.

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

    Great video as always.

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

    Thanks for the video, one question: Where can I define the system context, for receive the user? Thank you so much

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

    Thanks for your tutorials! I can't seem to see multi or sequential agents. Is this a version issue?

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

    In Python it is possible chat with Excel files using langchain and pandasai (storing the excel data into a SmartDataframe). Do you know if it is possible do something similar with flowise?

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

    Hi Leo, really love your videos! Thanks for that!
    I was wondering if it is possible for a worker (or two) in an agentflow to create for example an instapost and the picture for it at the same time? Tried to connect the image creator tool to an worker, but can not make it running. Do you have any ideas?

  • @santiagoghione9177
    @santiagoghione9177 2 месяца назад

    Muy buen canal y excelente contenido

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

    Hi Leon, I've noticed that in the flowise cloud that having a node on the canvas without a connection always throws errors. Have you noticed that? It seems to have changed recently?

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

    I would love if you showcase the code, to see if the results! And if the app works. Amazing content really 🙏

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

      Noted.

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

      @@leonvanzyl I meant to test the code in the video! Maybe I expressed wrongly

  • @Emanuel-Sampaio
    @Emanuel-Sampaio 5 месяцев назад

    Hey Leon... Why in both examples do you instructs the worker to pass the result to the other worker (12:25), but it always goes back to the supervisor (who takes care of it)!?

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

      I have found that the supervisor would sometimes end the flow early if you don't provide clear instructions.

    • @Emanuel-Sampaio
      @Emanuel-Sampaio 5 месяцев назад

      @@leonvanzyl Thank your!

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

      ​@@leonvanzylso flowise sequential agents somehow ultimately fallbacks to supervisor?

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

    Good one again @Leon.. Can i ask how LLM node and Condition Agent is different based on this video?.. might be a lame query :) or shall i put it like is LLM Node + Condition = Condition agent?

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

      Actually, that's a very good way to look at it.
      The LLM Node can return a structured output which a condition node can then use.

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

    Is it possible to loop back to the human for confirmation or feedback? I.e. human in the loop 😊

    • @leonvanzyl
      @leonvanzyl  5 месяцев назад +2

      I'm actually going to create a video on this. It's possible, but I think it requires a bit of explanation. Nothing too extreme though. Involves some state variables, LLM nodes, memory and conditions.

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

      @@leonvanzyl thank you so much! This is a really important architecture for many tasks, since the LLMs typically need human guidance and confirmation to promote better results.

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

    Maaaan you da MvP! Thanks

  • @swift-immersive
    @swift-immersive 5 месяцев назад

    Hey Leon, always incredible content. Are you avaiable for hire?

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

      Thank you. You can contact me via email (in about section) or my automation agency (in video description).

    • @swift-immersive
      @swift-immersive 5 месяцев назад

      @@leonvanzyl Great, sent you an email.

  • @user-uv3nv2bc6v
    @user-uv3nv2bc6v 5 месяцев назад

    Very cool Leon. Do you have website where you share this flows? Or maybe we can buy some from you :-)

    • @leonvanzyl
      @leonvanzyl  5 месяцев назад +2

      Thank you. I'll see if I can share them on a GitHub repo or somewhere.

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

    Hey leon, I just watched a video of Sam Altman talking about the five stages of AI development.
    The first stage is the chatbot.
    The second stage is the reasoner, (which is the stage we are currently in.)
    The third stage is the AI agent. The fourth stage is the innovator. And the fifth stage is the global organization.
    I would like to know, in this context, how you think it's interesting to learn FlowWise, given that the next stage is the development of autonomous agents.
    Is it still worth spending time learning FlowWise, or would it be better to wait for the next stage (which should arrive much faster than the first two stages?") Thanks

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

      Hey there!
      It's definitely worth learning tools like Flowise.
      Especially Agentflows, which gives you the low level building blocks to build autonomous agents.

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

    Thanks for the video, Leon! I was wondering if it is possible with Sequential Agents to set a condition that "one agent finishes its task"?
    I want one agent to ask the user about 10-15 questions to gather a lot of information and then send it to another agent that will analyze the information before responding to the user. Do I need to create 10-15 nodes to store each piece of information? Thanks if you have time to answer, and thank you very much for all you videos! It helps a lot !!

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

      Thank you for the feedback!
      You could probably create your example using a normal agent in Flowise. I guess it depends on what the second agent in the chain needs to do.
      I would honestly suggest that you first try to create your example using a normal flow with a tool agent.
      Agentflows might not be a good match for collecting information from a user in a loop.

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

    Have you ever tried with Azure open AI? It works similar?

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

    Not sure which one should be used when. Need some help in understanding it. Thanks.

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

      Start with Multi agents. If you feel that you need more control over the agents then switch over to sequential agents.

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

    Excellent tutorial! 👏
    I've been trying to get Flowise API to work in an app much like a pipeline outside the chatbot. According to the documentation you can only stream output with a Chain or Tool Agent. I attempted to use a Sequential Agent like in your example but it only returns the final result and not the stream itself. Do you think you can do a video on how to correctly accomplish this? Thanks!

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

      I think the agentflows cannot be streamed at this stage.

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

      ​@leonvanzyl I see. I even tried it with a Chain too but did not work as well.

  • @lazyjuan2197
    @lazyjuan2197 2 месяца назад

    I noticed, currently there is no Multi Agents section available in flowise v1.4.12 anymore.

    • @leonvanzyl
      @leonvanzyl  2 месяца назад

      You are using a very old version of FW. Multi Agents were introduced from v2.

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

    Hey how do I join your channel?….can’t see any options to be a member? Thx

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

      You should see a "Join" button somewhere on any of my vids.

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

      @@leonvanzyl hey weirdly it’s not showing up on iPad…fine on android…FYI…

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

    I think sequential is so complicated seeing that the previous squema does the same.. don't you think? What would be the advantages or disadvantages of both?

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

    Thank you Leon. Great video. I can see so much potential for this. I did run into an issue however, duplicating your sequential workflow (exact, except for using ChatOllama, instead of ChatOpenAI). When I run the flow, the software developer is called, as it should, stating that the code needs to be reviewed, but then i get the error: Error buildAgentGraph - Error: No tool calls found in the response. and the flow just stops there. Any suggestions?

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

      You need to use an advanced model for multi-agents. If you're using Ollama, it will have to be the equivalent of the Llama 3.1 70b model.

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

      @@leonvanzyl Ah great. Thank you. Will give that a go then (or use a non-local one).

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

      @@leonvanzyl i just changed to GrogChat (llama 3.1 70b) and that seems to work better, although the software developer seems to think it has done a good enough job and does not need to do more, after the code review, even if the code reviewer suggested more changes :D

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

    What are the system specs are you running these models on? It looks super snappy when they respond

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

      I'm using an OpenAI model in this video, so my specs don't really matter.
      If speed is impoyto you then I highly recommend giving Groq a try. I've got a dedicated video on Groq.

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

    Am I crazy or is some of this out of date already? I can't find the start, LLM, or the state node... whats up?

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

      What version of FW are you on? These nodes were added with v2

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

      @@leonvanzyl If you get someone else who asks this... I was in Chatflow NOT Agentflow. User error in the biggest way.

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

    I really love your videos. This is no exception. Do you have a Discord or something? I am really interested in getting sequential agent working with Llama 3.1 but having issues. Again, awesome video and thanks.

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

      Thank you! I actually suggest joining the Flowise AI dievord directly.

  • @HybridTraders
    @HybridTraders 6 дней назад

    I can't find multi-agents in my version of Flowise. I can't even edit the title?????

    • @leonvanzyl
      @leonvanzyl  6 дней назад

      You need to be on version 2 or greater.

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

    Hi Leon apologies if I already asked this in earlier videos… can FW handle calling JS function in the same way as shown here ruclips.net/video/HsWwyipZNHw/видео.htmlsi=i8fHxMZmliGzBcwz

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

      Absolutely.
      The custom tools in FW run in a node environment, so you can add JavaScript code.
      I created a video on this. It's one of the older videos, but tools still work the same way.
      ruclips.net/video/_K9xJqEgnrU/видео.html

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

      @@leonvanzyl Bakgat! Baie Dankie!

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

      @@leonvanzyl Thx, Leon is there a way to use GraphRAG with FW? if it is possible could you create tutorial on this or point me what you think would be good starting point, thx Manie

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

    Until Flowise add streaming capabilities to AgentFlows and Sequential agents they are pretty much redundant. As through API the responses are delivered in one huge block of text. Making it unusable for production applications.

    • @leonvanzyl
      @leonvanzyl  5 месяцев назад +2

      I kinda agree with you to a smaller extent.
      Consider this:
      You could call the API from a frontend (like a chatbot) or via an automation / non client facing process.
      If you're using it as a chatbot via the web embed, then I agree. It would be a bit frustrating to wait for a response. Flowise will definitely add streaming for this, so it won't be an issue for long.
      If you're using it during a workflow or backend process then streaming really doesn't matter.
      For example, you could have some research team execute at 9am every morning using Make, Zapier or n8n. The final result will then be emailed to you or stored in a database. I suspect that this will be the most common use-case for Agentflows.