Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.praison.ai/llms.txt

Use this file to discover all available pages before exploring further.

recommend_agent_count

Function
This function is defined in the auto module.
Recommend the optimal number of agents based on task complexity.

Signature

def recommend_agent_count(task_description: str) -> int

Parameters

task_description
str
required
The task to analyze

Returns

Returns
int
Recommended number of agents (1-4)

Uses

  • BaseAutoGenerator.analyze_complexity

Used By

Source

View on GitHub

praisonai/auto.py at line 407

Agents Concept

Single Agent Guide

Multi-Agent Guide

Agent Configuration

Auto Agents