Paperback
Master AI coding agents: from prompt to enterprise deployment.

Agentic Coding with OpenAI Codex CLI

Build intelligent agent workflows using Agentic Engineering, MCP, hooks, and delivery automation

$115.58
  • Paperback

    670 pages

  • Release Date

    12 August 2026

Check Delivery Options

Summary

Agentic Coding with OpenAI Codex CLI

A Comprehensive Guide to Prompting, AGENTS.md, MCP, Hooks, Skills, Sub-Agents, Orchestration, CI/CD, Security, and Enterprise Deployment, with Exercises

Key Features:

  • Move from first principles to production workflows and team-scale agentic practice.
  • Apply proven patterns for orchestration, code review, migration, testing, and CI/CD delivery.
  • Harden agent sessions with approval modes, kernel-level sandboxing, and security practices.

This book is a comprehensive guide to agentic AI development with OpenAI’s command-line coding agent. Across six parts, you’ll move from first principles to production workflows and team-scale practice: prompting and AGENTS.md configuration, approval modes and kernel-level sandboxing, model selection, context and cost management, MCP servers, hooks, skills, sub-agents and orchestration, worktrees, CI/CD integration, security hardening, and enterprise deployment.

Later chapters cover debugging and testing agentic workflows, AI code review, practical engineering guides (codebase migration, backend, frontend, and infrastructure as code), and the bigger picture: benchmarks, competing tools, harness engineering, and how to structure an agentic engineering team.

Whether you’re a solo developer looking to multiply your output or an engineering lead rolling out agentic workflows across a team, this book gives you the mental models and practical techniques to work effectively with AI coding agents. It draws on real-world experience and community insights, and every chapter includes learning objectives, worked examples, and hands-on exercises.

What you will learn:

  • Set up, authenticate, and prompt Codex CLI effectively
  • Write AGENTS.md rules and apply patterns that avoid common pitfalls
  • Choose approval modes, kernel-level sandboxing, and trust boundaries
  • Manage model selection, reasoning effort, context windows, and cost
  • Extend the agent with MCP servers, hooks, and skills
  • Coordinate sub-agents, multi-agent orchestration, and worktrees
  • Integrate Codex into CI/CD, security hardening, and enterprise deployment
  • Apply Codex to code review, migration, backend, frontend, and infrastructure as code

Who this book is for:

This book is for software developers who are comfortable in a terminal and want to use AI agents for real engineering work rather than isolated code suggestions. It is also useful for tech leads and engineering managers who need a framework for adopting agentic coding safely at team or enterprise scale. DevOps practitioners and architects interested in integrating agent workflows into delivery pipelines will also find it relevant. Some experience with version control and command-line tools is assumed; no prior knowledge of Codex CLI is required.

Book Details

ISBN-13:9781808348891
ISBN-10:1808348893
Author:Daniel Vaughan
Publisher:Packt Publishing Limited
Imprint:Packt Publishing Limited
Format:Paperback
Number of Pages:670
Release Date:12 August 2026
Dimensions:191mm x 235mm
A-Format
B-Format
C-Format
Agentic Coding with OpenAI Codex CLI by Daniel Vaughan - ISBN: 9781808348891
191 × 235 mm
A4
mm / in
About The Author

Daniel Vaughan

Daniel Vaughan is Programme Director at HCLTech AI Labs, where he works across enterprise delivery, research, and engineering teams. He uses Codex CLI across production codebases, greenfield projects, CI pipelines, and local development, bringing a practitioner’s view of agentic engineering to this book.

Returns

This item is eligible for free returns within 30 days of delivery. See our returns policy for further details.