NETCLAW 1.27 · COMMUNITY SPOTLIGHT
The diagram that keeps up.
Ryan Huff built NerdGram1337, a free, local library for network diagrams. Then he opened the pull request that made it part of NetClaw. I took it live.

- 66versions in 18 days
- 21MCP tools
- 71offline contract checks in the PR
- 12,231npm downloads in November
- 0differences after the restore
Every network has that diagram.
You know the one. It lives in a Visio file from 2019, someone who left three reorgs ago is still in the title block, and when you ask if it's accurate, the answer is always the same: "Mostly."
Ryan Huff has a line on the NerdGram website that I can't stop thinking about:
People don't want a better trap. They want the mice gone.
RYAN HUFF · NETWORKNERD1337
Nobody wants a better way to draw a diagram that will be wrong next Tuesday. We want the stale diagram problem gone. This week I watched that happen, live, in my lab. Four NetClaw agents pulled CDP neighbors from a Cisco Modeling Labs topology and cables from NetBox, then handed the raw data to NerdGram. NerdGram drew the network, saved a baseline, noticed when I pulled a cable, and confirmed when I put it back.
This is a story about a tool and an integration. Above all, it's about a person who built something great and then did the work to make it fit someone else's project.
Meet Ryan Huff
Ryan Thomas Huff, NetworkNerd1337 online, is a network and voice engineer in Atlanta who has spent more than twenty years keeping packets moving in critical infrastructure.
This is not someone who discovered networking last month. Ryan is a Network Engineering Manager responsible for roughly 2,000 devices across about 220 IT and OT sites. Before that, he spent eight years at value-added resellers (AdCap, Anexitan and ConvergeOne) deploying SD-WAN, security and collaboration systems. He moved an organization from PRI lines to SIP trunks and saved it about $200,000 a year. He writes Python tools that watch SD-WAN and transport health. He describes himself as an Army Guard and Reserve veteran, a ham radio operator, and an "AI tinkerer."
In other words, Ryan has lived with that diagram at a scale most of us never will. When someone who runs 220 sites decides to build a diagram tool, it's worth paying attention to what he thinks the problem is.
We connected in the VibeOps Forum. That's exactly the kind of place where this happens: someone shows up with something they built, it's obviously good, and the conversation turns into "you should open a PR." He did, and he did it properly. More on that below.
What NerdGram1337 is
NerdGram1337 is a local, code-first app for network diagrams in Mermaid. Every diagram is a plain .mmd text file on your disk. It's MIT licensed, and in Ryan's words there is "no account, no hosted service, no AI generation, and no paywall."
That last part matters. NerdGram doesn't use AI to imagine your network. It draws what your data says. That makes it a perfect partner for an AI agent: NetClaw does the reasoning and collecting, and NerdGram keeps an exact, versioned record of the result.
What makes it a diagram library rather than another drawing tool:
Diagrams are .mmd files on disk. Optional GitHub sync copies them to a private repository you own.
Every save keeps the previous version. Named baselines such as "pre-change CHG-1234" are kept separately, and you can compare or restore any two.
CSV, JSON, Cisco CDP, LLDP, show ip route (IOS, IOS-XE, NX-OS) and ARP/MAC tables. A refresh replaces only the generated block, so your hand-written notes survive.
A node in a WAN overview opens a site diagram with a click line. A Diagram health page flags broken links.
L1, L2, L3, VLAN, VRF and site tags are written as ordinary Mermaid comments, so you can switch between layers.
Write a diagram out as a pyATS testbed, a containerlab, CML, GNS3 or EVE-NG lab, or an Ansible or Nornir inventory. NerdGram itself never connects to a device.
Streamable HTTP at /mcp, with 21 tools, read and read-write token scopes, and writes that go through the same save path as the app, so every change keeps its history.
A REST API, a CLI, a template gallery, path tracing, a presentation mode, and Lucid and Visio .vsdx import.
Run it with Docker (ghcr.io/networknerd1337/nerdgram1337) or install it with npm install -g nerdgram1337 on macOS, Windows or Linux.
Built at the speed of a community
Ryan created the NerdGram repository on November 12, 2026. Version 1.0.5 "Atlas" shipped the next day. Version 2.6.4 "Astrolabe" shipped on November 30.
That's 66 versions in 18 days, each with release notes, each named for an instrument people have used to find their way. It's a fitting theme for a tool that maps networks.
- Atlas1.0.5 – 1.4.8 · 17 versions
- Compass1.5.0 – 1.5.1
- Galileo1.6.0 – 1.6.1
- Navigator1.7.5
- Meridian1.8.5 – 1.8.19 · 15 versions
- Zenith2.1.0
- Azimuth2.1.5 – 2.1.28 · 18 versions
- Crossstaff2.5.0 – 2.5.1 · layered views, path tracing
- Theodolite2.5.5 – 2.5.7
- Astrolabe2.6.0 – 2.6.4 · linked diagrams · current
- Quadrant → Octant → … → Horizon2.6.5, 2.7.0, and 3.0.0 on the roadmap
npm counted 12,231 downloads in November, the package's first month.
That pace would be impressive on its own. What impressed me more was the care.
The pull request
I invited Ryan to bring NerdGram into NetClaw. He opened pull request #379. It merged on November 29 and became NetClaw 1.27.0, spec 201.
It was a complete contribution, made the way the project asks contributors to work:
- A full Spec Kit set: spec, research, plan, data model, contracts, quickstart, tasks and requirements checklist.
- Every NetClaw surface updated: the component catalog, installer, HUD node, SOUL, TOOLS, README and
.env.example. - The
nerdgram-diagramsskill, documenting all 21 tools with their token scopes. - An offline contract suite of 71 checks. Every tool name was checked against NerdGram's own server source.
- Honest verification notes that said plainly what had not been tested live.
That last point is rarer than it should be. Plenty of pull requests claim everything works. Ryan's told me exactly where the edges were, and that's what let me find the one gap in an afternoon.
The design decisions are the ones I'd want from anyone:
- Least privilege by default. A
readtoken exposes 8 tools; aread-writetoken exposes 21. Tokens are created only on the NerdGram host, and NetClaw cannot create one. - Read before write. The skill calls
nerdgram_getfor the content hash, then callsnerdgram_putwithexpectedHash. It never forces a write. - Verify after write, with lint, get and history.
- Guardrails. DefenseClaw blocks
nerdgram_trashandnerdgram_replace_applyby default, and the skill asks a human before using either. - NerdGram never logs in to a device. Device data comes from NetClaw's existing read-only skills.
Taking it live
Ryan's notes said the integration had been tested against a mock, not against a real NerdGram and a real gateway. So I took it live.
The setup: NerdGram 2.6.4 running locally on my Mac, bound to loopback, and my local NetClaw Border with four new members. Each member is a scoped agent that sees only its own MCP server and an allow list of tools.
| Member | MCP server | What it may do | Backend |
|---|---|---|---|
| pyats-member | pyATS MCP | 7 read-only tools (show, neighbors, health) | R1 and R2 over SSH |
| cml-member | CML MCP | Lab, node and link reads, plus exec-mode show commands on the console | Cisco Modeling Labs 2.10, lab "NetClaw-Full-Topo" |
| netbox-member | NetBox MCP | 4 read-only tools | demo.netbox.dev |
| nerdgram-member | NerdGram MCP | 19 tools; no trash, no bulk replace | NerdGram on loopback |
Step 1: Collect from the network
The pyATS member ran show cdp neighbors detail on R1 and R2 over SSH. It returned Genie-parsed data and said so, rather than passing structured output off as raw text. That's the honesty you want from an agent.
The switches in this lab answer only on the CML console, so the CML member ran the same command on R1, R2, SW1 and SW2 through the console and returned the raw output. Two members, two collection paths, one Border.
Step 2: Draw it
The Border routed the raw CDP text to the NerdGram member, which called nerdgram_upsert with format: cdp. (For this demo I chained the steps myself, one routed task at a time, rather than giving the Border one big prompt.)
The result was four nodes and three links. Each link seen from both ends was merged into one edge, and the diagram matched the CML lab's link table exactly. Lint reported zero problems.
Step 3: The source of truth
The NetBox member searched demo.netbox.dev for a site with a handful of cables and found "Voorbeeld HQ." It returned six interface-to-interface cables. It correctly left out two cables that end on patch-panel front and rear ports, and explained why. I checked all eight cables against the NetBox API myself, and every row matched.
The NerdGram member turned those six cables into a second diagram: seven devices and six links, with no lint problems.
Then it tied the library together. It saved a named baseline, pre-article-2026-12-01, on the lab diagram, and created an Overview.mmd with click links that open both child diagrams.
Step 4: Break something
A diagram that is right once is a picture. A diagram that notices change is a tool.
So I opened a change window and stopped the R2–SW2 link in CML. The CML member collected CDP again: SW2 now reported zero neighbors, and R2 had lost SW2. The NerdGram member ran nerdgram_refresh on the lab diagram and reported exactly what had changed: SW2 and the R2–SW2 link were removed, and nothing was added. Then it compared the diagram with the baseline:
--- pre-article-2026-12-01
+++ Current
subgraph g_Cisco_IOS-XE["Cisco IOS-XE"]
R1["R1"]
R2["R2"]
SW1["SW1"]
- SW2["SW2"]
end
R1 -->|"Eth0/1 – Eth0/1"| R2
R1 -->|"Eth0/2 – Eth0/1"| SW1
- R2 -->|"Eth0/2 – Eth0/1"| SW2
Step 5: Put it back
I restored the link. CDP relearned the neighbor within seconds. After one more collection and one more refresh, the NerdGram member reported: "The diff shows zero differences. The topology now matches the baseline exactly."



The diagram's history now holds three revisions: the baseline, the outage, and the restore. That is a change window with a before, a during and an after, recorded in a diagram that came from the network itself.
What the live run found, and fixed the same day
Here's the part I love most about open source.
The first time the NerdGram member tried to connect, it saw no tools. The cause: when a remote MCP entry has only a url, OpenClaw uses the older SSE transport, and NerdGram serves Streamable HTTP only. NerdGram correctly answered 400. The registration needed one line:
"transport": "streamable-http"
With that line, openclaw mcp probe listed all 21 tools.
This was exactly the gap Ryan's verification notes had warned about. His offline contract tests proved everything they could without a live gateway, and the live run found the one thing only a live run could find. I wrote the fix the same afternoon as NetClaw 1.27.1, pull request #384, now in review. It includes a new offline test so this can't regress, and the installer carries the field into existing installs.
That's not a knock on the contribution. It's the system working: careful contracts, honest notes, a live run, and a hotfix, all within about a day.
Where NerdGram fits in NetClaw
| Stage | NetClaw skill or MCP | How it connects |
|---|---|---|
| Collect | pyats-topology, CML node operations, the routing skills, the Nornir multivendor driver |
Read-only collection. Raw text goes to nerdgram_upsert as data. |
| Source of truth | netbox-reconcile (and NetBox, Nautobot or IP Fabric exports) |
Cables or links as CSV or JSON go to nerdgram_generate or nerdgram_upsert. NetBox was demonstrated live; Nautobot and IP Fabric are suggested. |
| Keep | nerdgram-diagrams → nerdgram-mcp |
Plain .mmd files with revisions. A refresh replaces only the generated block. |
| Change windows | nerdgram_baseline and nerdgram_diff, plus GAIT |
Baseline before, compare during and after: demonstrated live. GAIT logging of writes is part of the skill but was not part of this demo. |
| Guardrails | DefenseClaw allow and block lists, token scopes | Read token by default; destructive tools blocked. |
| Labs | pyATS testbeds, containerlab, CML, GNS3, EVE-NG, Nornir | NerdGram's design exports produce files these tools consume. Suggested, not yet tested with NetClaw. |
| Other visuals | drawio-diagram, uml-diagram, markmap-viz, threejs-network-viz |
Those draw once. NerdGram keeps the library. |
Try these prompts with your own NetClaw:
- "Draw a NerdGram diagram of the Atlanta core from this LLDP output."
- "Link the Atlanta site diagram to the WAN overview."
- "What changed in the WAN diagram since baseline pre-change CHG-1234?"
More from Ryan
Ryan didn't stop at NerdGram. In the last few days he published a series of learning labs built on one idea: break it to learn it.
Ryan Thomas Huff · NetworkNerd1337
Network and voice engineer, Atlanta. Builder of NerdGram1337 and the "break it to learn it" labs.
Go do something
- Star NerdGram and try it: run the Docker image, or
npm install -g nerdgram1337. - Buy Ryan a coffee on Ko-fi. NerdGram is free, and he's committed to keeping it that way.
- Turn it on in NetClaw. Run
./scripts/install.sh, choose Analysis & Diagrams and then NerdGram, create a token on the NerdGram host, and setNERDGRAM_TOKEN. On 1.27.0, add"transport": "streamable-http"to thenerdgram-mcpentry; the 1.27.1 hotfix does this for you once it merges. - Be the next Ryan. Build the thing you need, show it to the community, and when someone says "you should open a PR," open the PR.
Thank you, Ryan. You made the diagram finally keep up with the network.