The TaskForce Class
👥 The TaskForce Class
Manage a group of Agent objects for collaboration and complex workflows.
Key Attributes
agents: List of Agent objects in the task forcecaching_dir: Directory to store cached responses
Key Methods
start_force(): Begin the task force's workflowexecute_agent(agent, prompt): Execute a specific agent's workflowrecord_result(agent): Save the result of an agent's workflowexit_force(): End the task force's workflow also delete the cache
Last updated