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.
LangChain powered shell command generator and runner CLI
| Date | Stars |
|---|---|
| 2026-07-31 | 1152 |
| 2026-08-04 | 1152 |
| 2026-08-05 | 1152 |
| 2026-08-06 | 1152 |
Today
— stars today
This week
— stars this week
This month
— stars this month
Momentum
0.0
growth rate 0.00%/day
# Shell-AI: let AI write your shell commands
[](https://pypi.org/project/shell-ai/)
[](https://opensource.org/licenses/MIT)
[](https://github.com/ricklamers/shell-ai/network)
[](https://github.com/ricklamers/shell-ai/stargazers)
Shell-AI (`shai`) is a CLI utility that brings the power of natural language understanding to your command line. Simply input what you want to do in natural language, and `shai` will suggest single-line commands that achieve your intent. Under the hood, Shell-AI leverages the [LangChain](https://github.com/langchain-ai/langchain) for LLM use and builds on the excellent [InquirerPy](https://github.com/kazhala/InquirerPy) for the interactive CLI.

## Installation
You can install Shell-AI directly from PyPI using pip:
```bash
pip install shell-ai
```
Note that on Linux, Python 3.10 or later is required.
After installation, you can invoke the utility using the `shai` command.
## Usage
To use Shell-AI, open your terminal and type:
```bash
shai run terraform dry run thingy
```
Shell-AI will then suggest 3 commands to fulfill your request:
- `terraform plan`
- `terraform plan -input=false`
- `terraform plan`
## Features
- **Natural Language Input**: Describe what you want to do in plain English (or other supported languages).
- **Command Suggestions**: Get single-line command suggestions that accomplish what you asked for.
- **Cross-Platform**: Works on Linux, macOS, and Windows.
- **Azure Compatibility**: Shell-AI now supports Azure OpenAI deployments.
## Configuration
Shell-AI can be configured through environment variables or a config file located at `~/.config/shell-ai/config.json` (Linux/MacOS) or `%APPDATA%\shell-ai\config.json` (Windows).
### Environment Variables
- `OPENAI_API_KEY`: (Required) Your OpenAI API key, leave empty if you use ollama
- `OPENAI_MODEL`: The OpenAI model to use (default: "gpt-3.5-turbo")
- `OPENAI_API_BASE`: The OpenAI API / OpenAI compatible API endpoint to use (default: None)
- `GROQ_API_KEY`: (Required if using Groq) Your Groq API key
- `SHAI_SUGGESTION_COUNT`: Number of suggestions to generate (default: 3)
- `SHAI_SKIP_CONFIRM`: Skip command confirmation when set to "true"
- `SHAI_SKIP_HISTORY`: Skip writing to shell history when set to "true"
- `SHAI_API_PROVIDER`: Choose between "openai", "ollama", "azure", or "groq" (default: "groq")
- `SHAI_TEMPERATURE`: Controls randomness in the output (default: 0.05). Lower values (e.g., 0.05) make output more focused and deterministic, while higher values (e.g., 0.7) make it more creative and varied.
- `CTX`: Enable context mode when set to "true" (Note: outputs will be sent to the API)
- `OLLAMA_MODEL`: The Ollama model to use (default: "phi3.5")
- `OLLAMA_API_BASE`: The Ollama endpoint to use (default: "http://localhost:11434/v1/")
### Config File Example
```json
{
"OPENAI_API_KEY": "your_openai_api_key_here",
"OPENAI_MODEL": "gpt-3.5-turbo",
"SHAI_SUGGESTION_COUNT": "3",
"CTX": true
}
```
### Config Example for OpenAI compatible
```json
{
"SHAI_API_PROVIDER": "openai",
"OPENAI_API_KEY": "deepseek_api_key",
"OPENAI_API_BASE": "https://api.deepseek.com",
"OPENAI_MODEL": "deepseek-chat",
"SHAI_SUGGESTION_COUNT": "3",
"SHAI_SUGGESTION_COUNT": "3",
"CTX": true
}
```
### Config example for MistralAI
```json
{
"SHAI_API_PROVIDER": "mistral",
"MISTRAL_API_KEY": "mistral_api_key",
"MISTRAL_API_BASE": "https://api.mistral.ai/v1",
"MISTRAL_MODEL": "codestral-2508",
"SHAI_SUGGESTION_COUNT": "3",
"CTX": true
}
```
### Config Example for Ollama
```json
{
"OPENAI_API_KEY":"",
"SHAI_SUGGESTION_COUNT": "3",
"Excerpt of 4,901 characters
Read on GitHub59
4
3
3
Elijas Dapšauskas · @themotleyfool · Lithuania
2
2
2
1
1
1
1
1
1
Would you bet a product on this? Bounded 0–100 and slow moving.
matched fp:5d9a269b734d47f5, topic:llm, topic:gpt
matched fp:5d9a269b734d47f5, topic:automation