Skip to main content

AutoGenerator

Defined in the auto module.
AI Agents Framework Auto-generates agents.yaml files from a topic description. Inherits from BaseAutoGenerator for shared LLM client functionality.

Constructor

Any
default:"'Movie Story writing about AI'"
No description available.
Any
default:"'test.yaml'"
No description available.
Any
default:"'crewai'"
No description available.
Optional
No description available.
str
default:"'sequential'"
No description available.
bool
default:"False"
No description available.

Methods

recommend_pattern()

Recommend the best workflow pattern based on task characteristics.

generate()

Generates a team structure for the specified topic.

convert_and_save()

Converts the provided JSON data into the desired YAML format and saves it to a file.

merge_with_existing_agents()

Merge existing agents.yaml with new auto-generated agents.

discover_tools_for_topic()

Discover appropriate tools for the topic using intelligent matching.

get_user_content()

Generates a prompt for the OpenAI API to generate a team structure.

Usage

Source

View on GitHub

praisonai/auto.py at line 614