Synchronous version of run_all_tasks method
This is a method of the Agents class in the agents module.
def run_all_tasks() -> Any