I am sure to upset a lot of purists with this, but as a hobby “sysadmin” of my own linux server at home, an AI built into the shell would do wonders to me.
I found bash-ai, but that seems to me like little more than a wrapper for ChatGPT queries.
In an ideal scenario, I’d like to employ a pre-trained, locally run AI that has access to all files, including config files and the list of installed packages, so it can, for example, tell me what specific lines in config files do or if a package I have already installed is good for a task I want to do or what the merge conflict between configs during an upgrade is about.
Is there such a built-in AI?
You can get something functional using ollama for the model, aichat for the front end, and then making a script to generate a session file with all the relevant data you want included. I don’t know how effective it will be because there will be so much data.