r/LocalAIStack • u/LengthEducational238 • 2d ago
Building a local Agent to do the Linux grunt work.
I have been using Linux semi-exclusively for 3 years now and know my way around it well, but I was tired of having to fumble around with config files, VPNs, automations and media server setup, as well as the long troubleshooting sessions when my audio stops working, my packages breaking, a kernel update breaking things or touching anything related to my nvidia driver.
so I decided on making Golim.
Golim is a TUI-based agent like opencode but can also be called like a CLI tool for automation purposes.
through the past year or so of its development, Golim has found and set up dozens of apps I needed, troubleshooted my proton setups and made several of my games work, downloaded so many videos because I couldn't be arsed to look for a decent chrome extension, kept several of my work folders organized and up to date. fixed bad kernel updates several times ( Yes, I trust it that much), maintained my media server/homelab setup and got my sonarr automations working properly as well as handling a lot of little troubleshooting and configuration tasks that probably would've never been done otherwise.
Now, you might be thinking, why not just use opencode or hermes?
- Golim shows me all the thinking traces, the tool calls made and their full output in real time which makes steering it when needed much easier since you can follow what's happening a lot more easily
- Golim actually streams terminal commands, so you can monitor the downloads or updates just as you would if you were the one running it. (It also monitors them for you if they take a while)
- Automatic and transparent logs for runs saved on disk so you can know exactly what happened and what the model was thinking if something went wrong.
- Golim is designed intentionally to run local models, with very efficient context handling and minimal cache invalidation as well as Ollama/llama.cpp as first-class providers.
- Golim is an AI assistant not a coding agent so it's built like one. Instead of repo-scoping, file-change tools and git, I gave it tools for fetching system info, file and web searching, python execution and spent an ungodly amount of time crafting its bash tool.
- Golim can be lent sudo access on a per-run or per-instance basis without ever saving your password anywhere. the password is used to generate an authorization token for the session duration instead.
- Since it runs across my entire PC, I added several settings to blacklist commands, reject sudo invocations and a restricted mode that asks every time it tries to execute code or use sudo.
I am currently still developing (v1.5 recently released) and plan to add a couple of other features like vision support, mail access and slack/discord integrations. Very excited to hear your thoughts, your opinions and any features you would want on an agent like this that I haven't covered.
Here's the repo link, If you're interested in checking it out:
https://github.com/AhmedOFS/golim

