Create Agent Scheduler • AI Agents Framework

create_agent_scheduler: Factory function to create agent scheduler.

create_agent_scheduler

Function

</div>

This function is defined in the agent_scheduler module.

Factory function to create agent scheduler.

Diagram

Input Data

Agent: create_agent_scheduler

Output Result

Signature

python
def create_agent_scheduler(agent: Any, task: str, config: Optional[Dict[str, Any]]) -> AgentScheduler

Parameters

ParamField Any

PraisonAI Agent instance

ParamField str

Task description

ParamField Optional

Optional configuration

Returns

ResponseField AgentScheduler

Configured AgentScheduler instance

Uses

  • AgentScheduler

Source

View on GitHub

praisonai/agent_scheduler.py at line 321


Related Documentation