Building AI Agents for Network Operations

Design LLM-powered NetOps workflows with Python, Ollama, MCP, and tool calling

Cover of Building AI Agents for Network Operations

EPUB · English

Price and availability

EPUB eBookUS store

$36.99

Sign in to buy

You’ll review your order and final price before payment.

Download from your library after delivery. Protected eBooks need a compatible reading app.

For personal use under the eBook licence.

Territorial availability

Available in: Andorra, Austria, Australia, Belgium, Bulgaria, Canada, Switzerland, Cyprus, Czechia, Germany, Denmark, Estonia, Spain, Finland, France, United Kingdom, Guernsey, Greece, Croatia, Hungary, Ireland, Isle of Man, Iceland, Italy, Jersey, Japan, Liechtenstein, Lithuania, Luxembourg, Latvia, Monaco, Malta, Netherlands, Norway, Poland, Portugal, Romania, Sweden, Slovenia, Slovakia, San Marino, United States, Vatican City, South Africa

Publisher rights cover these stores: US, UK, Canada, EU, Australia. Checkout availability is shown above.

Format
EPUB
DRM
Not stated by the publisher
Language
English
Publisher
Packt Publishing
Published
29 July 2026
ISBN
9781808346828
Subjects
Computer networking & communications, Network security, Artificial intelligence, Computer networking and communications, Network security, Artificial intelligence (AI)

About this book

Build AI-assisted network troubleshooting workflows that parse CLI output, call approved tools, use MCP, and keep evidence visible for reviewKey FeaturesBuild local LLM workflows for NetOps using Python, Ollama, and validated CLI dataCreate troubleshooting agents that use memory, approved tools, and clear evidencePackage reusable network tools with MCP and plan controlled read-only pilotsBook DescriptionNetwork 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 learnRun local LLM workflows with Ollama and PythonShape reliable NetOps prompts using RACEParse CLI and BGP output into structured JSONBuild chatbots that remember troubleshooting contextConnect AI agents to approved network toolsCreate evidence-based troubleshooting loopsExpose reusable network tools with MCPPlan read-only pilots with safety controlsWho this book is forThis 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.]]>

Bibliographic data © Gardners Books Ltd.