Command-line tools for LLM Workers - llm-workers-cli and llm-workers-chat
Project description
llm-workers-tools
Command-line tools for LLM Workers.
Overview
llm-workers-tools provides command-line entry points for working with LLM scripts:
- llm-workers-cli: Batch processing tool for running LLM scripts with command-line or stdin input
- llm-workers-chat: Interactive chat interface for conversational LLM interactions
Installation
pip install llm-workers-tools
This will install both llm-workers (core) and llm-workers-console (UI) as dependencies.
Usage
Batch CLI Tool
Process prompts in batch mode:
# Single prompt
llm-workers-cli my-script.yaml "What is the capital of France?"
# Multiple prompts
llm-workers-cli my-script.yaml "prompt 1" "prompt 2" "prompt 3"
# Read from stdin
echo "prompt from stdin" | llm-workers-cli my-script.yaml -
# Enable verbose output
llm-workers-cli --verbose my-script.yaml "prompt"
# Enable debug mode
llm-workers-cli --debug my-script.yaml "prompt"
Interactive Chat
Start an interactive chat session:
# With specific script
llm-workers-chat my-script.yaml
# With default generic assistant
llm-workers-chat
# Resume last session
llm-workers-chat --resume
# With verbose logging
llm-workers-chat --verbose my-script.yaml
Chat Commands
In chat mode, use these commands:
/help- Show available commands/model <name>- Switch to different model/rewind [N]- Rewind to earlier message/display [setting] [value]- Show/modify display settings/cost- Show token usage and costs/export <name>- Export chat as markdown/save <name>- Save session to YAML/clear- Reset chat session/exit- Exit (auto-saves to.last.chat.yaml)
Documentation
Full documentation: https://mrbagheera.github.io/llm-workers/
License
See main repository for license information.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file llm_workers_tools-1.0.0rc7.tar.gz.
File metadata
- Download URL: llm_workers_tools-1.0.0rc7.tar.gz
- Upload date:
- Size: 2.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.3 CPython/3.13.4 Darwin/23.6.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5aada5e7d2973bb4ce2bac939dfb665853cc625e68a97b259ebc43f4f18317cc
|
|
| MD5 |
b72d7514b60213cedb91c8ad882525c9
|
|
| BLAKE2b-256 |
45b35089dc856bf1db5dc188d5007316f22fd1cc38542c99bdc3b93f885df1e8
|
File details
Details for the file llm_workers_tools-1.0.0rc7-py3-none-any.whl.
File metadata
- Download URL: llm_workers_tools-1.0.0rc7-py3-none-any.whl
- Upload date:
- Size: 4.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.3 CPython/3.13.4 Darwin/23.6.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bba19aeb857f6cc5e98e7501777388db45ae4f804469434fc457cca84df24280
|
|
| MD5 |
85412d75f96805770455d56b12d1c01c
|
|
| BLAKE2b-256 |
90fd9a6d98d0ed2410d922c1c64377b0e8f82a33ee973e3d21038c68bb796c40
|