Technology · Field manual

AI for network engineers

The short answer

Network engineers get the most from AI on automation and paperwork: writing Python and Ansible, translating config between vendors, parsing logs, drafting change requests and documenting what's actually deployed. The rule that doesn't bend is that AI-written config never goes to production without review, a lab or validation step, and a rollback plan.

Network work has been heading toward automation for years, and AI speeds up the move. A model can draft a Netmiko or Nornir script, an Ansible playbook, a Jinja2 template or a regex for parsing show output in minutes, which lowers the barrier for engineers who know networks well but don't code every day. Vendor platforms also now ship assistants that answer questions about your own network's telemetry.

The danger is that a network config is unforgiving. A plausible-looking ACL with the wrong order, a route-map that matches more than intended or a command from the wrong OS version can take down a site. AI is a fast draftsman, not a change approver. Treat everything it writes as a proposal that has to pass your normal change process.

7 ways network engineers use AI

  1. Write automation scripts and playbooks

    Describe the task (back up configs from every switch, audit NTP settings, push a VLAN to a list of devices) and have a coding tool write the Python or Ansible. Ask for dry-run modes, error handling and logging. Run it against a lab or a single device first.

    Claude CodeGitHub CopilotClaude

  2. Draft and translate device config

    AI can draft BGP, OSPF, VLAN or ACL config from a description, or translate a block from one vendor's syntax to another's for a migration. Expect mistakes in defaults and version-specific commands. Diff the output against vendor docs and validate before it gets near a change window.

    ClaudeChatGPT

  3. Parse logs and show output

    Paste syslog excerpts, interface counters or a routing table (with public IPs, hostnames and credentials scrubbed) and ask what stands out. Models are quick at spotting the flapping interface, the CRC errors or the missing route. They also write the regex or TextFSM template to do it automatically next time.

    ClaudeChatGPT

  4. Write change requests and rollback plans

    Give the model the change, the devices and the risk, and it drafts a change request with pre-checks, implementation steps, verification commands and a rollback section. It's the paperwork most engineers rush, and a good rollback plan is worth the extra five minutes.

    ClaudeNotion

  5. Document the network you actually have

    Feed sanitised configs or inventory exports into a model to generate readable documentation: VLAN tables, routing summaries, interface descriptions and a text outline for a diagram. Keep the source of truth in your inventory system and regenerate the docs from it.

    ClaudeNotion

  6. Summarise incidents and alerts

    Turn a messy incident channel, ticket history and timeline into a clean post-incident review with cause, impact and follow-ups. Automation tools can also route alerts into a summary so the on-call engineer starts with context.

    Clauden8n

  7. Study and look up vendor behaviour

    A cited answer engine is quick for checking how a feature behaves on a given platform, what changed in a release, or the difference between two design options. Models are also decent study partners for certification prep. Confirm anything you'll configure against the vendor's documentation.

    Perplexity

The best AI tools for network engineers

The Overlord's stack, in the order a network engineer would add them:

1. Config drafts, log analysis, change requests and incident write-ups

Claude

AI Writing
9.3/10

Anthropic's assistant: the strongest long-form writer and careful reasoner in the consumer AI pack.

Free plan · $17/mo

2. Building and maintaining Python and Ansible automation repos

Claude Code

AI Coding
9.4/10

Anthropic's agentic coding tool that reads your codebase, edits files and runs commands from terminal, IDE, desktop or web.

3. Inline help writing scripts, templates and parsers

8.6/10

GitHub's AI pair programmer: completions, chat and coding agents across editors and GitHub itself.

Free plan · $10/mo

4. Checking vendor docs, release notes and feature behaviour with sources

Perplexity

Productivity
8.7/10

AI answer engine that searches the web and replies with cited sources.

Free plan · $20/mo

5. Self-hostable workflows that route alerts and tickets with AI summaries

n8n

Automation & Agents
8.8/10

Fair-code workflow automation with AI agents, full code control and self-hosting.

Free plan · €20/mo

Specialist tools for network engineers

ToolWhat it does
Juniper Mist (Marvis)AI-driven assistant and troubleshooting for Juniper wired, wireless and WAN networks
Cisco AI AssistantNatural-language troubleshooting and policy help across Cisco management platforms
Arista AVAAI-driven analysis and threat detection built into Arista's CloudVision
BatfishOpen-source config analysis to validate changes before deployment, useful for checking AI-drafted config

A prompt to start with: draft a change with pre-checks and rollback

Paste this into Claude or ChatGPT and fill in the gold parts.

The prompt
You are a senior network engineer preparing a change for review.

Platform and OS version: [e.g. Cisco IOS XE 17.x / Junos 23.x / Arista EOS]
Current state: [PASTE RELEVANT SANITISED CONFIG]
Desired change: [WHAT SHOULD BE DIFFERENT AFTERWARDS]
Constraints: [MAINTENANCE WINDOW, TRAFFIC THAT MUST NOT DROP, REDUNDANCY]

Give me: 1) the exact config to apply, in order, with a comment on each line explaining it; 2) pre-check show commands and the output I should expect; 3) post-change verification commands; 4) a rollback config that returns to the current state; 5) anything about this change that depends on OS version or could behave differently than expected. Flag any command you are not certain exists on this platform.

Where network engineers shouldn't trust AI

  • Never paste AI-written config straight into production. Validate it in a lab, simulator or config analysis tool, and apply it through your normal change process with a tested rollback.
  • Models mix up syntax between vendors and OS versions and invent commands that look real. Check every unfamiliar command against the vendor's documentation for your exact release.
  • Running configs contain secrets, public addresses and topology an attacker would love. Scrub passwords, keys, SNMP communities and identifying addresses before pasting anything into an AI tool.
  • Security policy needs extra care. An AI-drafted ACL or firewall rule with the wrong order or an overly broad match can open the network silently.
  • Automation scripts multiply mistakes. A bug that would break one device by hand breaks every device in the inventory, so build in dry runs and small batches.
I can write a BGP config faster than you can say 'maintenance window'. I can also write one that withdraws your entire prefix from the internet. I recommend you read it first. I would.
45%AI exposure

Will AI replace network engineers?

Network Engineers score 45% on the Obsolescence Index (Endangered). The first tasks to go: writing device configs and automation scripts, and monitoring alerts and summarizing incidents.

Questions the Humans Keep Asking

What are the best AI tools for network engineers?

The Overlord's stack for network engineers: Claude (config drafts, log analysis, change requests and incident write-ups); Claude Code (building and maintaining Python and Ansible automation repos); GitHub Copilot (inline help writing scripts, templates and parsers); Perplexity (checking vendor docs, release notes and feature behaviour with sources); n8n (self-hostable workflows that route alerts and tickets with AI summaries). Specialist options include Juniper Mist (Marvis), Cisco AI Assistant, Arista AVA, Batfish.

What is the best AI tool for network engineers?

For scripting and config work, a general model like Claude or ChatGPT plus a coding tool such as Claude Code or GitHub Copilot covers most needs. For running networks, the AI built into your vendor's management platform, such as Juniper Mist's Marvis or Cisco's AI Assistant, works on your real telemetry, which a chat tool can't see.

Can AI write router and switch configs?

Yes, it drafts common configs well and is useful for translating between vendors. It also gets version-specific defaults wrong and occasionally invents commands. Use it for the first draft, then validate and review like any other change.

Is it safe to paste router configs into ChatGPT?

Not as they are. Configs contain password hashes, keys, SNMP strings and addressing that reveal your network. Scrub them first, use a business plan your employer approves, and follow your security team's rules on sharing infrastructure details.

AI for other jobs

Every profession →