For working network engineers
AI-Assisted Network Automation
Learn to automate network changes with Python, and catch a bad AI-generated change before it reaches a device.
- 10
- free foundation lessons
- 32
- graded paid lessons
- 10
- paid course modules
- $299
- every paid course, lifetime
One payment of $299 gets you this course and every other RouteSwitchU course, now and later. The first 10 lessons are free with a RouteSwitchU account, which takes an email address and a password.
Learning objectives
What you will be able to do
- Write a script that talks to devices and fails loudly when something is wrong.
- Catch a bad AI-generated change before it reaches a device.
- Leave a run record another engineer can easily read.
What you leave with
Why choose this course?
A tested automation tool
It discovers network state, makes the change, and checks the result against what you said would happen.
A rollback you have run
The revert is graded too, so you prove it works before anyone needs it.
A run record
Each stage of the change reports pass or fail: discover, push, validate, roll back, and record.
A clean handoff
The next engineer gets the tool, the record, and a written boundary of what it supports.
Course map
What the modules cover
Free foundation track
The free track has 10 lessons in 2 modules, free with an account.
01From Your First Script to Network Records
Start with text and printed output, then learn numbers, lists, and functions before working with loops and network records. Browser checks use changed inputs to verify the skills you practice.
- Your First Python Script: Text and Output
- Numbers and Lists from Network Data
- Functions: Name a Reusable Step
- Conditionals and Loops
- Dictionaries, Sets, Files, and Exceptions
02Parsers, Objects, and a Package
Extend your core Python with regular expressions, device objects, and libraries. Assemble parsers, audit checks, and a report into the netaudit package; local command-line practice is an extension.
- Regular Expressions for Show Output
- Classes and Objects, Part 1
- Classes and Objects, Part 2
- Libraries, pip, and Virtual Environments
- Modules, Packages, and the Capstone
The paid course
The paid course has 35 lessons in 10 modules, and 32 of those lessons are graded. Its modules are numbered 0 through 9, so Start Here is module 0 of the paid course.
00Start Here
What the course promises, and how the browser-first path works. Network FDE here means you own the whole change, not just the script. That runs from the first ticket through to proof and handoff. You see how the pages and labs work, when a local tool helps, and what this course cannot reproduce.
- How This Course Works
- The Network FDE Role
01Just Enough Python
Learn the Python the rest of the course uses, on network records and saved output. A placement check lets an experienced Python reader skip ahead. The first graded record keeps a staff report separate from a measured fact. After that the module covers files, JSON, functions, and test output.
- Can You Skip This Module?
- Python: First Contact
- Data Shapes: Lists, Dicts, and JSON
- Loops, Decisions, and Functions
- Your Working Environment
02The Day-One Automation Loop
You run your first complete delivery loop on a made-up district office network. First you sort the reported complaints from the measured facts. Then you write the morning authentication problem down with a baseline and a target. You crawl LLDP, generate a topology you can review, and push a firewall policy change. You validate it deployed without breaking anything else. Then you hand the follow-up ticket to the help desk lead. Every required check runs in the browser.
- Discover and Document a Network from One IP
- Push Config from Data, and Prove It Deployed
- Validate a Change Before and After
- Side Quest: Mermaid Network Diagrams as CodeFree
03Keep a Human in the Loop
Check every claim against what the devices report. Then route each failure to the role that can act on it. The module covers secret handling, reading a traceback, data-shape errors, logic bugs, diagnosing the environment, verification, and undo. You also sort the work into code, data, environment, process, training, staffing, and vendor, then record the next owner.
- Secrets, Credentials, and Safe AI Usage
- Read the Traceback, Find the Real Line
- Judge the Shape: Dicts, Nested Dicts, and JSON
- Spot the Bug You Didn't Write
- Is It the Code or the Environment?
- The Verification Habit (and Git as Undo)
- Side Quest - Bug Swarm: The Human-in-the-Loop ArcadeFree
04Build With AI
Write down what the tool must do before you ask a model for code. That means the problem it solves, its inputs and output, and what happens on error. It also means how you will accept it, and what stays out of version one. Then you check the code that comes back. You decide which actions can run on their own, which need approval, and which stay human work.
- Working with an AI Assistant: the Loop
- Vibe-Code a Tool with AI, and Verify It
- Token Economics: Run Your Assistant Like a Network
05Source of Truth and Git
Turn measured network state into a source of truth. It gets an owner, a seven-day freshness limit, and a line between what was observed and what was approved. Git keeps the history. You compare a later discovery with the record, trace the changes, restore an earlier standard, and hand freshness over to an owner.
- Feed What You Discover into a Source of Truth
- Version the Source of Truth in Git
06Device APIs
Read state over RESTCONF, stream telemetry with gNMI, and make transactional changes over NETCONF. Then compare the three on access, data quality, licensing, maintenance window approval, rollback, and shared dependencies. You pick one and say why.
- Talk to Devices over REST and RESTCONF
- Stream Telemetry with gNMI
- Change Safely with NETCONF and Confirmed Commit
07From Scripts to Tools
Turn a working script into a tool another operator can run and support. Write down the operator, the maintainer, and the support boundary. Write down who has adopted it, the work trace, and what version one leaves out. Then structure the repository, write tests, make a repeat run safe, and return failure information somebody can use.
- Project Structure for Automation Tools
- Testing Beyond the Lab
- Idempotency as a Discipline
- Error Handling for Automation
08Run It for Real
Plan and record an approved production change. You separate the acceptance checks from the operational outcomes. You settle approval and rollback before the window opens, and you test new requests against the scope. The rollout goes canary first, and you keep a redacted run record. The handoff includes the runbook, the support boundary, and when to measure again.
- Change Workflow: Dry Run to Rollback
- Logging, Run Records, and Audit Trails
- Package It: Docker for Automation Tools
09The Read-First Agent
You finish the course on a warehouse transfer task you run on your own, with a read-first agent. You decide what the problem is and what the tool may do. You decide how the change gets approved and rolled back, and who owns it after you. The labs grade those decisions.
- The Read-First Agent
- ChatOps: Human Approval for Agent Writes
From inside the course
The labs
What a graded lab looks like
This is the lab from lesson 1 of the free track. It runs on this page with the same grader the course uses. Pick how much support you want. Guided starts with code one line short of passing. Partial leaves one function for you to write. Minimal is the untouched lesson starter. The five checks are the same on every level.
This is the first lesson's script exercise. The grader supplies raw, a hostname with surrounding whitespace: raw = " SW-ACCESS-12 ". Store a lowercase version without surrounding whitespace in clean_hostname, then print it. Expected output for this input: sw-access-12. The checks supply different hostnames to the same script. You do not enter the inputs yourself.
This script removes spaces but leaves uppercase letters. Add the lower() operation and run the checks.
Create clean_hostname by removing surrounding whitespace and changing the supplied text to lowercase. The print line is provided.
The grader supplies raw. Store its text without surrounding whitespace and in lowercase in clean_hostname, then print clean_hostname. Do not assign a sample value to raw: the checks supply different hostnames.
Use raw.strip().lower() to apply both operations.
clean_hostname = raw.strip().lower()
print(clean_hostname)
Assign the transformed raw value to clean_hostname before the print line.
clean_hostname = raw.strip().lower()
print(clean_hostname)
clean_hostname = raw.strip().lower()
print(clean_hostname)
Each graded lesson in the paid course has at least one required browser lab, and you can rerun its checks after every edit.
Try it first
Try it free, then decide
The free foundation track teaches Python through network text, files, inventories, and test output. Its labs use the same browser editor and deterministic checks as the paid course.
The first 10 lessons and their graded labs are free with an account. If the delivery fits how you want to practice, the paid course is next. It has 35 lessons, and 32 of them are graded. The price is $299, paid one time, with lifetime access and a 14-day refund, no questions asked. That one payment also opens every other paid course on the site.
Start with the real browser grader before deciding whether to buy the paid course.
Built on experience
The course teaches the change loop end to end.
The work is completed in two halves: assessing an environment, and code that validates itself. A working network engineer already has the experience and skills. This course teaches the evolving part of the job. It's Python against real device output, changes validated before and after, and version control as a habit & process. It's also device APIs beyond the CLI, and AI you supervise instead of trust.
What you know
You can read a network, identify what a change might break, and stay in-the-know when the plan changes. The course builds on this instead of starting you over.
What you practice
You run the full loop on a simulated network. You discover the topology and push a change built from data. Then you validate it deployed and roll it back against criteria you wrote down in advance.
What you can prove
You have working code, passing checks, version history, and a run record another engineer can read.
How the course works
You follow one network problem through the course, then work a second one on your own
The course starts with enough Python to read and change the course tools. After that, it follows one made-up district office network. You take a reported problem there, map the network with LLDP, and push a firewall policy change built from data. Then you validate it deployed without breaking anything else.
Later modules keep building on the same office. You add a source of truth in git and move to device APIs. You turn scripts into tools another engineer can run. Then you plan and record a production change that starts on one device before the rest, with the rollback decided in advance.
The last module moves you to a warehouse task that you run on your own. The warehouse asks for new controllers and blames firmware, but the data shows racking blocking 6 of its 34 access points, so you turn both claims down and send the physical move to facilities. Then you build an AI agent that reads by default and can't make a change your written policy doesn't allow. You decide what it may do, how a change gets approved and rolled back, and who owns it after you. Every required grade comes from checks that run in your browser.
Standards
How the course is built
A written teaching standard
Quiz options carry a reason they are right or wrong. Worked examples create a place to predict or explain before the answer appears. Practice ends with a check that could have failed.
Deterministic grading
Grades come from a test suite running your code in your browser. The same code gets the same grade every time. No AI service judges your work, and no timer or view count is involved.
Published corrections
Every change that affects what a lesson teaches is listed on the course updates page, dated, newest first. The page also records corrections. Two lesson diagrams were corrected in August, and the entry explains what was wrong.
Course updates
Corrections and additions after purchase
Every change that affects what a lesson teaches is listed on the course updates page, dated and newest first. Buyers receive those corrections and additions at no extra cost. These are the most recent entries.
- Aug 2026Twenty-seven lessons picked up an illustration, nine picked up a diagram, and twenty-nine picked up reference tables. Nothing was removed to make room.
- Aug 2026Every diagram in the course can now be opened full screen.
- Aug 2026Two lesson diagrams were corrected, and the write-ups say exactly what was wrong with them.
Enrollment
What $299 buys
One payment of $299 opens every paid course on RouteSwitchU, and today that means six courses. When a new paid course is released, your account gets it at no extra cost. You pay once through Stripe Checkout. There is no subscription and nothing expires.
Have a promotion code? You can type it on the checkout page, which shows your total before you pay.
Every paid course, including AI-Assisted Network Automation
$299 · one payment · lifetime access
- This course has 35 lessons in 10 modules, and 32 of them end in a graded lab that runs in your browser.
- CCNA Automation Exam Prep has 45 lessons, with three capstones and five drill decks.
- Cisco Wireless Advanced Technologies Class has 20 lessons. Study the Cisco Catalyst 9800 configuration model through controller labs, captured output, and design exercises. Configure tags, profiles, WLANs, AAA, and mobility, with explicit limits on what the virtual lab can demonstrate.
- Cisco Quantum Readiness (PQC) has 21 lessons. Study quantum risks, Cisco support, and migration decisions. Practice manual PPK in your own lab. ML-KEM and ML-DSA workflows use documentation exercises, with their limits stated explicitly.
- Wireline for Network Engineers has 9 lessons. Evaluate installed cabling, calculate optical loss, and compare transceivers and cable assemblies. Nine lessons include optional browser exercises using a fictional plant and cited specifications.
- Power for Network Engineers has 34 lessons. Power planning for network engineers, from PoE allocation to rack resilience and calculation workbooks. Practice with stated assumptions and direct engineering worksheets.
- Every correction and new module added after you buy is included, and this course lists each one by date on its course updates page.
- Python Foundations for Network Engineers (10 lessons), Network FDE 101 (4 lessons), and SONiC for Cisco Engineers (4 lessons) are free with an account, whether or not you buy.
Refunds are available for 14 days, no questions asked. You can run a real lab on this page before you spend anything, and the Terms of Sale are shown before you pay.
Did you save a spot before we opened? Your $249 price holds until Thursday, October 8, at 9:00 AM Mountain Time. Buy with the link in your email, or ask for it on the saved-spot page.
Prices in US dollars. Tax is added at checkout where it applies.
Questions
Before you begin
Does the course teach Python from scratch?
It opens with a focused Python module covering exactly what the later automation work uses. An experienced Python reader can take a placement check and skip ahead.
Will the labs touch my network?
No. The browser labs use deterministic fixtures and simulated devices. Optional extensions explain how the same patterns connect to real gear, but nothing targets it by default.
Do I have to use ChatGPT, Claude, or Copilot?
No specific assistant is required. The method is model-agnostic, and every graded check runs in your browser without an AI service.
How do I buy the course?
Use the Buy button on this page, and pay once on Stripe Checkout, where any tax is shown before you pay. Then you set up your account, or sign in if you already have one, and your courses open. If you have a promotion code, you can type it on the checkout page.
What is the refund policy?
Every purchase comes with a 14-day refund, no questions asked. Use the "Withdraw from contract here" button in the site footer or on your account page within 14 days after the day you buy, and we refund you. Your course access ends when the refund goes through. If you are not sure, start with the 10 free lessons. They use the same browser editor and deterministic grader as the paid course.
How much time does this take?
We have not timed the lessons, so there is no measured duration to give you. Length varies with the objective, and some labs take real work. The course is built to fit around a job: progress saves as you go, access does not expire, and there is no weekly schedule.
What does lifetime access mean?
You pay once and keep access. Every correction and every module added after your purchase is included at no extra cost. The course updates page lists each correction and addition by date. Lifetime means the life of this site, not your lifetime. If RouteSwitchU stops operating, access ends with it.
Will this help me at work or in a job search?
The course does not make a hiring claim. You leave with checked work in Python, device APIs, source control, and change control. It's the kind of work you can paste into a change ticket. Whether that maps to a job title is your employer's call.
Who is this course not for?
If you already write Python at work every day and use device APIs comfortably, the early modules will include familiar mechanisms. The course assumes working knowledge of subnets, configuration, and command output. Build that networking foundation before using this course for automation delivery.