https://github.com/php-workx/clai
clai adds intelligence to your command line.
https://github.com/php-workx/clai
Last synced: 4 months ago
JSON representation
clai adds intelligence to your command line.
- Host: GitHub
- URL: https://github.com/php-workx/clai
- Owner: php-workx
- License: mit
- Created: 2026-01-28T14:57:03.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2026-02-24T06:41:41.000Z (4 months ago)
- Last Synced: 2026-02-24T11:58:46.488Z (4 months ago)
- Language: Go
- Homepage: https://clai.sh
- Size: 189 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Agents: AGENTS.md
Awesome Lists containing this project
README
# clai
Your shell, with smart completions — supercharged with AI.
Start typing and get intelligent suggestions from your command history.
No more ↑↑↑ scrolling or trying to remember that complex kubectl command.
## ✨ Features
📜 **History-Aware Completions** — Suggestions from your actual command history as you type
🎯 **Inline Suggestions** — See what you'll run before you hit Enter (like fish, but everywhere)
🐚 **Works Everywhere** — Zsh, Bash, and Fish support
### Coming Soon
🎤 Voice-to-Command • 🔧 AI Error Diagnosis • 💡 Smart Output Extraction
## 🚀 Quick Start
```bash
# Install
brew tap runger/clai && brew install clai
# Add to your shell config (pick one)
echo 'eval "$(clai init zsh)"' >> ~/.zshrc
echo 'eval "$(clai init bash)"' >> ~/.bashrc
# Restart your shell — done!
```
## 💡 Example
```bash
git c█
git commit -m "fix: address review feedback" # from your history
git checkout main
git cherry-pick abc123
```
Type a few characters, get smart suggestions ranked by recency and context.
Press **Tab** to complete.
## 📚 Documentation
- [Getting Started](docs/getting-started.md)
- [Features & Usage](docs/features.md)
- [Configuration](docs/configuration.md)
- [CLI Reference](docs/cli-reference.md)
- [Troubleshooting](docs/troubleshooting.md)
## Requirements
- macOS or Linux
- Zsh, Bash, or Fish
## License
MIT