Optional local python script execution support in workflows

A lot of us code scripts (hobby or otherwise) which leverage APIs of various subsystems we want to gather information from. Once the information is gathered, there is a need to make use of AI to analyze/convert/format/summarize before presentation.

Since the foundation of workflows, like custom commands to be executed at will are already there, i would like to have an optional local python script execution section with in workflows so that the input for AI is generated by the script (one of many other input areas like selection, clipboard etc).

The interface need not be to embed a code editor of sort, because python scripts can span modules and multiple code files. Just an input field which takes in the python command would do. This can open up any code written by AI tools to be readily invoked using the BoltAI workflows.

examples:
~/venv/bin/python service_health.py --service <service-name> | AI (to explain)
~/venv/bin/python get_pipeline_failures.py —pipeline-id <id> | AI (to investigate)

I can understand if this is not feasible (like literally embed in workflow section), but would love to have the feature implemented in any other way too, so that all of us can automate many things in our day to day lives.

Please authenticate to join the conversation.

Upvoters
Status

In Review

Board
💻

BoltAI Mac v2

Date

About 1 month ago

Author

prasadvelidi

Subscribe to post

Get notified by email when there are changes.