auto
AI Agents Framework Auto-generation module for PraisonAI agents and workflows. This module uses FULL LAZY LOADING for all heavy dependencies:- crewai: Only loaded when framework=‘crewai’ is used
- autogen: Only loaded when framework=‘autogen’ is used
- praisonaiagents: Only loaded when framework=‘praisonai’ is used
- litellm: Only loaded when structured output is needed
- openai: Fallback for structured output when litellm unavailable
- praisonai_tools: Only loaded when tools are needed
Import
Classes
BaseAutoGenerator
Base class for auto-generators with shared functionality.
AutoGenerator
Auto-generates agents.yaml files from a topic description.
WorkflowAutoGenerator
Auto-generates workflow.yaml files from a topic description.
JobWorkflowAutoGenerator
Auto-generates job workflow YAML files with agent-centric steps.
Functions
get_all_available_tools()
Get all available tools organized by category.
get_tools_for_task()
Analyze a task description and return appropriate tools.
recommend_agent_count()
Recommend the optimal number of agents based on task complexity.

