My Account Log in

1 option

Agentic AI for DevOps Engineers : Building Autonomous CI/CD, Infrastructure, and Operations Workflows.

O'Reilly Online Learning: Academic/Public Library Edition Available online

View online
Format:
Book
Author/Creator:
Williams, Trevoir.
Language:
English
Subjects (All):
Artificial intelligence.
Software engineering.
Physical Description:
1 online resource (272 pages)
Edition:
1st ed.
Place of Publication:
Birmingham : Packt Publishing, Limited, 2026.
Summary:
Master Agentic AI for DevOps with hands-on guidance to automate CI/CD, infrastructure, observability, incident response, and cloud operations using AI agents and modern DevOps toolsFree with your book: DRM-free PDF version + access to Packt's next-gen Reader* Key Features Build autonomous CI/CD, infrastructure, and operations workflows using AI.
Contents:
Intro
Agentic AI for DevOps Engineers
Building autonomous CI/CD, infrastructure, and operations workflows
Contributors
About the author
Table of Contents
Preface
Who this book is for
What this book covers
To get the most out of this book
Technical requirements
Download the example code files
Download the color images
Conventions used
Stay ahead in AI-Powered networking - join 16,000+ subscribers
Get in touch
Share your thoughts
Free benefits with your book
How to Unlock
1
Generative AI Concepts for DevOps
How generative AI helps DevOps engineers
What is generative AI?
What is an LLM?
Automation in DevOps
Mapping AI to real DevOps work
AI-assisted and AI-autonomous DevOps
Risks associated with AI usage
Summary
2
Practical Applications of Generative AI in DevOps
AI-assisted Infrastructure as Code (IaC)
Demo: AI-assisted IaC (Bicep + GitHub Copilot)
Step 1: Creating the first bicep template
Step 2: Validating the first deployment
Step 3: Extending the template in small increments
Step 4: Adding the container app and securing image access
Step 5: Creating a parameter file
Reviewing AI-generated issues
Authoring CI pipelines with AI assistance
Demo: Pipeline authoring using AI
Step 1: Creating the initial CI workflow
Step 2: Validating the generated YAML
Step 3: Improving and debugging the workflow
Supporting pull request validation with AI
Demo: Creating the PR validation workflow
Step 1: Creating the workflow
Step 2: Adding stricter quality gates
Step 3: Adding a deterministic PR summary
Step 4: Testing the workflow in a pull request
Generating structured release notes with AI
Demo: Creating a GitHub actions workflow.
Step 1: Creating the release notes workflow
Step 2: Generating markdown release notes from metadata
Step 3: Validating and drafting the release
Step 4: Debugging workflow permissions
Step 5: Testing the workflow with a feature release
Assisting incident triage with AI
Demo: Using AI to review failure reasons and suggest fixes
Step 1: Creating a controlled failure
Step 2: Explaining the failed workflow
Step 3: Generating a structured incident note
3
DevOps AI Tools, Governance, and Enterprise Readiness
Understanding the DevOps AI tool landscape
Reviewing the AI tools in the existing stack
IDE-level AI
Pull request AI
Pipeline-level AI
Cloud AI layer
Establishing AI guardrails
Auditing and accountability
Building an AI adoption playbook
Measuring the ROI of AI in DevOps
4
Integrating Generative AI Into DevOps Pipelines
Provisioning an AI engine for pipeline integration
Choosing the AI engine
Provisioning Azure OpenAI for the pipeline
Designing deterministic AI workflow steps
Step 1: Creating the new AI release workflow
Step 2: Collecting pull request metadata
Step 3: Generating release notes with AI
Step 4: Validating the generated release notes
Step 5: Publishing the draft release
Step 6: Testing the workflow with a pull request
Step 7: Reviewing the generated release
Creating a reusable Azure OpenAI composite action
Step 1: Creating the composite action folder
Step 2: Defining the action inputs
Step 3: Defining the action outputs
Step 4: Validating inputs and dependencies
Step 5: Calling Azure OpenAI from the composite action
Step 6: Updating the release workflow
Step 7: Fixing the composite action path
Reducing prompt and input complexity.
Step 1: Updating the PR metadata collection branch
Step 2: Adding truncation and sanitization helpers
Step 3: Updating the PR information fields
Step 4: Remove unnecessary metadata fields
Step 5: Adding API call guardrails
Step 6: Strengthening the prompt instructions
Step 7: Testing the updated workflow
Managing AI costs and performance
Step 1: Skipping AI calls when there are no PRs
Step 2: Adding retry and backoff logic
Step 3: Handling success, failure, and retry attempts
Step 4: Tracking token consumption
Step 5: Creating the telemetry artifact
Step 6: Adding conditions to validation and publishing jobs
Step 7: Testing the full flow with a pull request
Adding observability and feedback
Secure AI integration patterns in CI/CD
Extending the workflow with AI-augmented ChatOps
Step 1: Creating the ChatOps workflow
Step 2: Creating the ChatOps prompt
Step 3: Creating the GitHub token
Step 4: Updating the workflow with the token
Step 5: Adding and testing the workflow
5
Agentic AI for CI/CD Failure Triage and PR Quality Assessment
What is an AI agent?
Components of an agent
Using agents safely in CI/CD pipelines
Safe and unsafe CI/CD use cases
Guardrails for DevOps agents
Demo: Building a DevOps failure triage agent
Implementing the file-based failure triage agent
Setting up the CI workflow for triage
Validating the failure triage workflow
Why do agents fail in production?
Progressive autonomy
Autonomy levels
Promoting agents between levels
Agentic patterns in DevOps workflows
Demo: Building a PR quality assessment agent
Demo: Integrating an agent into the PR analysis workflow
6
Agentic AI for Advanced DevOps Scenarios: Memory and MCP
Technical requirements.
Memory in DevOps agents
What to store and what to avoid
Production safeguards for durable memory
Demo: Adding workflow-level memory to a DevOps agent
Creating the memory-enabled ChatOps workflow
Updating the ChatOps prompt for durable memory
Configuring and testing the memory ledger
Tools and MCP: Standardizing context and actions across agents
Demo: building an MCP server for GitHub tooling
Architecture overview
Creating the MCP server project
Implementing the GitHub API client
Defining the MCP tools
Demo: Testing the MCP server with postman
Connecting postman to the stdio MCP server
Extending the pull request quality agent with MCP tools
Demo: Testing and verifying the GitHub workflow with the MCP agent
Configuring the MCP-enabled PR analysis workflow
Testing the MCP-integrated workflow
Extension exercise
7
Multi-Agent Incident Response and Agent Observability
Why use multiple agents?
When multi-agent orchestration is worth it
Orchestration patterns
Safety boundaries and guardrails
Demo: Building a multi-agent incident response workflow
Setting up sample incident data
Writing the specialist prompts
Implementing the orchestration workflow
Demo: Running the multi-agent workflow
Configure credentials and execute the workflow
Observability and evaluation in AI agents
Traces, logs, and metrics
Monitoring versus evaluation
Demo: Instrumenting an agent with OpenTelemetry
Add OpenTelemetry instrumentation and output evaluation
Demo: Setting up aspire and testing observability
8
Conclusion and Next Steps: Applying Generative AI to DevOps Responsibly
What this book established
Principles that remain constant
A production readiness checklist
Adopt autonomy progressively.
Measure outcomes and improve continuously
Next steps: Adopt AI incrementally and safely
Continuing your learning
Final takeaways
9
Unlock Your Exclusive Benefits
Unlock this Book's Free Benefits in 3 Easy Steps
Step 1
Step 2
Step 3
Need Help
Why subscribe?
Other Books You May Enjoy
Packt is searching for authors like you
Index.
Notes:
Description based on publisher supplied metadata and other sources.
Part of the metadata in this record was created by AI, based on the text of the resource.
Other Format:
Print version: Williams, Trevoir Agentic AI for DevOps Engineers
ISBN:
9781808083563
OCLC:
1609712755

The Penn Libraries is committed to describing library materials using current, accurate, and responsible language. If you discover outdated or inaccurate language, please fill out this feedback form to report it and suggest alternative language.

Find

Home Release notes

My Account

Shelf Request an item Bookmarks Fines and fees Settings

Guides

Using the Find catalog Using Articles+ Using your account