Set global and flow-specific defaults.
controlflow.defaults.agent
:
default_agent
parameter when decorating your flow function or creating the flow object.
research_task
and writing_task
will use the researcher
and writer
agents by default.
task.agents
)@flow(default_agent=...)
)controlflow.defaults.agent
)task1
will use the flow_agent
task2
will use the task_agent
task3
will use the global_agent