Recommend Agent Count • AI Agents Framework

recommend_agent_count: Recommend the optimal number of agents based on task complexity.

recommend_agent_count

Function

</div>

This function is defined in the auto module.

Recommend the optimal number of agents based on task complexity.

Diagram

Input Data

Agent: recommend_agent_count

Output Result

Signature

python
def recommend_agent_count(task_description: str) -> int

Parameters

ParamField str

The task to analyze

Returns

ResponseField int

Recommended number of agents (1-4)

Uses

  • BaseAutoGenerator.analyze_complexity

Used By

Source

View on GitHub

praisonai/auto.py at line 443


Related Documentation