Quick question re: the `orchestrator` - does it on...
# marvin-ai
s
Quick question re: the
orchestrator
- does it only take care of sub task and dependency execution or is it capable of generating subtasks dynamically for a complex prompt and distributing it to the correct agent as well? The documentation only showed examples where subtasks and dependencies where defined before hand but in real use cases many queries need to be decomposed based on the query complexity.
2
j
It does not generate subtasks. However there is an example and convenience function for how to do this here https://controlflow.ai/patterns/planning
s
plan()
looks very useful. although i don't think it can create parallel tasks can it? have you ever had the chance to see how microsoft taskweaver's planner is implemented? They have a very robust planner agent that can create both sub tasks, dependent tasks, and parallel tasks and its able to traverse through each step and assign it to the correct agent. I'm wondering if this is something you guys would consider for CF Here is the MS planner https://github.com/microsoft/TaskWeaver/blob/main/taskweaver/planner/planner_prompt.yaml