Metadata-Version: 2.3
Name: aicli100
Version: 1.0.4
Summary: A CLI to use AI directly from the Terminal.
Project-URL: Homepage, https://github.com/roberto-fernandino/aicli_project
Author-email: Roberto Fernandino <romfernandino@gmail.com>
License-File: LICENSE
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.8
Requires-Dist: aiohttp==3.9.5
Requires-Dist: aiosignal==1.3.1
Requires-Dist: annotated-types==0.7.0
Requires-Dist: anyio==4.4.0
Requires-Dist: attrs==23.2.0
Requires-Dist: backoff==2.2.1
Requires-Dist: beautifulsoup4==4.12.3
Requires-Dist: build==1.2.1
Requires-Dist: certifi==2024.7.4
Requires-Dist: cffi==1.16.0
Requires-Dist: charset-normalizer==3.3.2
Requires-Dist: click==8.1.7
Requires-Dist: configargparse==1.7
Requires-Dist: diff-match-patch==20230430
Requires-Dist: diskcache==5.6.3
Requires-Dist: distro==1.9.0
Requires-Dist: filelock==3.15.4
Requires-Dist: flake8==7.1.0
Requires-Dist: frozenlist==1.4.1
Requires-Dist: fsspec==2024.6.1
Requires-Dist: gitdb==4.0.11
Requires-Dist: gitpython==3.1.43
Requires-Dist: grep-ast==0.3.2
Requires-Dist: h11==0.14.0
Requires-Dist: httpcore==1.0.5
Requires-Dist: httpx==0.27.0
Requires-Dist: huggingface-hub==0.23.4
Requires-Dist: idna==3.7
Requires-Dist: importlib-metadata==7.2.1
Requires-Dist: importlib-resources==6.4.0
Requires-Dist: jinja2==3.1.4
Requires-Dist: jsonschema-specifications==2023.12.1
Requires-Dist: jsonschema==4.22.0
Requires-Dist: litellm==1.41.6
Requires-Dist: markdown-it-py==3.0.0
Requires-Dist: markupsafe==2.1.5
Requires-Dist: mccabe==0.7.0
Requires-Dist: mdurl==0.1.2
Requires-Dist: multidict==6.0.5
Requires-Dist: networkx==3.2.1
Requires-Dist: numpy==1.26.4
Requires-Dist: openai==1.35.10
Requires-Dist: packaging==24.1
Requires-Dist: pathspec==0.12.1
Requires-Dist: pillow==10.4.0
Requires-Dist: prompt-toolkit==3.0.47
Requires-Dist: pycodestyle==2.12.0
Requires-Dist: pycparser==2.22
Requires-Dist: pydantic-core==2.20.1
Requires-Dist: pydantic==2.8.2
Requires-Dist: pyflakes==3.2.0
Requires-Dist: pygments==2.18.0
Requires-Dist: pypandoc==1.13
Requires-Dist: pyproject-hooks==1.1.0
Requires-Dist: python-dotenv==1.0.1
Requires-Dist: pyyaml==6.0.1
Requires-Dist: referencing==0.35.1
Requires-Dist: regex==2024.5.15
Requires-Dist: requests==2.32.3
Requires-Dist: rich==13.7.1
Requires-Dist: rpds-py==0.18.1
Requires-Dist: scipy==1.13.1
Requires-Dist: smmap==5.0.1
Requires-Dist: sniffio==1.3.1
Requires-Dist: sounddevice==0.4.7
Requires-Dist: soundfile==0.12.1
Requires-Dist: soupsieve==2.5
Requires-Dist: tiktoken==0.7.0
Requires-Dist: tokenizers==0.19.1
Requires-Dist: tqdm==4.66.4
Requires-Dist: tree-sitter-languages==1.10.2
Requires-Dist: tree-sitter==0.21.3
Requires-Dist: typing-extensions==4.12.2
Requires-Dist: urllib3==2.2.2
Requires-Dist: wcwidth==0.2.13
Requires-Dist: yarl==1.9.4
Requires-Dist: zipp==3.19.2
Description-Content-Type: text/markdown

# 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:
   ```sh
   git clone https://github.com/yourusername/aicli.git
   cd aicli
   ```

2. Create a virtual environment and activate it:
   ```sh
   python -m venv env
   source env/bin/activate  # On Windows use `env\Scripts\activate`
   ```

3. Install the required dependencies:
   ```sh
   pip install -r requirements.txt
   ```

4. Build the project:
   ```sh
   python -m build
   ```

### Using pip

1. Install the package:
   ```sh
   pip install aicli100
   ```


## Usage

1. Run the CLI application:
   ```sh
   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](LICENSE) file for details.

## Contributing

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

## Author

Roberto Fernandino - [romfernandino@gmail.com](mailto:romfernandino@gmail.com)

## Acknowledgements

- [Ollama](https://ollama.com)
- [OpenAI](https://openai.com)
- [Anthropic](https://www.anthropic.com)