Skip to content

protik09/terminal-ai

Repository files navigation

Terminal-AI

Python Language

PyPI - Version GitHub Maintenance Issues Open

Powershell Bash WinTerm

A zero-shot AI assistant in the terminal, backended by the GROQ AI, for blazing fast responses. The free API key from GROQ can be obtained here

Installation

To install protai, simply run the following command in your terminal:

pip install --upgrade protai

Usage

To use this application, simply run the following command in your terminal:

protai <query>

For example:

ProtAI Demo

Note

On first run you will be prompted to enter your free Groq AI API key. You can get one at the Groq AI website.

Important

You need to have a valid Groq AI API key to use this application.

Development

The GROQ API is using the llama3-8b-8192 model, as that has the fastest response time.

If you wish to develop for this application, you can clone the repository and install the dependencies using the scripts given:

git clone https://github.com/protik09/terminal-ai.git
cd terminal-ai
./activate_venv.sh

or

git clone https://github.com/protik09/terminal-ai.git
cd terminal-ai
.\activate_venv.ps1

To generate the wheel and upload to PyPI, we use the following command:

python setup.py upload

Important

Only the current maintainer has access to the PyPI repository API key. If you wish to contribute, please fork the repository and submit a pull request.

Prerequisites

Note

Program Flow Chart

Program Flow Chart

Contributing

Contributions are welcome! If you'd like to contribute to this application, please fork the repository and submit a pull request.

Warning

WSL2 is not supported for development. Please use a native Linux or Windows environment. There are issues with keyring access in WSL2.

License

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