Skip to Content
Agentic AI for Cybersecurity: Building Autonomous Defenders and Adversaries
book

Agentic AI for Cybersecurity: Building Autonomous Defenders and Adversaries

by Omar Santos
May 2026
Intermediate
368 pages
9h 10m
English
Addison-Wesley Professional

Overview

Agentic AI for Cybersecurity: Building Autonomous Defenders and Adversaries

Unlock the power of nextgeneration AI agents to transform cybersecurity, business operations, and productivity.

Agentic AI has transformed cybersecurity and other domains with autonomous, intelligent software agents that can plan, reason, and take action. Instead of simply answering questions, these agents work like digital analysts using tools and adapting to new information, while collaborating with humans and other agents to get real work done.

Agentic AI for Cybersecurity is a practical, handson guide to building, deploying, and securing these systems. Written in plain English, the book explains how modern agentic AI frameworks (such as LangChain, LangGraph, CrewAI, and LlamaIndex) enable autonomous, multiagent systems, and how frameworks like Model Context Protocol (MCP) and agenttoagent (A2A) are creating an emerging Internet of Agents.

Through stepbystep projects and realworld case studies, readers learn how to apply agentic AI to cybersecurity defense, adversarial testing, business automation, and productivity workflows. The book also addresses critical risks, including adversarial threats, governance, and compliance. The goal is to make security a firstclass concern, not an afterthought.

Designed for both technical and nontechnical readers, this book bridges the gap between AI theory and realworld impact.

Key Features

  • Handson projects with practical examples for building and deploying AI agents

  • Covers leading agentic AI frameworks and protocols (LangChain, CrewAI, LangGraph, MCP, A2A, n8n, OpenAI Agent Builder, and more)

  • Securityfirst approach with dedicated coverage of adversarial threats and governance

  • PlainEnglish explanations with diagrams, exercises, and GitHub resources

Who This Book Is For

Cybersecurity professionals, AI engineers, developers, architects, business and technology leaders, or anyone looking to understand and apply agentic AI responsibly and effectively.

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Practical AI Security

Practical AI Security

Harriet Farlow
Zero Trust in Resilient Cloud and Network Architectures

Zero Trust in Resilient Cloud and Network Architectures

Josh Halley, Dhrumil Prajapati, Ariel Leza, Vinay Saini

Publisher Resources

ISBN: 9780135589861