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.post1.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.post1-py3-none-any.whl (8.6 kB view details)

Uploaded Python 3

File details

Details for the file canoaicli-1.1.0.post1.tar.gz.

File metadata

  • Download URL: canoaicli-1.1.0.post1.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.post1.tar.gz
Algorithm Hash digest
SHA256 049d6756aae63b82e251bf10f5dbf9dba5e2686e676fe9703336c54ea419b973
MD5 58070a7416e46a31ac9f7bc3ae0afb7d
BLAKE2b-256 0ef911d657941e0250ad651ae9f1abb543e9c5dd77f31fbea55d9fd92e4f066a

See more details on using hashes here.

File details

Details for the file canoaicli-1.1.0.post1-py3-none-any.whl.

File metadata

File hashes

Hashes for canoaicli-1.1.0.post1-py3-none-any.whl
Algorithm Hash digest
SHA256 e88428b7fb08355a2547b9544b2d8dc67a1107b0919ec2a9d8ad5c83ced3ce45
MD5 5d24c446e29a67751d7f9c34b6ea6abb
BLAKE2b-256 1f5212ffaed47eb6d700e19c5673843e2539fb5d37ca54b617c7b7e2f7672461

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