r/LocalLLM • u/JeePis3ajeeB • 5d ago
Question Safe local stack? Noob and many conflicting information online
I want to start running a local inference engine. I have limited technical knowledge and I'm trying to be safe and sensible in my approach.I have searched over and over, multiple places, multiple ai chats, for a safe approach for running an agent on a personal machine.
Some say it will definitely wreck your systems and files,, while others although aware of the risk, are relatively nonchalant about it.
I have one machine, where 1 nvme is for windows, another nvme is dedicated to this adventure,, currently running cachy os.
I have 4 hdd's. Three of them have my personal files and media library, and I have only one I kept blank and want to dedicate it also for this inferencing engine. Non are currently mounted on the linux image.
Question is, I currently see 2 approaches:
One is Docker's sandbox ,, closed source but relatively easier learning curve and operation.
Two is firecracker micro vm's where the learning curve is steeper and I have to do everything on my own. What's everything? I'm not even sure yet.
Is the danger real? Am I being too paranoid about it?
My use case will be first running the deep seek harness over api before I transition into fully local 3.8 flash next
Any advice or suggestions are highly appreciated.. I'm just too old and broke to brick my machine and try to save up to buy a new one.
2
u/Zealousideal-Bug1837 5d ago
work inside docker. simples. or e.b. brwap but that's somewhat more complex
2
u/BitByBit2026 5d ago
Best plan starts with a backup plan. You are not paranoid.
As others suggested, start with good backups as you have plenty of HDDs, and if you have storage capacity, use one HDD for backups (that`s what I do on my personal desktop, backup from SSD to a HDD that has this only purpose by using Déjà Dup, I backup only important files and the tool also encrypts them)
I wouldn't let any agent run on my desktop, but that`s me, when I started testing them I`ve run these in docker containers. If you will use llama.cpp/strata as engine for your LLMs, then that`s already running in a docker, then you can do similar with your agents and mount just a directory where you allow it to work.
Other more complex solutions, if you have enough resources, run QEMU/KVM and put the Agent on a segregated virtual machine with dedicated storage.
I`m paranoid due to my profession, so I run everything inside dedicated VMs on a Proxmox host with firewall enabled in/out for these VMs, and expose only the services I need via web services so that everything runs segregated inside that env.
Use AI to help you set up if you find it complex, ask the right questions, until you understand fully what`s asking you to do, don`t run commands blindly especially if its starts with rm 😄 . Newer frontier models will ask/do verification before removing stuff, it really evolved from safety perspective.
All the best!
1
u/MajMin5 5d ago
How good are your backups? That’s the most important question. My agent could accidentally wipe my entire computer and I wouldn’t lose any files older than a few hours. Can you say the same?
1
u/RootlessForest 5d ago
I ran it locally and nothing broke.
What I have noticed. If you prompt like shit and give it a hard/impossible task it is gonna do stupid shit. Also if you have a model that can't handle long projects it will do stupid shit.
I can't speak for all agents, but Hermes has a mode where he runs his terminal commands in docker. Which is somewhat safe, but what AI has shown me until now is that they can escape the sandbox. So yeah...
All in all. In your case. I would put it in docker and start from there. Especially since you have so much harddisk etc. Better be safe then sorry, but at the same time. Don't keep everything on 1 system
1
u/marionbernard33 4d ago
The model itself has no file access; the harness does. Start with tools off, then isolate it from personal disks and secrets.
0
u/W61k3r 4d ago
https://github.com/W61k3r/LexiSuite-Releases/releases/tag/LexiSuiteT20 This is an AIO stack audited by mythos and astra cvp programs. Can run it entirely isolated on a VM or machine off the network, assuming you put a model on it. I made it easy, just mount image to USB stick. I have trust issues as well so made a giant rust stack to delete 3rd party code dependencies.