See the future of network automation in action. In this video, I demonstrate a fully autonomous "Network Agent" powered by Google's Gemini 3 Pro model, interacting directly with a live network topology through the Model Context Protocol (MCP) and Cisco pyATS.
Watch as the AI plans, configures, verifies, and writes its own test scripts to validate complex network changes—all from natural language prompts.
What's Inside This Demo:
1. Interface Discovery & Health Check I start by asking the agent a simple question: "How are the interfaces on R1?" The agent autonomously selects the correct pyATS tools to pull live interface status, parses the output into structured data, and returns a human-readable summary of the device's physical state.
2. Automated CDP Configuration & Validation Next, I task the agent with enabling Cisco Discovery Protocol (CDP) across the entire topology. You'll see the agent discover the topology first, identify the correct links, push the configuration to multiple devices in parallel, and verify the neighbor relationships—completely hands-free.
3. Live Proof: The "Self-Healing" Agent I dig deeper into the agent's logic. Watch how the "Deadman Switch" and "Loop Breaker" features handle real-world hiccups. When the model needs to verify a change, it automatically clears its cache, re-runs live commands, and "nudges" itself to ensure it doesn't get stuck in a loop, proving it can recover and finish the job without human intervention.
4. Complex OSPF & Router-on-a-Stick (ROAS) Deployment The grand finale. I give the agent a single complex prompt: "Configure OSPF and ROAS for VLANs 10, 20, 30, 40." The agent orchestrates a complete multi-step workflow:
Discovery: Maps the physical links between routers and switches.
Config: Configures 802.1Q trunks, subinterfaces, IP addressing, and OSPF Area 0 routing.
Convergence: Automatically waits for OSPF adjacency to form.
Validation: Uses a dedicated ping tool to verify Layer 3 reachability across the network and generates a Python aetest script on the fly to assert 100% success.
Tech Stack:
Model: Google Gemini 3 Pro (Preview)
Protocol: Model Context Protocol (MCP)
Automation: Cisco pyATS & Genie
Language: Python
Links:
Git repo on the VibeOps Forum GitHub:
https://github.com/vibeopsforum/pyATS...
pyATS MCP Server:
https://github.com/automateyournetwor...
Try it out for yourself!