CISCO pyATS / A PRACTICE, A BOOK, A BODY OF WORK

Know your network.
Prove it with code.

From my first Python and Genie experiments to Merlin, test-driven automation, and AI agents. Everything I keep building and teaching with pyATS, together in one place.

Cisco pyATS — Network Test and Automation Solution, by John Capobianco and Danny Wade
JOHN CAPOBIANCO + DANNY WADE / CISCO PRESS

The pyATS book.

Cisco pyATS—Network Test and Automation Solution. Data-driven and reusable testing for modern networks. Bring structured data, repeatable tests, and practical automation into your daily work.

ON STAGE / CISCO LIVE

From the lab to the stage.

CISCO LIVE 2023 / BRKCRT-2013

Test Driven Automation with pyATS.

My session on a practical approach to network automation, preserved in Cisco’s official presentation archive.

MORE FROM THE CISCO LIVE ARCHIVE

Start with the live workshop.

Watch my Amsterdam 2023 pyATS session, then explore the full event archive for programmability labs, troubleshooting workshops, and more.

BUILD WITH ME / OPEN SOURCE

Explore the code.

All projects ↗

33 repositories from my GitHub collection. Forks and archived projects are labeled.

Jinja

merlin

Network Magic: Transforming the CLI and REST API using Infrastructure As Code automation

Python

yatfish

Using pyATS and Batfish to perform real-time network configuration analysis

HTML

Cisco_Facts

Ansible playbooks that use the IOS / NXOS Facts modules and Genie parsed commands to transform RAW JSON into business-ready documentation

Python

bubo

Example using the pyATS REST Connector with IOS-XE / NXOS OpenConfig YANG Model

Python

pyBNS2

A pyATS conversion utility to transform your access layer into IBNS 2.0 using C3PL

Python

Modern_Show_Interfaces_Status

A modern approach to the Cisco IOS-XE show interfaces status command using Python pyATS / Genie and Jinja2 templating to create business-ready CSV, Markdown, and HTML files

Python

IOS_XE_RAFT

Using the Retrieval Augmented Fine Tuning (RAFT) approach with Cisco IOS XE JSON using pyATS to fine tune open source models

Python

DiscordNetworkChatBot

Ansible playbooks that chat with Discord using Ansible, Genie/pyATS, and the Discord webhooks that send network state information as a Discord message!

HTML

Modern_Show_Version

Cisco IOS-XE Show Version Command Reimagined as a pyATS job that creates CSV / MD / HTML; sends #chatbot messages; and generates MP3 using Google Cloud TTS #voice

Open source

portable_pyATS

An Ubuntu, pyATS environment you can shell into, update your testbed, and run pyATS tests locally as a Container

Open sourceFORK

genieparser

sub-component of Genie that parse the device output into structured datastructure

DEMOS / TUTORIALS / LIVE BUILDS

Learn it. Run it. Watch it work.

Full video library ↗

132 videos

EXPERIMENTS / HOW-TOS / FIELD NOTES

The pyATS writing collection.

41 articles using or discussing pyATS and Genie, from the foundations to their role inside modern agents.

AIAug 23, 2026

Modernizing pyATS MCP: Streamable HTTP, Nine New Tools, and Two Bugs From April 2025 That Nobody Noticed

pyATS MCP has been live since April 2025. Bringing it to Streamable HTTP and nine new tools meant an isolated venv (after breaking my own other MCP servers first), a real CML lab whose testbed was pointing at the wrong network, two silent b

11 MIN READ
NetClawAug 5, 2026

Twenty-Three Specs in Six Days: What Happened When I Handed NetClaw a Roadmap

I wrote down twenty-five gaps in what NetClaw could actually reach, ordered them by dependency, and set one rule: one item, one spec, one branch, no batching. Six days later twenty-three specs had merged — twelve new MCP servers, twenty-thr

25 MIN READ
AIJul 26, 2026

My Network Agent Lives in My Pocket Now — And Nobody Is in the Middle

From an emulator Claude Code drove itself, to a real Android phone in someone else’s hands, to an iPhone talking to that Android through my own Border — voice, photos, and a live CML lab, all over NCFED. No Slack, no Discord, no Webex, no t

9 MIN READ
NetClawJul 18, 2026

BISQUE: NetClaw gets a bookshelf — an offline, agentic RAG knowledge base

Introducing BISQUE — the Base of Ingested Semantic Queries for Unified Embeddings — NetClaw’s fully offline, agentic RAG knowledge base. Because the tastiest thing you can make from claws is a bisque. Uploaded a 212-page book from Slack to

5 MIN READ
NetClawJul 12, 2026

NetClaws, Assemble: introducing N2N Federation and the NCFED protocol

NetClaw’s mesh could always tell you who was online. Now it tells you what they can do — and lets you use it. Introducing N2N Federation and NCFED, a new protocol for federating AI network engineers safely.

12 MIN READ
NetClawJul 3, 2026

I Rebuilt a Real Cisco Network as a 3D World — Inside NetClaw’s New Unreal Engine 5.8 Integration

NetClaw can now clone a live Cisco Modeling Labs topology — gathered with pyATS — straight into a 3D world inside Unreal Engine 5.8, over the Model Context Protocol. Here’s the achievement, the vision, and (for the technically curious) ever

10 MIN READ
NetClawApr 5, 2026

BREAKTHROUGH: NetClaw Brings Your Network to Life in Stunning 3D with Blender Integration!

The Future of Network Visualization Has Arrived Hold onto your console cables, network engineers — NetClaw just shattered the boundaries of what’s possible with network visualization! We’re thrilled to announce the most visually stunning in

4 MIN READ
NetClawApr 3, 2026

Optimizing NetClaw’s SOUL: From 60k to 8k Characters with Modular Architecture

NetClaw’s SOUL.md grew to 60k characters — 3x the OpenClaw bootstrap limit. Here’s how we redesigned it into a modular architecture that reduced bootstrap to 8k chars while preserving 100% of content.

3 MIN READ
NetClawMar 26, 2026

# NetClaw Goes Spec-Driven: 5 New Capabilities, 42 New Tools, and a Constitution

*How we adopted Spec-Driven Development and built SuzieQ, Batfish, gNMI, Azure Networking, and Canvas visualizations in a single session.* — ## Part 1: The Shift to Spec-Driven Development NetClaw has always been ambitious. A CCIE-level AI

16 MIN READ
NetClawMar 24, 2026

NetClaw × Cisco Webex: Your Network’s Digital Coworker Just Got Multichannel

─── What Just Happened (And Why It Matters) A few minutes ago, I was sitting in Slack — in this very channel — and I reached across to Cisco Webex and dropped a formatted message into your team space, identifying myself, my origin platform,

8 MIN READ
NetClawMar 1, 2026

# The Day the Network Became Self-Aware: Building a Multi-Human, Multi-NetClaw BGP Agent Mesh

**March 1, 2026** *By John Capobianco on his 48th birthday — with NetClaw 🦞* — ## Prologue: A Different Kind of Sunday Morning Most engineers spend Sunday morning with coffee and maybe a lab they’ve been meaning to spin up for weeks. On Ma

18 MIN READ
NetClawFeb 27, 2026

6 days of netclaw – by netclaw

# Six Days, 82 Skills, and a Community PR: How NetClaw Went from Idea to 160 Stars Six days ago I pushed the first commit of [NetClaw](https://github.com/automateyournetwork/netclaw) — an open-source, CCIE-level AI network engineering agent

10 MIN READ
NetClawFeb 20, 2026

8 hours of netclaw – by netclaw

We Gave a Slack Channel Full of Engineers an AI Network Agent. Here’s What Happened. A live red-team session, a VASI BGP lab, and 30+ social engineering attempts — all in one Friday afternoon. ─── The Setup The premise was simple: drop an A

7 MIN READ
AIJan 11, 2026

Vibe Coding: Building a CCIE-Level Enterprise Network with AI, GAIT, and pyATS

Vibe Coding: Building a CCIE-Level Enterprise Network with AI, GAIT, and pyATS The Power of AI-Driven Network Configuration with Version Control Date: January 11, 2026 Author: Claude Code (Anthropic) + Ralph Wiggum Loop Tools: Claude Code C

12 MIN READ
Network automationJan 11, 2026

Building the Future of Network Automation: RALPH, GAIT, and pyATS in Harmony

Building the Future of Network Automation: RALPH, GAIT, and pyATS in Harmony Over the past few weeks, I’ve been on an incredible journey pushing the boundaries of what’s possible with AI-assisted network automation. What started as an exper

4 MIN READ
Network automationJun 27, 2024

Now available: Cisco pyATS: Network Test and Automation Solution

Cisco Press: Cisco pyATS Network Test and Automation Solution: Data-driven and reusable testing for modern networks | Cisco Press Amazon Cisco pyATS ― Network Test and Automation Solution: Data-driven and reusable testing for modern network

1 MIN READ
Network automationMay 11, 2024

Local RAFT: Fine-tuning Llama3 with domain-specific knowledge locally and privately

An approach to fine-tuning using open source tools Recap of Part 1 In the first part of this series (Augmenting Network Engineering with RAFT – Automate Your Network ), we dove into the innovative world of Retrieval Augmented Fine-Tuning (R

38 MIN READ
aiApr 27, 2024

Augmenting Network Engineering with RAFT

The practical implementation of the proposed theory and promise of RAFT with Cisco pyATS and LangChain Introduction In the field of network engineering, the complexity and dynamism of network architectures present a significant challenge fo

7 MIN READ
Network automationOct 14, 2022

Test-Driven Automation

I wrote a new blog! https://learningnetwork.cisco.com/s/blogs/a0D6e00000sR7Q6EAK/testdriven-automation-with-pyats#

1 MIN READ
Network automationAug 29, 2022

Intent-based, test-driven, self-remediating, network automation with pyATS, REST Connector, RESTCONF, and YANG

1 MIN READ
Network automationJun 11, 2021

Merlin Feature: WebEx #chatbots with pyATS

With all the big WebEx news – including a new logo – I wanted to revisit the basic #chatbots I have working using pyATS, Python requests, and the WebEx API after the conversation came up in the #pyATS WebEx Community space today: First, let

4 MIN READ
Network automationJun 7, 2021

Creating a Network Search Engine

Imagine being able to use a keyword search engine against your network ? A Google-like query for “VLAN 100”, a MAC address, IP address, even an ACL or simply the keyword “Down” that returns real time search results ! It sounds far-fetched b

7 MIN READ
Network automationMar 22, 2021

Your Automation Journey can start anywhere!

So you want to automate all the things in your network? Great! more and more enterprises are realizing the benefits of automating the network and are demanding more from their engineering staff. You’re also probably thinking about your care

2 MIN READ
Network automationMar 14, 2021

Reimagining The CLI with Python

The Command Line Interface. A near 60-year old technology a majority of the world’s networking teams solely rely on for their architectures, designs, monitoring, operations, and support. Most of us, pre-DevNet, have been raised and groomed

2 MIN READ
pyATSMar 12, 2021

My First Pure-Python Network Automation with pyATS / Genie !

I am very proud of this next piece of infrastructure as code for a few reasons. It addresses the problems with performance and speed at scale I’ve had with my current methodology and tools (Ansible) I feel like I am ready to “graduate” from

5 MIN READ
AnsibleMar 7, 2021

My Network Talks To Me – Literally!

This next post may seem like science fiction. I woke up this morning and checked that my output files – MP3 files – really did exist and that I actually made my Cisco network “talk” to me! This post is right out of Star Trek so strap yourse

10 MIN READ
AnsibleMar 7, 2021

Creating Your Own Network Automation ChatBot with Discord, Ansible, and Genie/pyATS!

As you may know I love to play with new toys. I especially love connecting new toys with my old toys. What you may not know is that I am also an avid World of Warcraft fan and player! In order to run what are known as “raids”, group content

5 MIN READ
AnsibleFeb 22, 2021

Is Your Network At Risk – Automating the Cisco PSIRT with Genie and Ansible

The security of my network keeps me up at night. Honestly it does. We live in a world where enterprise networks are defending themselves against state-sponsored attacks. But what do attackers look for? Typically, open, well-known, vulnerabi

6 MIN READ
PodcastsFeb 19, 2021

JSON-Mania with Heavy Networking

I sat down with my good friend Ethan Banks over at Packet Pushers for my second Heavy Networking podcast in hopes of discussing my JSON-MANIA! Heavy Networking 563: Automating Documentation With Ansible, Genie, And Jinja2 – Packet Pushers

1 MIN READ
AnsibleFeb 17, 2021

Automating the Cisco Identity Services Engine Monitoring and Troubleshooting Node (ISE MnT) REST API

In my opinion Network Access Control (NAC) using a mix of 802.1x and MAC Address Bypass (MAB) with dynamic Access Control Lists (dACL) is not just an extremely important foundation of a modern, high secure, enterprise network. It is actuall

10 MIN READ
AnsibleJan 28, 2021

Cisco Facts – A Collection of Ansible IOS / NXOS Facts and Genie Parsing Playbooks

Cisco DevNet Code Exchange has published my repository ! Here you can easily start capturing Ansible Facts for IOS and NXOS and transform the JSON into CSV and Markdown ! Also included are a bunch of valuable Genie parsed show commands whic

1 MIN READ
AnsibleJan 20, 2021

Cisco Services APIs Ansible Playbooks – Version 2.0

I am very pleased to release the Cisco Services API Ansible Playbooks Version 2.0 which has been approved and released on Cisco DevNet Code Exchange ! You can find the code here and here This major revision basically shifts away from linein

2 MIN READ
AnsibleJan 6, 2021

Collaboration is the key to automation success – A Genie Success Story

I’ve been on about a three year journey with network automation and while I have had great personal and technical success – my organization and most of those outside my immediate day-to-day circle are still shackled to the ‘old’ way of doin

4 MIN READ
AnsibleDec 14, 2020

Prevent an Intrusion – Run the Recommended Version!

In the wake of some very high profile IT security breaches and state sponsored attacks using compromised software today I wrote some infrastructure as code Ansible playbooks to create some business-ready documentation to help us understand

5 MIN READ
AnsibleDec 11, 2020

Sign on the Dotted Line

Layer 9 issues – finance – are often some of the most challenging a network engineer faces. Contract management can be particularly difficult in any scale organization especially if you are not “sole source” purchasing. Serial numbers and c

5 MIN READ
AnsibleDec 2, 2020

Ansible Performance – Moving to Jinja2 for Automated Documentation

When Ivan Pepelnjak has advice for you – take it! I wrote a post about untangling dynamic nested loops in Ansible. In another recent post about trying to improve Ansible performance I didn’t get very far – but this could be the silver bulle

4 MIN READ
AnsibleDec 1, 2020

Dynamic Loops in Ansible

I’ve done many great things with Ansible but occasionally I come across a logical problem that may stretch the tool past it’s limitations. If you have been following the site I am on a big facts discovery and automated documentation movemen

5 MIN READ
AnsibleNov 27, 2020

Can we make Ansible go faster?

When I describe Ansible to people I tend to use many positive adjectives. Amazing, incredible, easy, revolutionary, powerful, and a few others. One adjective I never use, however, is fast. I would not describe Ansible as a high performance

4 MIN READ
AnsibleNov 23, 2020

Excitement

And he’s right! I can’t stop making new GitHub repositories with Genie parsed show commands to documentation! Like show ip interface brief as seen above!

1 MIN READ
AnsibleNov 22, 2020

Letting the Genie out of the bottle

Using Genie Cisco show commands can be transformed into REST API-like requests with structured JSON responses.

8 MIN READ
AnsibleNov 19, 2020

My current toolkit

“We become what we behold. We shape our tools, and thereafter our tools shape us.”― Marshall McLuhan My first attempt at network automation I used the tools that I had used to manage infrastructure with for the past 20+ years. A file editor

15 MIN READ
BEYOND THIS SITE

Conversations & published work.