Command Line Artificial Intelligence Interface, an AI for your CLI.
Project description
CLAII - Command Line Artificial Intelligence Interface
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
All the APIs you need!
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 |
How CLAII Works
CLAII allows you to:
- Generate shell commands from natural language.
- Refine commands with AI assistance.
- Execute commands directly (optional).
Example Usage
claii chat "Create a React project with Vite and Tailwind"
Example Output
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 -p
Run the Command Automatically
claii chat "Create a React project with Vite and Tailwind" --run
Example Output
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 -p
Executing command...
Installation
📥 Method 1: Download the Wheel File (Recommended)
Download the latest .whl file from GitHub Releases and install it using:
pip install path/to/claii-x.x.x-py3-none-any.whl
📦 Method 2: Install from PyPI (Coming Soon)
Once available, install CLAII directly from PyPI:
pip install claii
🎩 Method 3: Install from the AUR (Coming Soon)
For Arch Linux users, an AUR package will be available soon.
Configuration
Before using CLAII, set up your preferred AI tool.
1️⃣ Select Your AI Tool
claii config set tool (ollama|openai|deepseek|perplexity|mistral|gemini)
2️⃣ Set Your API Key (If Required)
If you’re not using Ollama, you must provide an API key:
claii config set key (openai|deepseek|perplexity|mistral|gemini) <your_api_key>
3️⃣ Set Your Ollama Model (If Using Ollama)
If using Ollama, specify your local model:
claii config set model "mistral"
Features & Roadmap
| 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 | 🔜 Coming Soon | Install via pip install claii |
🚀 CLAII makes shell commands effortless! 🚀
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 claii_ai-0.1.0.tar.gz.
File metadata
- Download URL: claii_ai-0.1.0.tar.gz
- Upload date:
- Size: 11.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4df5da4ac2f7796d7ba251d0fba102f8ecb119ef51ece58233529fe723b78e4c
|
|
| MD5 |
324215536fab174ef19879dc439a562d
|
|
| BLAKE2b-256 |
9b19ef7ea701b60582e697322be47d90ff21e68955d005a25cd129975deb8e02
|
File details
Details for the file claii_ai-0.1.0-py3-none-any.whl.
File metadata
- Download URL: claii_ai-0.1.0-py3-none-any.whl
- Upload date:
- Size: 15.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
20ffcf8faf6ffbf9f365d6bd52f97929861e1b563e08eb77fe78664e493b8040
|
|
| MD5 |
8ba910c91c8406ea42de7fca5a2e5b5a
|
|
| BLAKE2b-256 |
fe5e789947558b45c6b4692474f1f0fd07401ef8821239895c21a6b6ab146a2b
|