A Python shell AI assistant that uses the OpenRouter API to generate responses to user input.
Apache License 2.0
git clone https://github.com/dheeraj21/open-router-shell-assistant.git
cd open-router-shell-assistant
pip install -r requirements.txt
rename .env.example file to .env and add your open router api key
python main.py
/help
: Display list of available commands/reset
: Reset the conversation history/save
: Save the conversation history to a file/quit
: Quit the chat session
The shell assistant uses the nousresearch/hermes-3-llama-3.1-405b
model by default, but you can change it easily by modifying the model
variable in the main.py
file.
requests
json
rich
dotenv
Apache License 2.0