← Blog

Every network deserves an AI copilot.

04 Nov 2026 · Dor Ben Hamo

For each customer network — MVNO, data center, campus, and ISP core — I built its own AI agent, powered by a dedicated Skill.

It’s a copilot that knows the network inside out, analyzes its actual state, identifies risks, helps troubleshoot incidents, assesses resiliency, and advises before changes.

Along the way, it also produces HLD/LLD documents that stay current with the network.

How do you build an AI expert like that, and what did it find in four production environments that all appeared to be running perfectly?

 

Anyone who maintains a production network they didn’t build knows the question that comes up at 2 a.m., and the silence that follows it: “Wait — why is this configured like that?”

Then the investigation begins. You open three configs, track down whoever might remember, look at a diagram that’s no longer accurate, and end up making a decision based on an educated guess.

The network itself knows all the answers — it just doesn’t talk.

Over the past year, I stopped trying to solve this with yet another document.

Instead, I built a dedicated Skill for each customer network: not a documentation generator, but an agent that sits on top of that specific network and knows its platforms, its topology, its routing policy, and its history.

It answers operational questions, advises before a change, assesses resiliency and analyzes failure scenarios, opens tickets with full context — and produces the HLD and LLD along the way.

The documentation is a byproduct, not the goal. And that’s exactly the point: a document is a snapshot that starts going stale the moment it’s saved, while a live network needs something that evolves with it.

This post covers what goes in, what comes out, what it found in four production environments that were all running perfectly — and where a human still has to review the output.

 

The problem isn’t the config. It’s the state.

You can read a network’s entire configuration and still not know whether it’s about to fall over.

The config describes intent. It doesn’t describe the state the network is actually in.

And there’s an entire layer of information that almost never gets documented, because it lives in the state, not in the config:

  • TCAM utilization against the ASIC limit, per device.
  • RIB, FIB, and LFIB size against the platform’s scale limits.
  • Software versions that aren’t the recommended release, or that have an open PSN/PR.
  • EOS / EOL (end of sale / end of life) — for both hardware and software.

This information exists in RSI (Request Support Information) files on Junos and in the equivalent tech-support outputs on other platforms; throughout this post, “RSI” is shorthand for all of them.

But nobody reads an 80 MB dump by hand, and it’s exactly the kind of data that derails an upgrade or a migration when it’s already too late.

 

So I gave each network its own AI expert

Wait — what exactly is a Skill?

If you’re unfamiliar with Skills: a Skill is more than a prompt, and it isn’t a chatbot.

It’s a structured unit of knowledge that a model loads before it tackles a task — an instruction file (SKILL.md) that defines the role, what’s allowed, what’s forbidden, and the output format, together with the data files and scripts it’s permitted to use.

I work on Skills in an IDE, not in a chat interface.

The difference is fundamental: version control, a diff on every change to the instructions, the ability to split the knowledge into files by topic, and orderly refactoring as the Skill grows.

In a chat interface, it isn’t practical to manage an artifact that reaches 50 KB of instructions plus dozens of data files.

A folder, not a product

The Skill is a folder of Markdown files in a local git repository.

The format isn’t a minor detail — it’s the reason this works.

  • Version control — git log on the dossier is the network’s timeline. git diff between two scans is exactly what changed.
  • Peer review — a change in how the architecture is understood goes through review like any other code change.
  • On-prem — the repo lives with the customer or with us. Not in a vendor’s cloud, not in a proprietary format.
  • Portable — the same folder runs in Claude Code, Antigravity, and Codex. When a better model comes out, moving to it is mostly a folder copy, not a migration project.

It writes, too

This ties directly into portability: the Skill doesn’t just read the files — it writes to them. After a scan, a maintenance window, or a closed incident, it updates the dossier and history/ on its own, in Markdown, according to the schema defined for it.

What this means: the state lives in the files, not inside the model.

The accumulated knowledge isn’t stored on a vendor’s platform, there’s no fine-tuning to repeat, and the instructions, structured knowledge, and history move from one LLM to another intact.

A new model may need its behavior re-tuned and its tool integrations adjusted, but the knowledge itself isn’t lost.

Keeping the files local doesn’t mean the LLM provider never sees the data, though: whatever the model reads is processed by the provider, and how it’s retained depends on the deployment and its data-retention controls.

As the history grows, it can be moved out of the repo into an external database — PostgreSQL for incidents and change records, or TimescaleDB for time series of scans and counters — leaving only the current state in the repo, with references to the database. The Skill accesses both.

That’s what makes it possible to ask “When did this interface last flap, and what changed that week?” without keeping two years of telemetry in text files.

These rules weren’t born fully formed.

They took shape customer by customer, each one following a case where the tool returned something that sounded great and was wrong.

This tuning — identifying where the model tends to fill in gaps, where it’s overconfident, and where it misses something precisely because the question wasn’t asked the right way — is most of the work of building a Skill, and it’s what turns a demo into a tool I’m willing to bring into a production network.

Four networks, four experts

We want each Skill to specialize in exactly the environment it’s authorized to work in, in terms of both knowledge and technologies.

Not a generalist who knows a little about everything, but an expert in one network and what runs on it:

Day zero

The first step is building a network baseline — a complete, verified snapshot of the as-built state at a single point in time.

It’s the reference point against which every gap, every change, and every drift is measured.

Once the baseline exists, every piece of information that arrives afterward is relevant and can be cross-checked: no more “I think it used to be like this” — there’s a diff.

The baseline is built from four sources:

  • Device state export — RSI on Junos, show tech-support on IOS-XE / IOS-XR / NX-OS / EOS, /export on RouterOS. Not just the running-config, but also the operational state, the counters, the hardware status, and the historical logs.
  • Legacy documentation — an old LLD, Visio drawings, an IP plan spreadsheet. They’re inaccurate, and I still want them: they contain the original design intent. That’s the difference between “there’s an unnecessary VRF here” and “this VRF is left over from a service that was discontinued three years ago.”
  • Scheduled read-only collection — the Skill connects to the devices with a read-only user and collects interface state, LLDP neighbors, BGP and IGP state, VRF tables, and hardware status.
  • Monitoring systems — read-only access to Prometheus, VictoriaMetrics, Grafana, and Zabbix, via snmp_exporter, blackbox_exporter, gNMI, and syslog.

And if you want to take it to the next level

Then the agent doesn’t touch production at all.

You build an isolated, continuously updated replica of the network’s collected configuration, operational state, and telemetry, and run all the queries against it.

The metrics are copied from VictoriaMetrics, the configs from the configuration backup system or from NetBox, and the state from a scheduled export.

The replica stays up to date on its own, and the Skill works only against it.

It’s a copy of the data, not a simulation of the network.

The advantage isn’t just separation from production.

Once you have an environment like this, you can build on top of it an organization-wide AI assistant that every engineer in the company works with — rather than a personal tool that everyone runs on their own copy.

Same source of knowledge, same answers, and a single access policy.

That’s the difference between one engineer’s successful experiment and a capability the organization relies on.

And if you don’t want to connect anything to the network

This scenario is more common than you’d think, especially in regulated environments.

There’s no requirement for the tool to connect to the devices: an engineer logs in, runs the command set, and exports the output, device by device.

The Skill receives files and works exactly the same way.

Sometimes this is also the right choice technically, not just organizationally.

A full collection set is dozens of commands per device, and some of them — show route on a large table, show tech — are heavy on the RE CPU.

When they run sequentially on a busy core device, the load is noticeable.

There’s a solution for that too: rate limiting between commands, splitting the collection into windows, running against the backup RE, using gNMI streaming instead of CLI polling where supported, and moving the expensive commands into a separate, low-frequency collection.

On most networks, we now run a hybrid — a one-time manual baseline, followed by a lightweight scheduled collection.

Read-only isn’t a compromise — it’s the design.
The Skill can’t make a configuration change even if it tries, because the boundary is enforced by authorization on the devices and on every external system it reads from — not by instructions in SKILL.md, and not by a policy document.
That’s why even conservative organizations are often willing to approve the connection after a single conversation.

And everything that comes in is first masked by offline tools that run locally: passwords, community strings, SSH keys, TACACS/RADIUS secrets, BGP authentication keys, the customer’s name, site names, and internal addressing.

The address mapping must be consistent — masking that replaces every address with a random string destroys the topology.

 

What comes out the other side

Building the Skill takes time. Once it exists, producing a document takes a single question — minutes, not weeks.

  • HLD — architecture, layers, traffic flows, design principles.
  • LLD — detailed enough to configure from, per device:
    • Interface table, IP plan (v4 and v6), VRF/RD/RT, BGP and IGP parameters.
    • External circuit specification — every circuit to a provider, carrier, or host operator: circuit ID, bandwidth, handoff, the far-end ASN, P2P subnet, BFD, and its role in the design — primary, backup, or load-share.
    • Routing methodology — not a list of neighbors, but the logic: who advertises what, where the redistribution boundaries sit, how local-preference, MED, AS-path, and communities shape path selection, and what filtering is applied at each point and why.
    • QoS methodology — classification and marking on ingress, trust boundaries, DSCP mapping to forwarding classes and queues, scheduling, shaping, and policing, and the rewrite policy on egress toward each provider.
    • A rationale for every protocol and every command — why it’s there and what would break without it. More on that below.
  • Physical & logical diagrams — every link with its local and remote ports, speed, media, and LAG members; and at the logical layer — VRFs, adjacencies, and the traffic path for every service, including the backup path.
  • Everything as interactive HTML — not Word, and not a static PDF. It includes live search inside the document, interface details that appear when you hover over a link, and switching between layers.
  • Gap Matrix — covered in its own section below.
  • Stabilization Plan — see below.
  • Network Score — a score per category: redundancy, security, routing hygiene, scalability, and observability.

Live search sounds like a nice-to-have until you try to find ge-0/0/3 in an 80-page LLD.

“Why is this configured like that?” — the question nobody can answer

The HLD and LLD don’t stop at describing what’s configured.

Every protocol, every design decision — and in critical places, every command — comes with a rationale: why it’s there, what it solves, what depends on it, and what would break without it.

That sounds pedantic until you run into an unusual hold-time, a policy term that looks unnecessary, or a lone static route in the middle of a BGP network — and discover that someone wrote it at three in the morning five years ago to work around a bug, and nobody has dared to touch it since.

And this isn’t a problem of bad documentation — it’s a problem of time.

A new engineer joining the team, or someone called in to handle an incident two years after the network was built, doesn’t know the network and wasn’t part of the decisions.

They see the outcome, not the reasoning that led to it, and not what was considered and rejected along the way.

That’s why the rationale has to be part of the documentation itself, rather than knowledge that lives only in the head of whoever built the network.

This is the part that gets the strongest reaction at the handover meeting — because in practice, nobody in the organization remembers why half the decisions were made. Here’s what gets explained for each type of network:

Who connects to whom is the easy question

This is the most resource-intensive stage of the entire process — and, in my view, the most important one.

A topology drawing shows who connects to whom.

Understanding route propagation and forwarding behavior is a completely different question: how a given prefix gets from every point in the network to every other point.

Who advertises it, where it’s learned, where it’s filtered, which path is selected, and why that particular path.

To answer that, you have to dig into the routing tables themselves — the RIB, the FIB, and the per-VRF tables — not just the config. It’s heavy, it’s slow, and it’s what lets you answer the questions that actually keep people up at night: what happens when a site goes down, where the traffic will go, and where there’s a path that nobody planned for.

IPv6 is always there. Usually only halfway.

Every check in the process runs on IPv4 and on IPv6 as two separate checks.

This isn’t done for completeness’ sake — it’s a consistent source of findings:

  • Address families configured in BGP that carry no prefixes.
  • RAs active on interfaces where nobody intended IPv6 to run.
  • Firewall filters and CoPP defined for inet only, leaving inet6 wide open.
  • Policy asymmetry between the two address families.

In networks built a decade ago, IPv6 is almost always half-deployed, and nobody realizes it.

The order of operations is half the fix

The Gap Matrix says what’s broken.

The Stabilization Plan is the document that translates it into an order of operations: what comes first, what depends on what, what can be done live, and what requires a maintenance window — so that the fix itself doesn’t become an outage.

Here are three real dependencies that went into plans I wrote:

  • Control-plane protection comes before everything else.

Deploying protect-RE on all the MX routers was the first phase, ahead of any other change — because every routing change generates temporary control-            plane load, and that’s exactly the moment you don’t want to be exposed.

  • MTU before BFD.

MTU inconsistencies along the path had to be validated and corrected before aggressive BFD timers were enabled.

Standard BFD packets are small and can keep flowing while larger packets are dropped, so BFD won’t reliably detect a path-MTU problem; MTU                          validation and convergence testing have to be handled as separate checks.

In the reverse order, instability caused by the existing MTU problem would have been easy to blame on the newly enabled BFD timers, hiding the real                  cause.

  • Expand the subnet before moving the session.

Moving a provider’s BGP session from the CCR to the MX depended on first expanding the P2P subnet from a /30 to a /29, so that a redundant session                and VRRP could run at the same time — and so the migration never went through a window with only a single session.

 

The findings no dashboard shows

This is the part the whole process exists for.

It goes well beyond “BFD is missing,” because it’s derived from the RSI itself.

Routing & VRF

  • Unplanned VRF route leaking — RT import/export that passes more or fewer routes between VRFs than the design intends. This finding came up at more than one customer, and each time, nobody on the team knew it was there.
  • Import/export policies that don’t match between the primary and backup sessions.
  • Inconsistent communities and local-preference across sites.
  • Convergence that relies on protocol timers instead of BFD.

Platform limits — straight from the RSI

  • TCAM utilization against the ASIC limit, per device.
  • RIB and FIB size against the platform’s scale limits.
  • LFIB and label space in the MPLS core.
  • RE memory and CPU utilization, and their growth trend.
  • Next-hop count, ECMP members, and other scale limits that don’t appear on any dashboard.

Software lifecycle

  • Versions that aren’t the vendor’s recommended release, or that have a relevant open PSN/PR.
  • Version mismatches between devices that are supposed to work together.
  • EOS / EOL — hardware and software, with the dates and the replacement path.

Control plane & security

  • CoPP / protect-RE that’s missing, partial, or without a policer on critical terms.
  • Outdated ACLs — rules for servers that no longer exist, and new subnets that were never covered.
  • Legacy SSH ciphers, and keys that haven’t been rotated since the initial deployment.
  • A management plane that isn’t separated.

Hygiene

  • MTU mismatch along the same path — a classic source of “random” faults: fragmentation, PMTU black holes, and traffic that passes a ping but fails on a file transfer.
  • Unused configuration — policies, prefix-lists, communities, and interfaces that are defined but not applied anywhere. It creates two opposite risks: an engineer relying on something that isn’t active, and an engineer changing something that actually is.
  • Drift between the old documentation and the actual state. That gap isn’t noise — it’s a task list.

Every row in the Gap Matrix has a source: a section in an AVD, a recommendation in a JVD, a specific RFC, or output from the RSI. That’s the difference between “I think it’s worth doing” and a finding you can defend in a meeting.

 

And this is where it stops being a document

Up to this point, it’s documentation. From here on, it’s a system. The Skill is exposed as an agent via MCP, hooks, or an API, and connects to the enterprise tools the organization already uses — Teams, Slack, Jira, ServiceNow, Telegram.

From then on, any engineer in the organization — not just the one who built the network — can ask questions in plain language:

  • “What happens if site X goes down?”
  • “If the link to provider Y goes down, which services are affected, and where does the traffic go?”
  • “If this device dies, is there an alternate path, or is it a single point of failure?”
  • “Why does traffic from the northern site exit through the second PE?”
  • “What would you fix urgently?”
  • “We’re doubling our traffic this year — what breaks first?”

The answer comes from the actual topology, the actual policy, and the actual metrics.

Three ways to keep it from going stale

  • Tell it. After a maintenance window: “We deployed protect-RE on all the MX routers, added a preempt hold-time to all the VRRP groups, and moved the provider’s BGP session.” It updates the dossier and marks which Gap Matrix findings have been closed.
  • Let it pull. “Scan now and tell me what changed” — a diff against the last commit.
  • Automatically. A scheduled scan. The difference between two runs is a finding in its own right: an adjacency that disappeared, an interface that started accumulating errors, a routing table that grew 12% in a week.

Before and after

 

What happens when you pull a cable

The Skill doesn’t run these tests and doesn’t touch production equipment.

What it does is write a professional ATP — and above all, derive the expected results, the part that almost never gets written properly, because it requires knowing exactly what’s supposed to happen when a specific link is pulled.

And that’s exactly what the Skill can derive: pull the primary link at site A, and the traffic should fail over to the second PE in under X, the LSP should converge onto the backup path, and the VRF table should look exactly like this.

Failure scenarios included in the ATP:

  • Full site failure.
  • Simultaneous failure of both providers.
  • RE failover, fabric failure, LAG member failure.
  • Split-brain in VRRP or MLAG.
  • Control-plane flood.
  • A repeatedly flapping link — not a clean failure.

Every test follows a fixed structure: objective · precondition · action · expected result · pass/fail criteria · actual result.

The engineer supplies what the machine doesn’t know: what’s business-critical and what the SLA is.

 

Four networks that were all running perfectly

All of the findings below came from production environments without a single open incident, run by experienced teams who have known their networks for years.

This isn’t a story about neglected networks.

 

The tool isn’t the magic. Its calibration is.

This is the part that doesn’t make it into presentations, and it’s the part that determines whether the result is worth anything.

A good Skill isn’t a long prompt — it goes through iterations, and the first one I built was significantly worse than the fourth.

  • The tool will fill in gaps if you let it. That’s its main weakness, and it’s dangerous precisely because the result looks great. That’s why every SKILL.md I write includes an explicit Missing Data section: anything that isn’t found in the material is recorded as missing rather than filled in by inference.
  • A wrong answer sounds exactly like a right one. It’s well reasoned, it cites an RFC, and it simply doesn’t fit the platform installed at the customer’s site, or it breaks a contractual commitment to the host operator.
  • Knowing what to collect is half the work — knowing that you need the RSI and not just the config, and that you need LLDP and not just the diagram.
  • Knowing what to ask is the other half. No model will raise this question on its own: “Would the backup session actually have carried traffic on the day of a failure?”
  • Every customer improves the next one. The weaknesses discovered in one project go into the next project’s SKILL.md. After a few cycles, it stabilizes.

On AI adoption in networking

Network engineers have been among the last to adopt this, and I think rightly so.

A developer who gets bad code sees it at compile time or in a test.

A network engineer who gets a bad recommendation finds out during a maintenance window, on live equipment, with customers behind it.

There’s no undo here.

But for some, that caution has turned into one of two wrong extremes: either ignoring the tool entirely, or the opposite — copying its output without reading it. Both are mistakes, and both stem from the same root cause: nobody defined who is accountable for the outcome.

So let’s make it explicit. The responsibility is ours, as engineers. Always.

Not the model’s, not the tool’s, and not that of whoever wrote the Skill. AI output is a suggestion, not an approval.

It counts as correct only after an engineer has verified it against the equipment and understood why it’s correct, and can explain what will happen when it’s applied.

And that’s exactly what makes the tool useful rather than dangerous: it shortens the path to the answer, not the path to the decision.

The time saved on retrieval and cross-checking is freed up for thinking — which is exactly the time that was missing before.

And why a human reviews everything: this is a production environment. Every gap in the Gap Matrix goes through human review before it’s delivered; every generated config is read and understood by an engineer before it touches a device, in a maintenance window and with a rollback plan; every ATP scenario is approved before it’s run.
Even the automated playbooks only raise alerts and open tickets — they don’t fix anything.

The bottom line

  • The model is the cheap part. What you feed into it, and what you know to reject in the answer that comes back — that’s what takes experience.
  • A dedicated Skill for each network gives the customer two things they never had: documentation that stays up to date, and an agent they can ask questions in plain language.
  • Findings read from the RSI — TCAM, RIB, LFIB, EOS / EOL — are the ones no dashboard shows, and they’re the ones that will sink the next upgrade.
  • The format matters more than the model: Markdown in a local repo outlives the model, the vendor, and the engineer who wrote it.
  • And a human still makes the call.

 

Share:

Under Attack?
Broken Network System?

Leave your details below and we’ll get back to you shortly




    Oasis
    Privacy Overview

    This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.