> ## Documentation Index
> Fetch the complete documentation index at: https://praison.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Job Workflow Auto Generator • AI Agents Framework

> JobWorkflowAutoGenerator: Auto-generates job workflow YAML files with agent-centric steps.

# JobWorkflowAutoGenerator

> Defined in the [**auto**](https://praison.ai/docs/sdk/reference/praisonai/modules/auto.md) module.

AI Agents Framework

Auto-generates job workflow YAML files with agent-centric steps.

Generates workflows with `type: job` that include:

* agent: steps for AI agent execution
* judge: steps for quality gates
* approve: steps for approval gates
* run: steps for shell commands
* action: steps for built-in actions

## Constructor

**topic** `str` (default: 'Automate a task')

No description available.

**workflow\_file** `str` (default: 'job\_workflow\.yaml')

No description available.

**config\_list** `Optional`

No description available.

## Methods

> [card] [generate()](https://praison.ai/docs/sdk/reference/praisonai/functions/JobWorkflowAutoGenerator-generate.md)
>
> Generate a job workflow YAML file.

> [card] [agenerate()](https://praison.ai/docs/sdk/reference/praisonai/functions/JobWorkflowAutoGenerator-agenerate.md)
>
> Async version of generate() - Generate a job workflow YAML file.

## Usage

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
generator = JobWorkflowAutoGenerator(topic="Generate changelog and publish")
    path = generator.generate()
```

## Source

> [card] [View on GitHub](https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai/praisonai/auto.py#L2231)
>
> `praisonai/auto.py` at line 2231

***

## Related Documentation

> [card] [AgentFlow Concept](https://praison.ai/docs/docs/concepts/agentflow)

> [card] [Workflow Patterns](https://praison.ai/docs/docs/features/workflow-patterns)

> [card] [Routing](https://praison.ai/docs/docs/features/routing)

> [card] [Workflows Feature](https://praison.ai/docs/docs/features/workflows)

> [card] [YAML Workflows](https://praison.ai/docs/docs/features/yaml-workflows)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.