Top AI Repos — open-source AI, indexed and scored
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
Loz is a command-line tool that enables your preferred LLM to execute system commands and utilize Unix pipes, integrating AI capabilities with other Unix tools.
| Date | Stars |
|---|---|
| 2026-07-31 | 260 |
| 2026-08-06 | 260 |
Today
— stars today
This week
— stars this week
This month
— stars this month
Momentum
0.0
growth rate 0.00%/day
## What's New
### v0.4.1 - 2026-02-16
- **Added**
- **Guardrails for dangerous commands**: Loz now includes built-in safety guardrails that automatically block potentially dangerous shell commands before execution. The following commands are blocked:
- `rm -rf /` and its bypass variants (`rm -rf/*`, `rm -rf /.`)
- `shutdown` and `reboot` commands
- Fork bomb: `:(){ :|:& };:`
- Filesystem formatting: `mkfs`
- Direct disk operations: `dd if=`
- This feature provides an additional layer of protection to prevent accidental system damage, complementing the existing confirmation prompts.
### v0.4.0 - 2026-02-08
- **Added**
- Cross-platform command execution: Loz now detects your OS and shell (Linux, macOS, Windows PowerShell, or cmd) and generates/executed commands accordingly.
- Always prompts for Y/N confirmation before running any command, for improved safety.
- Handles LLM responses in Markdown code blocks (triple backticks) and parses commands correctly.
- Improved error and warning messages for non-interactive terminals and shell mismatches.
- Enhanced Windows support: runs PowerShell/cmd commands natively, not just bash.
- **Fixed**
- Commands are now executed on Windows, Linux, and WSL as expected.
- Fixed issues with command parsing and JSON extraction from LLM output.
- Improved logging and user feedback for command execution and shell compatibility.
# Loz [](https://www.npmjs.com/package/loz)

Loz is a command-line tool that enables your preferred LLM to execute system commands and utilize Unix pipes, integrating AI capabilities with other Unix tools.
## Previous Releases
### v0.3.1 - 2024-03-18
- **Added**
- Git commit log files are now stored in .loz_log within each Git repository where Loz is executed.
- The ability to enable/disable appending 'generated by ${model name}' at the end of the Git commit message by running config attribution true or config attribution false.
- Added --attribution (-a) runtime argument to override the config attribution setting. The original attribution value stored remains unchanged.
### v0.3.0 - 2024-02-24
- **Added**
- Run Linux commands based on user prompts. Users can now execute Linux commands using natural language. For example, by running `loz "find the largest file in the current directory"`,
`Loz` will interpret the instruction and execute the corresponding Linux commands like `find . -type f -exec ls -l {} + | sort -k 5 -nr | head -n 1` to find the largest file. See more [examples](#examples).
### v0.2.13 - 2024-02-22
- **Added**
- Enhanced Git Commit Formatting: Commit messages are now structured with a clear separation between the title and body, improving readability and adherence to Git best practices.
## Getting Started
To get started, run the following npm command:
```
$ sudo npm install loz -g
```
Or clone the repository:
```
$ git clone https://github.com/joone/loz.git
```
NodeJS and npm are required for this program to work. If you're on Linux, install them using your package manager. `sudo apt install nodejs npm` or `sudo dnf install nodejs npm` or `sudo pacman -S nodejs npm`
Then install the other required dependencies:
```
$ ./install.sh
```
## Configuring LLM
Loz supports [OpenAI API](https://platform.openai.com/docs/quickstart?context=node), [Ollama](https://github.com/ollama/ollama), and [GitHub Copilot](https://github.com/features/copilot) so you can switch between these LLM services easily, using the `config` command in the interactive mode.
### Set up Ollama
To utilize Ollama on your local system, you'll need to install both llama2 and codellama models. Here's how you can do it on a Linux system:
```
$ curl https://ollama.ai/install.sh | sh
$ ollama run llama2
$ ollama run codellama
```
For more information, see https://ollama.ai/download
### Set up Excerpt of 13,252 characters
Read on GitHubWould you bet a product on this? Bounded 0–100 and slow moving.
matched fp:f1c24b1e0453df90, topic:llm, topic:gpt
matched fp:f1c24b1e0453df90, topic:automation