Switching between crews

Hey everyone,

I currently have 2 crews running smoothly, and at the moment I let users manually select which crew to engage with. This works fine for now, but I’m planning to scale up and add more crews in the future.

What I’d like to implement is a routing mechanism that automatically understands the user’s intent and forwards the task to the most appropriate crew.

My first approach was to add another crew solely responsible for determining the user’s intent, but that felt a bit annoying and costly.

I’ve looked into Flows, but they don’t seem to solve this particular use case. Has anyone implemented something similar or have any suggestions on the best way to handle intent-based crew routing?

Thanks in advance!

Hey Bedirhan,

Based on your description, this sounds to me like a use case that a Flow can easily handle.

  • Your first node (@start()) gets the request.
  • Then, a @router() decides which path the information should take. This router node can be something as simple as an LLM.call() or a standalone Agent (without a Crew), like we talked about over here. And then the flow continues:
    • Either to Full_Crew_A
    • Or to Full_Crew_B