Skip to content

llm-workflow-engine/lwe-plugin-shell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

LLM Workflow Engine (LWE) Shell plugin

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.

Installation

From packages

Install the latest version of this software directly from github with pip:

pip install git+https://github.com/llm-workflow-engine/lwe-plugin-shell

From source (recommended for development)

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 .

Configuration

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

Usage

From a running LWE shell:

/shell Print the current working directory

About

LLM Workflow Engine (LWE) Shell plugin

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages