A command-line AI assistant using Gemini
Project description
🧠 Canoaicli – AI Commands in Your Terminal
Canoaicli is a smart and minimalist CLI tool powered by Google Gemini. It transforms plain English instructions into terminal commands (bash, git, docker, etc.) – instantly.
⚡️ Quick Start
✅ Prerequisites
- Python ≥ 3.9
- A Gemini API key (Get it here)
📦 Installation
Install directly from PyPI:
pip install canoaicli
🔐 Configure Gemini API
Before using, run:
ai configure
Enter your Gemini API key when prompted. It will be saved securely on your system.
💡 Example Usage
Transform any plain English question into ready-to-run commands:
ai ask <your question>
Examples:
ai ask how to list all docker containers
ai ask delete all git branches except main
ai ask create a new virtual environment in python
The tool will instantly generate and display the appropriate command(s).
🕘 View Command History
Canoaicli keeps track of your previous prompts and responses.
ai history
Search your history:
ai history --search <keyword>
Clear the history:
ai history clear
📖 Help / CLI Options
View all available commands and options:
ai --help
or simply:
ai --h
🛠️ Features
- ✔️ Natural language → bash, git, docker, etc.
- 🧠 Powered by Gemini AI
- 🎨 Rich & interactive terminal UI
- 🔐 Secure API key configuration
- 📜 Local history with search
- 🧩 Easy to extend and customize
🤖 Ideal For
- Developers tired of googling shell commands
- Beginners looking to learn by example
- Productivity-focused engineers and power users
📦 Local development
To contribute to the project:
git clone https://github.com/carellihoula/AssistantIACLI.git
cd AssistantIACLI
pixi shell
pixi install
📄 License
Licensed under the MIT License.
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 canoaicli-1.1.0.tar.gz.
File metadata
- Download URL: canoaicli-1.1.0.tar.gz
- Upload date:
- Size: 30.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
64d76e00cdde215a80798b80df9e3e5287960d328ab66699ef3d69e914b47dd9
|
|
| MD5 |
878223e74bb334bf29dcc8f912c61f39
|
|
| BLAKE2b-256 |
9f6f01590f422ed090e61f14e3502d31e1091385f5f2bfa7b11cf41fcd4878ca
|
File details
Details for the file canoaicli-1.1.0-py3-none-any.whl.
File metadata
- Download URL: canoaicli-1.1.0-py3-none-any.whl
- Upload date:
- Size: 8.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3ac43bf739128e5a8c152f4241dcdebab397cc41ac08e18e00897f79d4cc9872
|
|
| MD5 |
110b5be04e92d62dabb85cf6a0946ef9
|
|
| BLAKE2b-256 |
1082044aa1263c9532c17047486d85f8bb37fe1d2342de0606d6dba23b8122bb
|