Skip to main content

aicli100

AICLI100 is a command line interface for using AI.

Features

  • Install and Check Ollama: Automatically installs and checks the Ollama AI tool on Linux systems.
  • API Key Management: Easily set and check API keys for OpenAI and Anthropic.
  • Model Management: List available AI models and set the desired model for AI requests.
  • Command Line Interface: Interact with the AI directly from the terminal using simple commands.

Installation

Using git

  1. Clone the repository:

    git clone https://github.com/yourusername/aicli.git
    cd aicli
    
  2. Create a virtual environment and activate it:

    python -m venv env
    source env/bin/activate  # On Windows use `env\Scripts\activate`
    
  3. Install the required dependencies:

    pip install -r requirements.txt
    
  4. Build the project:

    python -m build
    

Using pip

  1. Install the package:
    pip install aicli100
    
  2. Run the app:
    aicli100
    

Usage

  1. Run the CLI application:

    python src/main.py
    
  2. Use the following commands within the CLI:

    • /help or /?: Show help text.
    • /exit: Exit the application.
    • /clear: Clear the screen.
    • /keys-check: Check the status of API keys.
    • /key-set open_ai <api_key>: Set the OpenAI API key.
    • /key-set anthropic <api_key>: Set the Anthropic API key.
    • /set-model <model>: Set the AI model.
    • /models: List available AI models.

Configuration

The configuration file is located at ~/.aicli_config.ini. It stores API keys and user settings.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Contributing

Contributions are welcome! Please open an issue or submit a pull request.

Author

Roberto Fernandino - romfernandino@gmail.com

Acknowledgements

Metadata

Release files for aicli100 1.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for aicli100 1.1.1
File Size Uploaded
aicli100-1.1.1.tar.gz 8.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for aicli100 1.1.1
File Interpreter ABI Platform
aicli100-1.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 18.2 kB

Release files / aicli100-1.1.1.tar.gz

Download URL aicli100-1.1.1.tar.gz
Size 8.2 kB
Tags Source
SHA-256 checksum
How to use checksums
154971ecdb83c9a05f74036eb28f21ea5c497dea653294deb29585022e10d7d9
BLAKE2b-256 checksum
How to use checksums
7931a82a2db6c456b8bb9ea4eb9c2368c6c3368bded3130196c7bff345b3fd7d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.11.4

Release files / aicli100-1.1.1-py3-none-any.whl

Download URL aicli100-1.1.1-py3-none-any.whl
Size 10.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5c20f7420064e25b7239326633620f9f2a07a704c9fb8a890dd6ab650c4953fb
BLAKE2b-256 checksum
How to use checksums
f38df4e5de7e92879d035e67e758d8a4d9e897da81e228ddaa383cc42f5dbb97
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.11.4

Release history Release notifications | RSS feed

This release

1.1.1 This release

2 release files

1.1.0

2 release files

1.0.9

2 release files

1.0.8

2 release files

1.0.7

2 release files

1.0.6

2 release files

1.0.5

2 release files

1.0.4

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page