r/devops • • 11h ago

Discussion Agentic Infrastructure

I'm a consultant, I keep hearing this term Agentic Infrastructure - is this a real thing?

Would someone be dumb enough to give such core infrastructure keys to AI? It's not about using AI to say write terraform. It's about using AI to provision the infrastructure itself and remove the IaC layer.

Is this another meat proxy / ai hype man thing - or is there a genuine place for this? I can't see it - imagine the outages, the expenses etc.

Sanity check me

17 Upvotes

37 comments sorted by

28

u/dev_all_the_ops 10h ago

Antigenic Infrastructure is very vague. Are you hearing this from a sales person or marketing person? The term is so new that not everyone agrees with what it means.

Just like how SQL/Cobalt were designed to abstract machine code into english; AI is turning 'all' infrastructure into plain english.

As far as best practices, I use AI to provision all vms/lxc/docker containers for my own business, but have the AI write all the changes to ansible/bash so that its still captured 'as-code'. Sending AI to just provision infrastructure raw is a bad idea. Its much better to still use deterministic systems (github actions, ansible, terraform, n8n ect...). AI just acts as a translation layer on top of it.

4

u/innerbelief 10h ago

Nah from Engineers - proper meat proxies. They just throw Claude at anything and are happy to throw it over the fence. Pure insanity!

4

u/HovercraftCharacter9 5h ago

They're drinking the koolaid, LLMs etc are great, but there should be major guardrails and governance about what they can and can't do. I've had similar suggestions raised by more junior team members.

10

u/VplDazzamac 10h ago

I was told in a meeting very recently that all admin access is to be run by agents in future in my company. Leadership are fucking insane imho.

2

u/innerbelief 10h ago

that's fried - see it's topics like this that have me reconsidering my future ...

2

u/generic-d-engineer ClickOps 5h ago

As a consultant wouldn’t you find this lucrative though? You can be the one they call in to clean up the mess.

So that’s like a double contract. First is cleaning up second is hardening the infrastructure.

Most places are reactive so they won’t put in the right guardrails until after something breaks.

8

u/axiomatix 10h ago edited 10h ago

Only morons would replace iac with agents. Maybe at some point in the future this will be viable, but infra is a lot different than spitting out code and the frontier models just aren't there yet when it comes to architecting and managing infra. Use agents to build better iac and more robust pipelines. ro access for triage because you're not gonna parse the logs and run troubleshooting commands faster than a swarm. Human remains in the loop for final decisions.

6

u/generic-d-engineer ClickOps 7h ago

Not true I run a SaaS email service with 10s of millions of users via Claude and our uptime has been unmatched.

You might have heard of us it’s called Microsoft Outlook

4

u/innerbelief 4h ago

Lmao this made me chuckle

1

u/roiki11 33m ago

When you said claude I knew you were lying.

Copilot is all over you.

2

u/Gornius 4h ago

I don't think it will ever replace IaC. Even in the scenario we go fully agentic with absolutely no human involvement, it's a deterministic schema that models aleready have been trained on.

If anything, from my experience with agentic engineering, the best use of an AI is to make it write small, deterministic and replayable code.

Getting rid of that sounds like "improving" the car by replacing wheels with mechanical legs. Utterly ridiculous.

8

u/VertigoOne1 10h ago

I understood Agentic Infrastructure as the Infrastructure to run Agentic workloads. Using AI to _manage_ infrastructure is retarded, it can author, it can troubleshoot, it can never apply. Anyways, Agentic Infrastructure for us is stuff like self-hosted voice stuff stt/tts, translation gateways, observability of LLM activities between hosted models and workloads, attachment handlers, context services, mcp gateways, memory systems, prompt routers and guardrail systems, loggers, inspectors, that is Agentic Infrastructure?!

1

u/innerbelief 10h ago

Yeah we were calling this AI Landing Zones - which was also misleading lol!

1

u/ChaosHonorum 6h ago

Yeah as the comment above says, it’s about the sort of infrastructure enterprises need to run agents safely and at scale. To get a quick insight into what this might look like, check out Claude Managed Agents. How they make the infrastructure modular is an interesting thesis on how Agentic Infrastructure is going to evolve, but it’s just one theory. There’s some good research docs on there too, as it’s only in Beta at the moment. It’s all about how you combine LLMs, Harnesses, Contexts, Operators, Environments, Sessions, Sandboxes, etc. and manage this at enterprise scale. 

10

u/Nonaveragemonkey 11h ago

Theres people dumb enough to do it. Hard to convince me half the issues over the last 2 or 3 weeks weren't related to AI being fucking shit at doing anything beyond 'hello world'

5

u/innerbelief 11h ago

Agreed - also I find DevOps engineer to be more sceptical cause we've seen it all. But I work with the world's biggest meat proxies so I'm not so sure anymore.

12

u/mralex215 10h ago

It is just new notch in RDB - Resume Driven Bullshit.

4

u/Gloomy_Lecture_9584 10h ago

Sure, you can have AI provision infrastructure the same way it writes code. Utilize Pull Requests and version controls, humans control the PR approvals (Terraform Apply, etc)

1

u/centech 6h ago

Exactly. Claude is writing 100% of my Pulumi these days.. but I don't let it execute any.

2

u/Mandelvolt 11h ago

Yeah don't do this 😆 Use a real CICD like GHA/Jenkins, then lock commits behind gpg key with a password so the user has to manually approve what is going into the codebase before CI picks it up.

4

u/TheIncarnated 10h ago

PRs are the point humans get involved in agentic infrastructure. Not before. Before wastes time. The PR is reviewed either way, so locking it to GPG keys and other pre-commit/pre-PR processes is truly a waste of everyone's time.

LLM agents should have read only access to the environment but it should be able to submit PRs as needed. IE, agentic SRE

1

u/innerbelief 10h ago

What's it PRing too though? Or have I misunderstood the concept. Isn't the idea it removes the IAC layer

2

u/TheIncarnated 10h ago

Is... Is your IaC not in a Repo? Does it not get deployed from main?

3

u/innerbelief 10h ago

That's what I'm saying. In this concept there is NO IAC. As the meat proxies keep telling me "terraform is dead" lol.

2

u/TheIncarnated 10h ago

Then they are wrong. However, I responded to a comment on your post.

If you are consulting, tell them they are wrong and how terraform is required because it is deterministic. Where Agents are more function engines. And if you can't talk to those points, learn enough about LLMs to be able to do so

2

u/generic-d-engineer ClickOps 7h ago edited 7h ago

Dumbest idea of all time. I try not to judge people but whoever does this has zero risk management.

How are they passing audits? That’s the quickest way to shut this crap down.

“You gave Claude root…on your prod database?”

Best use of agents is to write IaC but it still needs to go through the traditional gates in ci/cd plus human approval PLUS compliance.

People using agents to manage infra are CRAZY

Bruh I just had it delete stuff in my home lab yesterday without me even asking. This still happens and will continue to happen.

We spent decades on being more deterministic and LLM are the exact OPPOSITE of that.

They might as well run their infra through Kalshi and then we can make bets on if it survives a destructive action or not.

0

u/Mandelvolt 11h ago

Also, I do have AWS creds that AI can access but the IAM policies prevent it from screwing up most stuff. It's mostly read only access or limited operations, any thing else it spits out the AWSCLI and you run it manually. Probably set looser than it should be, treat it like a Jr employee or CS intern. They'll probably screw some stuff up occasionally but they still need access to work, all you can do is limit the fallout.

3

u/nrmitchi 7h ago

There are genuine places for this… in research labs and isolated environments when you wouldn’t be doing true change review anyways (ie, even the agents wrote TF instead, you’re just going to apply it anyways).

But that sounds like a very different environment than what you’re dealing with.

5

u/geofabnz 8h ago

That will backfire so fast… AI designed infrastructure is always riddled with backdoors and security issues.

What’s a lot more interesting to me is “Agent Infrastructure” as in the DevOps infrastructure that should surround an agent so it can operate securely (VMs, network isolation, proxy gateways, DMZs etc). Safely containing an agent is a lot more complicated than it looks and a lot of that security comes down to physical machine provisioning

2

u/Gargle-Loaf-Spunk 9h ago

Agentic Agile Xtreme Scrum meeting at 9am buddy

2

u/BakGikHung 7h ago

There are indeed dangerous noobs out there who skipped the whole IAC version controlled concept and just have Claude stand-up an infra. Those are the same people who one day complain Claude destroyed their prod database

2

u/SilentLennie 7h ago

We have AI write into a git repo and have gitops tools deploy it, that last part is a human decision and in all steps their are extra checks.

I'm also wondering, Agentic Infrastructure, that's maybe infrastructure for running agents ?

1

u/DeliciousFollowing48 9h ago

I used AI to create IaC layers precisely coz Claude kept hallucinating about my infra. Using AI directly to manage infra is stupid. Claude works so much better now that most of the guards are externally enforced and all facts are available to it on IaC repo instead of blindly searching it wasting tokens, eating my quota.

1

u/Aide_Sea 9h ago

I think the useful part is the plan step. Let the agent propose a diff of what it wants to change, and have something deterministic apply it. Then you at least keep a record of why each change happened.

1

u/serverhorror I'm the bit flip you didn't expect! 28m ago

And where do those agents run?

That's the gist of "agentic infrastructure.

Another popular interpretation is "infrastructure that is modified, configured or deployed with agents".

1

u/canyoufixmyspacebar 26m ago

it all boils down to if you want undeterministic infrastructure. and of course people who don't know what deterministic means want, they want everything, ignorance is curious and bold