Shell commands can be frustrating to memorize and use—CLAII is here to help!
Generate, refine, and execute commands effortlessly with free, self-hosted AI.
✅ Fast & Lightweight
✅ Self-Hosted (Ollama support)
✅ Supports Multiple AI APIs
CLAII supports all major AI APIs, so you can choose the best model for your needs:
| Model | Status | Notes |
|---|---|---|
| Ollama | ✅ Supported | Local & self-hosted |
| OpenAI | ✅ Supported | Requires API key |
| DeepSeek | ✅ Supported | Requires API key |
| Perplexity | ✅ Supported | Requires API key |
| Mistral | ✅ Supported | Requires API key |
| Gemini | ✅ Supported | Requires API key |
CLAII allows you to:
- Generate shell commands from natural language.
- Refine commands with AI assistance.
- Execute commands directly (optional).
claii chat "Create a React project with Vite and Tailwind"Using Ollama (qwen2.5-coder:1.5b)
AI: npm create vite@latest my-app && cd my-app && npm install tailwindcss postcss autoprefixer && npx tailwindcss init -pclaii chat "Create a React project with Vite and Tailwind" --runUsing Ollama (qwen2.5-coder:1.5b)
AI: npm create vite@latest my-app && cd my-app && npm install tailwindcss postcss autoprefixer && npx tailwindcss init -p
Executing command...Download the latest .whl file from GitHub Releases and install it using:
pip install path/to/claii-x.x.x-py3-none-any.whlYou can now download and install CLAII directly from pip!
pip install claii-aiFor Arch Linux users, an AUR package will be available soon.
Before using CLAII, set up your preferred AI tool.
claii config set tool (ollama|openai|deepseek|perplexity|mistral|gemini)If you're not using Ollama, you must provide an API key:
claii config set key (openai|deepseek|perplexity|mistral|gemini) <your_api_key>If using Ollama, specify your local model:
claii config set model "mistral"| Feature | Status | Notes |
|---|---|---|
| Generate shell commands | ✅ Done | Works with all supported models |
| Refine existing commands | ✅ Done | AI improves or corrects commands |
| Run commands automatically | ✅ Done | Use --run flag to execute |
| Support for DeepSeek AI | ✅ Done | Requires API key |
| Support for Perplexity AI | ✅ Done | Requires API key |
| Support for Mistral AI | ✅ Done | Requires API key |
| Support for Gemini AI | ✅ Done | Requires API key |
| AUR Package | 🔜 Coming Soon | Arch Linux package |
| PyPI Release | ✅ Done | Install via pip install claii-ai |
- Multi-model support: Easily switch between different AI models (OpenAI, Ollama, Perplexity, Mistral, Gemini, DeepSeek)
- Plugin system: Extend CLAII with custom commands, AI models, and tools
- Simple configuration: Easy-to-use config commands for API keys and model selection
- Command system: Well-organized command structure for different operations
claii chat "Your message here"claii chat "Your message here" --tool openai
claii chat "Your message here" --tool ollama
claii chat "Your message here" --tool mistral
# And more!# Set API keys
claii config set key openai your_api_key
# Set models
claii config set model ollama llama3
# View configuration
claii config get-allCLAII includes a flexible plugin system for extending its functionality:
# List all available plugins
claii system list-plugins
# Enable a plugin
claii system enable-plugin plugin_name
# Disable a plugin
claii system disable-plugin plugin_name# Use a model provided by a plugin
claii chat "Your message" --tool plugin_model_nameFor more information on using and creating plugins, see:
- @AdhamAfis for his incredible work on the plugin system.
MIT