this post was submitted on 22 Jul 2025
-13 points (30.3% liked)

Linux

12291 readers
60 users here now

Welcome to c/linux!

Welcome to our thriving Linux community! Whether you're a seasoned Linux enthusiast or just starting your journey, we're excited to have you here. Explore, learn, and collaborate with like-minded individuals who share a passion for open-source software and the endless possibilities it offers. Together, let's dive into the world of Linux and embrace the power of freedom, customization, and innovation. Enjoy your stay and feel free to join the vibrant discussions that await you!

Rules:

  1. Stay on topic: Posts and discussions should be related to Linux, open source software, and related technologies.

  2. Be respectful: Treat fellow community members with respect and courtesy.

  3. Quality over quantity: Share informative and thought-provoking content.

  4. No spam or self-promotion: Avoid excessive self-promotion or spamming.

  5. No NSFW adult content

  6. Follow general lemmy guidelines.

founded 2 years ago
MODERATORS
 

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?

top 10 comments
sorted by: hot top controversial new old
[–] nimble@lemmy.blahaj.zone 10 points 1 week ago (1 children)
[–] Quacksalber@sh.itjust.works 2 points 1 week ago (1 children)

I am aware that someone let their coding agent delete their database. I am not looking to vibe-code. I want a "Clippy", if that makes sense. Not an agent that does stuff for me, but that answers my questions.

[–] knightly@pawb.social 11 points 1 week ago (1 children)

Far be it from me to yuck anyone's yum, but did you have to pick almost the worst possible analogy to describe it? XD

[–] GamingChairModel@lemmy.world 7 points 1 week ago (1 children)

"I don't want it to be like the butt of today's jokes, I want it to be like the butt of 30-year-old jokes"

[–] SheeEttin@lemmy.zip 3 points 1 week ago

The only differentiating factor here is time.

And an anthropomorphic representation, I guess.

[–] sxan@midwest.social 6 points 1 week ago* (last edited 1 week ago)

Are you really ready to trust it? I use DDG's agent frequently, when my query-fu fails, but I've gotten bogus, outright lies in response. They are good for helping me reframe my questions for the regular search engine. I don't think I'd rely on LLMs yet for technical guidance.

In dealings with current LLMs I'm regularly reminded of the old truism: "it's better to spend ten years looking for the right teacher, than to spend ten years learning from the wrong one."

Have you tried solutions like "thefuck"? Maybe a non-LLM shell helper would be safer, and be less likely to teach you wrong or bad solutions.

[–] sylver_dragon@lemmy.world 5 points 1 week ago

Not sure if it will handle queries on bash commands. But, this video covers setting up and running a local large language model (LLM). IIRC, he specifically sets up DeepSeek, but it looks like you have a couple options. However, one caveat is that these LLMs run much faster with with a good GPU backing them up. If you don't have a reasonable gaming GPU, you may be waiting a bit for answers.

[–] hendrik@palaver.p3x.de 4 points 1 week ago* (last edited 1 week ago)

I think there's a bunch of AI enhanced shells and shell assistants... Shell-AI, Vity, Warp Terminal, Shell Genie, Butterfish, yai, aichat, aider, tgpt... You can get plugins for zsh or fish and other shells, we have agents with tool access, it's in some IDEs...

[–] HappyFrog@lemmy.blahaj.zone 1 points 1 week ago

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.

[–] 30p87@feddit.org 1 points 1 week ago

@aard@kyu.de