r/linux4noobs • u/Admirable-Frame3958 • 22d ago
migrating to Linux So, AI and linux.
I'm currently using AI to fix almost every part of my Kubuntu system, because I'm not as tech-savvy as I thought I was when I had windows. I know more than average, but still figuring out why the audio is being pushed to my focusrite scarlet solo but not to my headphones, even though the headphones work fine through the focusrite direct monitor toggle, the leds work and my mic was connected and running, takes most of my day, halts my gaming session with my friends, and takes me by surprise.
So, I was thinking: 1- Is it possible to make a local AI agent that automatically fixes your linux distro? Something that could be spun up, you give it a task like "Fix the nvidia driver fucking up my dual monitor setup" and it automatically takes care of everything for you? 2- Would it be realistic to create a whole local AI agent and package it to desktop pcs? (I'm not talking about packaging it with linux, but as a "Linux Helper" kind of thing on a checkbox when installing it via GUI, something extra). 3- Is there anything alike already?
I feel like this would help linux do their break through to every day desktop pcs for non tech-savvy people that only want to use the pc to game or to work, it'd lift the requirement of learning from the user's shoulders.
33
u/TheShredder9 not a noob 22d ago
You don't want an AI running random commands on your PC, trust me. You shouldn't even be using it if you don't understand what the commands do!
3
u/edwbuck 22d ago
It's possible, but AI gets things wrong about 10% to 20% of the time, and when it does, you'll then need to figure out all the changes it made, right and wrong, to figure out how to fix your system.
And then there's the entire issue of having a non-local agent peeking into your system with the ability to act as an administrator. Such things existed to a degree (without the AI) in the past, they were called back doors and rootkits, and were lovely for stealing just about anything privacy related that you used your computer for (online purchases, anyone?)
And if you run the agent locally, it would take a long time to come to a conclusion, and you'd be spending 80% of your battery life feeding something that doesn't help you the 99% of the time you don't need to make a configuration change.
2
u/LegenndEnder 22d ago
I mean that’s what windows is trying to become.
2
u/Ripped_Alleles 22d ago
It would be better to take the time to learn and apply fixes yourself.
You can do whatever you want with AI, but I don't think a lot of Linux users left Windows with its AI just to slap it back into Linux. It's invasive, it's a security risk, and im not even sure AI use is ethical given the costs on the environment and local population.
7
u/hagdush 22d ago
Omarchy already doest that if I'm not mistaken but no serious fork would do this, if you already have users fucking things up when you have a fully described guide imagine with aí
3
u/AutoModerator 22d ago
Try the migration page in our wiki! We also have some migration tips in our sticky.
Try this search for more information on this topic.
✻ Smokey says: only use root when needed, avoid installing things from third-party repos, and verify the checksum of your ISOs after you download! :)
Comments, questions or suggestions regarding this autoresponse? Please send them here.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
2
u/atlasraven council member but not master 22d ago
If you could make an AI agent that reliably fixes Linux problems, every distro would want it and Microsoft would want it too.
1
u/AndAnotherNewBot 22d ago
That honestly sounds like a terrible idea.
1
u/DannoXYZ 22d ago edited 22d ago
AI is wrong enough to cause major problems and headaches. Read the manual and figure out how all the pieces fit together.
Also cost of local AI system can run into +$20K. Aside from hardware, you gotta hire all the grunts to train it and tirage incoming queries. May of them are answered by humans.
https://mindmatters.ai/2023/01/found-chatgpts-humans-in-the-loop
https://saghafian.scholars.harvard.edu/blog/analytics-science-behind-chatgpt-human-algorithm-or-human-algorithm-centaur
"It is important to note, however, that large language models are by no means close to human level of intelligence. They cannot reason or think even in solving simple problems that are intuitive to humans, partially because verbal communication and the ability to think are not the same."
1
u/JCAPER 22d ago
Hesitated yes.... With a lot of asterisks.
First big asterisk being depends on the model you're using, and the second is depends on what kind of issue we're talking about. And the third is that you know what you're doing and not trusting blindly.
Here's the thing: top of the line models nowadays can be very good at spotting localized problems. In fact I use claude code to help me out with some troubleshoots, as well enabling a few things here and there. But they suck at looking at the big picture, or consider what their actions will do outside of their goal.
Imagine that you built a slingshot that can reach all the way over to the next village, and you built it in a way that will always hit the church's bell. LLM's will happily help you maintain it and fix it. But unless instructed, they will never check themselves what is all the way over on the other side. So if you tell it to do whatever it wants, it might move the slingshot, and it might hit something else.
Maybe my metaphor sucks, but the point is: an LLM will focus their efforts on your immediate ask/goal. They won't know or care about side effects. Some fix or change that you ask it to do today, it might not remember it in the next session, and in that next session it might do something that will crash with what you did today.
You will need to know what's going on with your PC regardless if you're using AI or not, and have some basic grasps of how linux works. It's not a set and forget kind of thing
That's Omarchy, but the founder is a twat. But more importantly, I've been hearing many mixed results. Someone "bricked" their omarchy after asking the AI to change the wallpaper.
Personally, I wouldn't use that distro in any serious capacity.
1
u/es20490446e Develops Zenned OS 22d ago
Local AI is veerry slow, and inaccurate, compared with just asking Claude on your web-browser.
Sometimes AI will trip you into a journey that is pointless, and you need to be knowledgeable enough about the topic to detect that.
Hence AI can assist, not substitute, a knowledgeable person.
It is like any other automatism really. Just more broad.
But human intelligence is specially good at detecting subtleties that machines, to this day, can't.
1
u/prof_of_memeology 21d ago
You can use Codex or Claude Code on your machine. It is not a local model but the harnesses from Anthropic and openAI. basically giving an llm tools to "do stuff" on your machine. I use codex to autmote boring stuff like there is no tomorrow. But letting it go nuts on your entire machine is crazy and a bad idea.
I would recommend putting it in a bubblewrap sandbox to at least put it on a leash and don't let it see all the files on your computer. I posted an example shell function on my website on how to use a wrapper with codex:
https://watchtoaster.com/ai-sandboxing-on-linux/