Skip to main content

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

📦 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

canoaicli-1.1.0.tar.gz (30.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

canoaicli-1.1.0-py3-none-any.whl (8.5 kB view details)

Uploaded Python 3

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

Hashes for canoaicli-1.1.0.tar.gz
Algorithm Hash digest
SHA256 64d76e00cdde215a80798b80df9e3e5287960d328ab66699ef3d69e914b47dd9
MD5 878223e74bb334bf29dcc8f912c61f39
BLAKE2b-256 9f6f01590f422ed090e61f14e3502d31e1091385f5f2bfa7b11cf41fcd4878ca

See more details on using hashes here.

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

Hashes for canoaicli-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3ac43bf739128e5a8c152f4241dcdebab397cc41ac08e18e00897f79d4cc9872
MD5 110b5be04e92d62dabb85cf6a0946ef9
BLAKE2b-256 1082044aa1263c9532c17047486d85f8bb37fe1d2342de0606d6dba23b8122bb

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page