CLI tool for LLM-powered system command execution via natural language
Top 97.8% on sourcepulse
Loz is a command-line interface tool that integrates Large Language Models (LLMs) with Unix-like operating systems, enabling users to execute system commands and process data via natural language prompts. It targets developers and power users seeking to leverage AI for shell scripting, automation, and data manipulation.
How It Works
Loz translates natural language instructions into executable shell commands, supporting direct command execution and Unix pipe integration. It interfaces with LLMs via OpenAI API or Ollama, allowing users to choose their preferred model (e.g., Llama2, CodeLlama, GPT-3.5-turbo). This approach bridges the gap between human intent and machine execution, simplifying complex command-line operations.
Quick Start & Requirements
sudo npm install loz -g
llama2
and codellama
models.OPENAI_API_KEY
in .env
or shell environment.Highlighted Details
loz "find the largest file"
).ls | loz "count files"
)..loz_log
within Git repositories.Maintenance & Community
Licensing & Compatibility
Limitations & Caveats
rm
or mkfs
.7 months ago
1 week