Shell plugin for LLM Workflow Engine
Transform natural language into a shell command, and optionally execute it.
WARNING: POTENTIALLY DANGEROUS -- YOU ARE RESPONSIBLE FOR VALIDATING THE COMMAND RETURNED BY THE LLM, AND THE OUTCOME OF ITS EXECUTION.
Install the latest version of this software directly from github with pip:
pip install git+https://github.com/llm-workflow-engine/lwe-plugin-shell
Install the latest version of this software directly from git:
git clone https://github.com/llm-workflow-engine/lwe-plugin-shell.git
Install the development package:
cd lwe-plugin-shell
pip install -e .
Add the following to config.yaml
in your profile:
plugins:
enabled:
- shell
# Any other plugins you want enabled...
# These are the default values.
shell:
command:
confirm: true
shell:
path: null
From a running LWE shell:
/shell Print the current working directory