Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

aicli100

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

aicli100

A CLI to use AI directly from the Terminal.

pipPyPI
Version
1.1.1
Maintainers
1

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

  • Clone the repository:

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

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

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

    python -m build
    

Using pip

  • Install the package:
    pip install aicli100
    
  • Run the app:
    aicli100
    

Usage

  • Run the CLI application:

    python src/main.py
    
  • 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

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts