Terminal GPT and Shell Genie: 2 Useful Terminal AI Chatbots (CLI)

Terminal GPT and Shell Genie: 2 Useful Terminal AI Chatbots (CLI)

Terminal GPT and Shell Genie: 2 Useful Terminal AI Chatbots (CLI)

Since the 2020 year, the Artificial Intelligence Technology has given us a lot to talk about, and that is why here at Desde Linux we have addressed this topic very frequently (AI publications). Above all, because many of the developments in this area occur under the philosophy of free and open source software development. So that they are more reliable, secure and transparent for all types of users (people and companies). And for that same reason, today, we usually have countless developments of applications, systems and AI platforms, both stable and in the process of evolution.

And one of the technological milestones that will surely capture the attention of many for this year and those to come, will be the integration of AI directly into operating systems, both proprietary, closed and commercial (Windows and macOS) and those that are free and open. (for GNU/Linux style computers and for mobile devices like Android). Furthermore, this will not only be available at the level of the Graphical User Interface (GUI) that traditional office users usually use, but also at the level of Command Line Interface (CLI) most commonly used by advanced users and IT professionals. Therefore, today we will take the opportunity to make you known 2 Useful Terminal AI (CLI) Chatbots Called “Terminal GPT and Shell Genie”.

PyGPT: Open Source AI Personal Assistant Written in Python

PyGPT: Open Source AI Personal Assistant Written in Python

But, before you start reading this post about these 2 AI CLI Chatbots called «GPT Terminal and Shell Genie», we recommend the previous related post with another similar open source AI GUI App made with Python:

PyGPT: Open Source AI Personal Assistant Written in Python
Related article:
PyGPT: Open Source AI Personal Assistant Written in Python

GPT Terminal and Shell Genie: ChatBots AI CLI for Linux Terminal

GPT Terminal and Shell Genie: AI CLI Chatbots for Linux Terminal

What is Terminal GPT app?

According to Official website of this software development based on AI Technology called GPT Terminal (TGPT), it is described as follows:

A terminal interface (CLI) to use the OpenAI ChatGPT 3.5 Chatbot AI service through the BAI Chat web platform without the need to use the well-known API Keys.

What is Terminal GPT app?

Currently, this development is going latest stable version number 2.7.0, released this month of February 2024. And its installation and use is really simple. For example, for your download and install It is only necessary to execute the following command order:

curl -sSL https://raw.githubusercontent.com/aandrew-me/tgpt/main/install | bash -s /usr/local/bin

While, for its execution it will only be necessary to write the tgpt command followed by the question or order to be carried out in quotes, using double quotes «"pregunta u orden"». Furthermore, the tgpt command It can be renamed without any problem, to run it in a custom way, just by executing the following command:

sudo mv /usr/local/bin/tgpt /usr/local/bin/nuevo_nombre

The good thing about this Chatbot AI CLI is that, by using the BAI Chat AI platform for free, the program allows us to ask you questions on any topic or field, not only on Linux and its Terminal Commands, although it has the limitation of not being able to execute commands directly in the Terminal. Additionally, it can be complemented with the graphical (GUI) use of the BAI Chat platform's desktop and web apps. As can be seen in the following link.

What is Shell Genie app?

What is Shell Genie app?

According to Official website of this software development based on AI Technology called Shell Genie, it is described as follows:

Shell Genie is a command line tool that allows you to interact with the terminal in simple language. You ask the genie what you want to do and it will give you the order you need.

However, for a better understanding it is worth adding that, Shell Genie is basically a Chatbot AI CLI which focuses on answering only questions about the GNU/Linux operating system and its commands, offering viable command orders as responses for verification and execution on the Terminal.

Currently, this Python development on the PyPi website is available through the latest stable version number 0.2.10, released in April 2023. And its installation and use is really simple. For example, for your installation There are 2 modes available, which are the following:

Installation using pipx

  1. Install Python 3.10 or higher.
  2. Install pipx.
  3. Install Shell Genie with pipx: pipx install shell-genie

Installation using pip

  1. Install Python 3.10 or higher.
  2. Create a virtual environment in your preferred location: python -m venv .venv
  3. Activate the virtual environment: source .venv/bin/activate
  4. Install Shell Genie with pip: pip install shell-genie

Already installed, to execute it you will only need to write the command «shell-genie ask» followed by the question or order to be carried out in quotes, using double quotes «"pregunta u orden"». But, before that, the service must be initialized with the command command «shell-genie ask» and writing «free-genie» to enjoy it for free, that is, without having to configure an API Key for ChatGPT (Access and connection key to the Open AI ChatGPT platform).

Please note that, in some Distros like Debian/Ubuntu and derivatives of this, many times you can install the latest available version of Python and Pip from your own repositories using the following command command:

apt install python3 python3-pip software-properties-common python3-launchpadlib python3-keyring

Although, alternative methods can also be used to get a specific, more modern version of Python and Pip, directly and uniquely or in parallel (virtual environment) as shown in the following link.

How to install any version of Python 3? Including 3.12
Related article:
How to install any of the Python 3 versions?

Example of using Terminal GPT and Shell Genie

To do this, we asked both of them the same 2 questions, one about general knowledge and the other about Linux, and these were the results:

GPT Terminal Screenshot

Screenshot 1

Shell Genie Screenshot

Screenshot 2

GPT4All: Open Source Software AI Chatbot Ecosystem
Related article:
GPT4All: Open Source Software AI Chatbot Ecosystem

Summary image for post 2024

Summary

In summary, these 2 interesting, useful and innovative developments of free and open Chatbots AI CLI for the Linux Terminal called «GPT Terminal and Shell Genie» They are, without a doubt, good complementary solutions to gain access, free or paid, to OpenAI's ChatGPT technology. However, we are sure that, today, there may be other similar developments, equally or less known. So, if you are one of those who uses or knows some other Chatbot AI CLI for Linux Terminal, free, open and free, we invite you to let us know its name, via comments, for the knowledge and enjoyment of our entire Linux IT Community.

Lastly, remember visit our «homepage» in Spanish. Or, in any other language (just by adding 2 letters to the end of our current URL, for example: ar, de, en, fr, ja, pt and ru, among many others) to find out more current content. Additionally, we invite you to join our Official Telegram channel to read and share more news, guides and tutorials from our website. And also, the next Alternative Telegram channel to learn more about the Linuxverse in general.