Build AI-assisted network troubleshooting workflows that parse CLI output, call approved tools, use MCP, and keep evidence visible for review
Key Features:
- Build local LLM workflows for NetOps using Python, Ollama, and validated CLI data
- Create troubleshooting agents that use memory, approved tools, and clear evidence
- Package reusable network tools with MCP and plan controlled read-only pilots
Book Description:
Network troubleshooting is full of clues, but they are often buried in noisy alerts, long CLI output, missing topology context, and incomplete handoffs. Building AI Agents for Network Operations shows how to use AI agents, LLMs, and network automation in a controlled way, so engineers can get clearer evidence without giving up validation or operational control.
You will start with local LLM workflows using Ollama and Python, then use a simple RACE prompt structure to make repeatable NetOps tasks clearer, safer, and easier to review. You will parse interface and BGP output into structured data, build a chatbot that keeps troubleshooting context, and connect the model to approved tools for device status, interfaces, reachability, topology, and BGP health. You will then build an agentic troubleshooting loop, package reusable network tools with MCP, and learn how to evaluate these workflows against logging, approvals, observability, runbooks, feature flags, and read-only pilot readiness.
By the end of this book, you will have a practical path for turning AI ideas into NetOps workflows that can be tested in a lab, reviewed by your team, and adapted toward real-world network operations with the right controls.
What You Will Learn:
- Run local LLM workflows with Ollama and Python
- Shape reliable NetOps prompts using RACE
- Parse CLI and BGP output into structured JSON
- Build chatbots that remember troubleshooting context
- Connect AI agents to approved network tools
- Create evidence-based troubleshooting loops
- Expose reusable network tools with MCP
- Plan read-only pilots with safety controls
Who this book is for:
This book is for network engineers, NetOps engineers, NOC engineers, SREs, DevOps engineers, and network automation professionals who want to apply AI to troubleshooting without losing control. Basic networking and CLI familiarity will help, beginner Python knowledge is useful for following the labs.
Table of Contents
- Understanding AI Agents for Network Operations
- LLM Fundamentals and Local Setup
- Prompt Engineering for Network Automation
- Parsing Network Outputs into Structured Data
- Building a Network Chatbot with Memory
- Designing Tools and Agentic Workflows
- Building the Main Network Troubleshooting Agent
- From Lab Agents to Reusable Tools with MCP
- Moving Toward Production-Ready Network Agents
- Appendix: AI Network Agent Design Toolkit
外文書商品之書封,為出版社提供之樣本。實際出貨商品,以出版社所提供之現有版本為主。部份書籍,因出版社供應狀況特殊,匯率將依實際狀況做調整。
無庫存之商品,在您完成訂單程序之後,將以空運的方式為你下單調貨。為了縮短等待的時間,建議您將外文書與其他商品分開下單,以獲得最快的取貨速度,平均調貨時間為1~2個月。
為了保護您的權益,「三民網路書店」提供會員七日商品鑑賞期(收到商品為起始日)。
若要辦理退貨,請在商品鑑賞期內寄回,且商品必須是全新狀態與完整包裝(商品、附件、發票、隨貨贈品等)否則恕不接受退貨。