AI Workflow Automator
A Python package that helps users design and automate AI-driven data pipelines by converting natural language instructions into structured, executable workflow configurations.
Overview
The AI Workflow Automator enables users to describe their desired data processing or AI workflow in plain English, and automatically converts it into a structured format that can be integrated with serverless AI and data processing tools. This allows non-technical users to create complex workflows without deep technical knowledge, focusing on the "what" rather than the "how."
Installation
pip install ai_workflow_automator
Usage
from ai_workflow_automator import ai_workflow_automator
# Basic usage with default LLM7 model
user_input = "Create a workflow that processes customer data, runs sentiment analysis, and stores results in a database"
result = ai_workflow_automator(user_input=user_input)
print(result)
Parameters
user_input(str): The natural language description of the desired workflowllm(Optional[BaseChatModel]): A LangChain LLM instance (defaults to ChatLLM7)api_key(Optional[str]): API key for LLM7 (if using default model)
Using Different LLM Providers
You can use any LangChain-compatible LLM by passing it to the function:
OpenAI
from langchain_openai import ChatOpenAI
from ai_workflow_automator import ai_workflow_automator
llm = ChatOpenAI()
response = ai_workflow_automator(user_input="your workflow description", llm=llm)
Anthropic
from langchain_anthropic import ChatAnthropic
from ai_workflow_automator import ai_workflow_automator
llm = ChatAnthropic()
response = ai_workflow_automator(user_input="your workflow description", llm=llm)
Google Generative AI
from langchain_google_genai import ChatGoogleGenerativeAI
from ai_workflow_automator import ai_workflow_automator
llm = ChatGoogleGenerativeAI()
response = ai_workflow_automator(user_input="your workflow description", llm=llm)
Default LLM Configuration
By default, the package uses ChatLLM7 from langchain-llm7. The free tier rate limits sufficient for most use cases. For higher rate limits:
- Set environment variable:
export LLM7_API_KEY="your_api_key" - Or pass directly:
ai_workflow_automator(..., api_key="your_api_key")
Get a free API key at: https://token.llm7.io/
Error Handling
The function will raise a RuntimeError if the LLM call fails or the output doesn't match the expected format.
Dependencies
- llmatch-messages
- langchain-core
- langchain-llm7 (optional, for default LLM)
Contributing
Issues and contributions welcome at: https://github.com/chigwell/ai-workflow-automator
Author
Eugene Evstafev (hi@euegne.plus)
Metadata
Release files for ai-workflow-automator 2025.12.21192054
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ai_workflow_automator-2025.12.21192054.tar.gz | 4.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ai_workflow_automator-2025.12.21192054-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.5 kB
Release files / ai_workflow_automator-2025.12.21192054.tar.gz
| Download URL | ai_workflow_automator-2025.12.21192054.tar.gz |
|---|---|
| Size | 4.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
49b907411a0a205512903cf2a13f5fbec75b880df4b111f17c31c9807e8f914f
|
|
BLAKE2b-256 checksum How to use checksums |
89cb987102320cc3ab403305ca8a5aa0215c7b061f5048287efa2895b7887cb9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.1
|
Release files / ai_workflow_automator-2025.12.21192054-py3-none-any.whl
| Download URL | ai_workflow_automator-2025.12.21192054-py3-none-any.whl |
|---|---|
| Size | 5.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a69a3a25c9820c5b0a0c6886e1d8e7210f4a9444ae9472306710056e8a2cc767
|
|
BLAKE2b-256 checksum How to use checksums |
de6d127193c26156c454918b97efce71b268969f4d80b3a0675ee0aa08345187
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.1
|