Ais (ai shell) is interactive command line ai tool powered by ChatGPT (GPT-3.5)
Project description
- AIS -
Ais (ai shell) is interactive command line ai tool powered by ChatGPT (GPT-3.5). Ais can translate your query into a bash command and explain it to you if you want. In this way, you can get rid of hours of searching for small tasks and increase your learning spectrum.
Getting started
Installation instructions
(require python3.6+)
pip install ais-cli
Setup
Setup open ai access key
ais set ACCESS_KEY <KEY>
Running queryies
Turn to command
You can just write the what do you want. It will be turn a bash command
ais • open rtsp::113.76.151.33/1 with ffplay without sound
────────────── Command ───────────────────
ffplay -an rtsp://113.76.151.33/1
? Select action (Use arrow keys)
◌ ✅ Run this command
❔ Explain this command
❌ Cancel
Explain commands
If you select "Explain this command" action ChatCGT will explain this command for you.
? Select action (Use arrow keys)
◌ ✅ Run this command
❔ Explain this command
❌ Cancel
Regular questions
Run ais ask
for asking normal questions.
ais • ais ask how are you?
─────────── Result ─────────────
I am an AI language model, so I do not have feelings or emotions.
But thank you for asking! How may I assist you today?
Run system command in interactive mode
Use the !
character as the first character
ais • !whoami
knid
Run without interactive mode
Create bash script
ais -c "create port scanner with bash"
Ask regular questions
ais -c "ais ask Who is Ataturk"
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.