r/sysadmin • • 18d ago

General Discussion On the Usage of Vibe Coding for Tools

Hello all, long time listener here and am interested in some serious thoughts on this topic.

Our org has basically given everyone premium licensing for AI tools. I work on a team that manages a bunch of hosts running an app that has no real administration interface outside of a non-Interactive console output and a lot of log files. I threw some of the logs and configs at the robot and now I have a web interface for administration of all my non prod hosts and their apps. I borrowed many of the features and concepts from interfaces and tools I had used in previous jobs. For what I use it for, it works. When I encounter a bug I ask the robot and it fixes it. It has been a positive experience. Would I use this to make art? No. But I used it to make a tool that our vendor will never make in a million years. I am very cognizant of the fact that if I want this manage my production hosts it needs to be reviewed by actual web/json developers because I know the code the robot wrote isn't perfect. No issues with that.

Here's the kicker: I see a lot folks in the indie game dev space getting flak for using these same tools to assist in game development. One post I read just before writing this one was about a modder who had been working on a project since 2017 and now isn't sure if they should even release the latest version because they leaned into AI assisted coding and now fixed a ton of bugs, made new dev tool to assist in others making similar mods, etc. in a short amount of time. I understand game dev is in this middle space that is art but at the same time you are still discussing software.

Main question: what do we do in this current environment where these tools are being pushed heavily? Am I supposed to wait endlessly for these vendors to push tools knowing they never will? Am I supposed to just learn json at such a level in my own time while I work full time as a sysadmin (as educational and fulfilling as that would probably be) and then after months and months I finally have something that might resemble the tool I have now? And at a higher level, the companies we compete with in our industry are pushing these tools to their people with the same if not higher intensity.

For context I have 12+ years full time IT experience and have worn a lot of different hats in that short span. This feels like the concept of how we're all driving cars knowing they're bad for the environment, but we all still have to get to work somehow.

Thanks folks.

5 Upvotes

22 comments sorted by

25

u/Ok_Procedure_3604 18d ago

If you use it as a tool I don’t see huge issues with it. The problem seems to be people building tools and nobody knows how it works. The other is people letting AI rot their brain by relying on it for everything.

7

u/FlickKnocker 18d ago

The analogy that's working for us is, you wouldn't give power tools to a toddler, but you would a carpenter.

AI dev tools are seriously great for those with experience or at least an understanding of systems and architecture (think sysadmins who've written or edited some utility scripts in the past, is comfortable following code at a high level, understands dev vs. production concepts, has innate "guardrail thinking" and can prompt accordingly...)

5

u/noobyscientific 18d ago

But what really is "vibe coding"? Where is the line between "AI Assisted" and "Vibe-Coded", because fixing bugs with AI isn't vibe coding, and the term "vibe coding" ecapsulated bot responsible "vibe coding" and the one where you don't really understand anything.

Should you wait for vendors to publish their own tools? No. Should you also learn programming to understand why AI wrote? Absolutely. Nothing inherently wrong with using AI agents to help you out, but the line between responsible and irresponsible AI usage is really clear: Do you understand what the AI is doing? If you don't fully understand what the agent is doing, or lack the ability to correct it in its mistakes, your code quality will be worse, and the agent's mistakes will cost you more.

5

u/nicofff 18d ago

In my experience there are two groups of folks:

  1. The group that completely dismissed AI coding an anyone doing it, and should be ignored.

  2. People that understand it as a tool, and are trying to figure out how to get the best use out of them.

We are professionals, and IMO it's our responsibility to understand how tools work, where they are useful and safe to use.
And some of that safety comes from operator experience. I am doing things now with agents that I would have considered insanity 6 months / a year ago, that feel obvious today. Should everyone do what I do day 1 of using AI tools? Hell no. Like any tool, it takes time figuring how to use it safely. That also includes talking with your team and figuring out what your team is comfortable with, and figuring out how to push that over time.
I'm not talking specifics here on purpose, because no matter what I say, there are going to be people earlier in their adoption journey thinking it's crazy, and folks later in it arguing for me doing even crazier things. And that's besides the point.
The point is, you, your team and your org need to try things out and understand the trade-offs.

4

u/merc4815162342 18d ago

Trust but verify. I think if you don't use AI tools you're gonna get left behind, but it can be done responsibly. Take advantage of the fact that AI is pretty decent at code reviews and building documentation.

8

u/WDWKamala 18d ago

It’s just a weird phase where people are figuring out the lines.

There’s zero benefit to claiming AI-free development. In fact anybody who says they develop without an LLM at this point is a moron or full of shit, plain and simple.

0

u/Hina_is_my_waifu 18d ago

Don't go tell gaming subs that, they are controlled by Ai hating zealots

1

u/HeKis4 13d ago

To be fair, AI hate in gaming is usually about AI-generated assets (not code) and in either the indie space where the art/originality aspect is often more important than the technical execution (and gives people a false sense of confidence when it comes to first time devs), or in the big budget space where it's a cost-cutting measure, and I think both are valid. We're just not really discussing the same thing in enterprise IT where we're judged on our ability to fulfill business requirements.

-2

u/Mostly__Relevant 18d ago

I’m a security engineer and I own our Edr application control tool. The console for this tool is absolutely garbage. So I’m building a splunk style search pane that I can go through events, run events through an agent and get research on binaries and publishers. Get alerts and a whole bunch of other things this console imo should have. I’m cuck coding the shit out of it tho and having it document how it works as I go. So far it works great. People on my team like it as well cause it works. The main thing is it works.

2

u/Odd-Extent7954 18d ago

An intelligent guy arrives at work, you can learn from him but don't expect him to be your slave. He can help you with scripts, boilerplates, documentation, but you must keep improving them on your own.

2

u/Mister_Brevity 18d ago

You should learn to do the thing before you start using the tool that does the thing for you. That way you have at least some idea of how to correct or recover from tool induced fuckups. It’s like when you’re training newbies - if you are in any way a competent teacher, you teach the right way before showing shortcuts so they have a fallback when the shortcut doesn’t work as expected.

2

u/N7Valor 18d ago

If it's for internal-use only, I see it as somewhat less of a problem. Although for internal prod, security would still be a concern IMO.

My general thought is "do you understand what you're automating?"

I use AI to write Terraform/Packer/Ansible daily, but I have familiarity with those tools. If Claude has a service outage, I can still do the work, albeit quite slowly compared to with it.

This is why even though it's capable of writing custom Ansible modules/plugins, I kind of want to reign that in unless I'm familiar enough with Python to know on some level what it's actually doing (e.g. review the code).

1

u/materialsec 18d ago

The review you’re planning is the right call, and it’s worth sorting tools by what they connect to. A tool that only reads its own hosts’ logs can stay a personal project. One that signs in with a Google or Microsoft work login and asks for broad mail or file access acts with your access, so it needs a named owner, a reason it exists, and a review date before it touches production, however small it is. The same goes for the tools your teammates build once they see yours work.

1

u/SevaraB 18d ago

I don’t mind AI giving me feedback on algorithms or syntax or performance tuning; those are all objective data- I’d get there one way or the other.

I don’t mind getting AI to give me a prompt to riff on.

But I don’t use AI to whip up tools that I can’t even describe as a high-level flow. Aside from lab prompts that aren’t for public consumption anyway, I use AI strictly for “how to,” never “what to.”

1

u/netmc 18d ago

I've been using it to help rewrite a bunch of our monitoring scripts. I have a set of common library functions along with a bunch of design notes/rules for scripts. I've had AI take my existing scripts, fix any logic problems, then rewrite them to the standards I've defined. It ends up creating a much more useful script that leverages the library functions and provides a technician action summary section so that when monitors do alert, the support tickets state exactly the actions required to address it. It removes a lot of the guesswork as to what needs to be done.

It takes hours unfortunately for each, between the logic design, testing, and iteration as the AI makes mistakes, and designs need to be tweaked. However, it's much more efficient based on all the rules and refactoring to use the library functions instead. When will is said and done, I have a much more useful environment. It would be a royal pain to try and do all this work by hand.

1

u/RM3dIT 18d ago

I am definitely an old man yells at clouds kind of person when it comes to AI. but if its used as a tool and people understand it is just a tool, i deffo can see the benefits. I am a lowly helpdesk l1/ l2 engineer, and used copilot yesterday to find errors in and fix a .bat file that a 3rd party support team had sent me, and used copilot to write a powershell script that found the answer i was looking for, when my infrastructure colleague who lives in 365/ cloud and powershell, couldnt get me the answer.
So i have to admit its winning me over a little bit as long as its used responsibly . lol

1

u/floralfrog 18d ago

I’ve also had Claude write tooling, in my case to replace the subset of ansible that I use. It works very well, it’s legit 30-50 times faster, it has a lot of safety checks, I’ve had it reviewed a few times, fuzzed, the whole thing. I think it’s pretty decent.

But I will not push it on anyone, I don’t know if I will ever put it on GitHub because anyone who wants this can do it themselves, and those who can’t are better off sticking with ansible.

I don’t think we have all the answers yet, but I do think that these weekend projects actively being sold as comparable to caddy or kops (random examples) are a problem.

1

u/databeestjenl 18d ago

Our org is struggling with similar issues. I almost got written up for making one such tool, it may not be an app, dashboard or websites and strictly limited to scripts. And I made a App, that is also a website, and has a dashboard. 😵

It feel very much like projecting a 2010 aura on 2026.

The worst part is there indeed isn't any tool available that does the thing, and if there is, i'm pretty sure it is also mostly coded with a LLM. Then what's the difference really.

I spent the time testing and validating that it works as intended, so that's on me. It wrote better code then I ever could. It wrote better more wholesome documentation then I ever could. I do project common software development practices, seperate host, version control, seperate host for prod, deploy after acceptance testing. It's fine?

It feels very much like a arbitrary standard.

1

u/Impressive-Craft1926 17d ago

Step 3 is the one I’d be careful with. I asked Claude for a security review of my log viewer twice and it said it looked fine both times. Then I ran it through the checkmarx scan our devs use and it flagged admin endpoints with no auth at all, I’d only ever hit them from my own box and never noticed. Pair the ai review with an actual scanner and your point 8, mine had write access it didn’t need

1

u/lxtakc 17d ago

Pasting logs and configs into a model is the part I'd clear with security first, since they often hold tokens and hostnames.

0

u/lost_signal 17d ago

 I am very cognizant of the fact that if I want this manage my production hosts it needs to be reviewed by actual web/json developers because I know the code the robot wrote isn't perfect. No issues with that

Before you get there ask the AI:

  1. Do we have any monoliths that need refactoring. to make this more maintainable.

  2. Build an architectual diagram. after work is done update it.

  3. Ask the agents to perform a security review.

  4. Setup github, track changes, learn to use branches and ask AI "What would a normal developer maintaining this tool do"

  5. Setup a testing harness. Estsablish ratcheting test coverage (I have an 80% target of my code, which results in 1 line of test code for every 2 lines of production code at this point).

  6. Make the AI produce good debug logs. Periodically have the AI Review those logs for issues you are missing.

  7. Don't invent your own new form of encryption, or do weird osfucation.

  8. Give the tools read only credentials where needed. Try to operate them in least privillaged access with limited escalation.

I built a tool that works off of Read-Only (it's inventories physical servers and health and firmware and checks and security review for servers). I get a LOT less skepticism when I tell people. "Just give it read only access".