Keep a Human on the Approve Button When AI Changes Your Network
Would you let an AI agent push a change to your network without seeing the changes first?
I would love to say yes, but the reality is that in production, I think most network shops are quite a ways off from this. However, with where most teams are in terms of automation maturity, I think letting AI log in, read your devices, and draft changes is totally reasonable. In most organizations, before an agent makes a change to a device, a person should see what it’s going to do and press approve.
I have AI making changes in production. The agent builds the change, and I review it. Then either I push it myself or the agent does. I’ve tried building more trust with agents to make changes, but depending on the change, it just feels more assuring to paste it into my device rather than having my agent do it. I’m in mid-market, so the footprint is small enough that I can approve every change individually, and it’s not a big deal for me. So why don’t I just let the agent do it every time? Honestly, I’m not sure. I think this is the question we’re all grappling with to some degree.
Why the approve button matters to me
Most network engineers want to see what changes are going to touch their network before they go out. I’m one of them. I don’t have a fully developed and deployed automation framework, so looking at the change and approving it is what I’ve used in my experience.
Teams with mature automation work a little differently. Most of them likely stopped reading every command a long time ago. They review the change and the diff it produces, and they let tests and staged rollouts catch the rest. So even at scale, a person still approves. They just approve the diff and the test results instead of every command.
Five guardrails
These came out of my home lab. None of them depend on which agent you use.
1. Give the agent a read-only login
The agent gets its own account, and it starts read-only. In my lab, that was a local read-only account. With TACACS, you can go further and limit the account to the specific commands you give it access to run. An agent that can only look can still do a lot of the discovery legwork for you, and it can’t change anything while it does.
2. Have the agent write the plan, then approve it
Before any command goes to a device, have the agent write out what it’s going to do and the commands it’s going to run (there are many ways to do this, and I won’t cover them all here). Read the plan, and don’t let the agent change anything until you approve it. This is the approve button.
3. Write the rollback before the change
In pretty much every organization with a change management process, you have to document your rollback before you can get approval for the change. So have the agent write the rollback first. That’s just satisfying the standard change procedure for a network team: pre-check, change, post-check, rollback.
4. Batch harmless changes under one approval
Batch your harmless changes under a single approval instead of one approval per device. In my lab example, the only ones I batched were interface descriptions, because descriptions can’t break anything. Another low-risk example is adding a syslog server. Which changes you let your agent batch is up to you and your trust level. If you build your own tools for an agent, MCP has a similar idea: a tool can be flagged as making changes that aren’t destructive.
5. Start with one device at a time
When you’re starting out, have the agent go one device at a time: here are the changes for this switch, do you approve? That’s how I’d make the change myself, touching each device individually, and with twelve devices in my lab, it’s not a big deal. One at a time doesn’t scale, but it’s a good way to get your foot in the door and get comfortable before you scale up. Have the agent confirm each change actually landed before it moves on. Logging in to check every device yourself defeats the purpose of working with an agent. You can also have your agent run a pre-check before the changes, and a post-check after. The pre-check makes sure the network is healthy before you start making changes to it, because that’s what you’d do in a production network. The post-check validates the health of the network after the changes were made. How do you run these pre-checks and post-checks, you might ask? Ask your AI of choice to help you build them, or compare against your existing source of truth if you have one.
What it looked like in my lab
I used Claude Code in my home lab to add a new VLAN across six switches.
The pre-check was a health check run before the change. The verdict comes from a script, not from the AI’s judgment. The script runs a fixed list of checks against a read-only snapshot of the network: down interfaces, interface errors, routing neighbors, spanning tree, CPU and memory, among others. It returns one of three verdicts: Healthy, Degraded or Unhealthy. The same check, run again after the change, was the post-check. On that second run, it marks each finding as new, unchanged or fixed.
I approved every push by hand during the change. Then I ran the rollback for real, and it only counted as successful when the configuration matched the pre-check state.
It’s a lab, but isn’t that how you push and roll back changes in your day-to-day work as a network engineer?
“I have a few hundred devices”
Reading config changes for a couple hundred devices isn’t really scalable or feasible. At that size, I think you need a digital twin, a copy of your network that you can test changes against. Your pre-check wouldn’t only look at the health of the network. It would test the change against the twin first.
I haven’t used a digital twin system myself yet, but at that scale, I think it makes the most sense.
If you’re a Cisco shop, pyATS is worth a look for stronger pre-checks and post-checks, and John Capobianco’s pyATS MCP server lets an agent run it for you.
“If I approve every change, what did the agent save me?”
If you’re approving every single change, you’re still getting value, in my opinion. The primary benefit is that an agent helped you build it, with full context of your network, without you doing all the upfront discovery. This lets you go from business requirement to network changes much quicker. What’s left for you is reading the commands it’s going to run, hitting yes, and letting it move on to the next one. It’s as simple as one key press.
Decide what you need to see
The thing I see most people struggling with is guardrails: how and where to configure them properly. The five above are what I use in my lab. There are many more ways to build guardrails, but this is a good place to start.
For now, on a network my size, I’m still going to have human eyes on most changes. What those eyes are looking at is what you need to decide. Every command, a summary, a diff, something else? Ask yourself: what does my agent need to show me before I feel comfortable with what it’s doing? Once you answer that question, tell that to your agent, and let it help you build those guardrails. Just keep the hard limits somewhere the agent can’t change them, like its account permissions, or hooks in a settings file it isn’t allowed to edit.
One first step
Create an account in TACACS for your agent to use. Set it up so the account can only run the specific commands you give it access to run, and start it read-only. Do this in a lab or on a non-essential device first.
Lastly, have fun with it! AI is here to stay, and that should get us network engineers excited.
![]()
Garrett Masters is a Senior Network Administrator with about ten years in networking. He runs G Talks Tech, where he learns AI in public as a working network engineer and teaches other network engineers how to use it. On gtalkstech.com, he walks through an example of adding a VLAN to six switches in his lab using the methods in this article.