Skip to main content

WorkflowAutoGenerator

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

Constructor

str
default:"'Research and write about AI'"
No description available.
str
default:"'workflow.yaml'"
No description available.
Optional
No description available.
Optional[str]
No description available.
bool
default:"False"
No description available.
Any
No description available.

Methods

recommend_pattern_llm()

Use LLM to recommend the best workflow pattern with reasoning.

generate()

Generate a workflow YAML file.

agenerate()

Async version of generate() - Generate a workflow YAML file.

merge_with_existing_workflow()

Merge new workflow data with existing workflow file.

Usage

Source

View on GitHub

praisonai/auto.py at line 1495

AgentFlow Concept

Workflow Patterns

Routing

Workflows Feature

YAML Workflows