Shop Canis
Kindle Unlimited
Unlimited reading. Over 5 million titles. Learn more
OR
$4.99

These promotions will be applied to this item:

Some promotions may be combined; others are not eligible to be combined with other offers. For details, please see the Terms & Conditions associated with these promotions.

You've subscribed to ! We will preorder your items within 24 hours of when they become available. When new books are released, we'll charge your default payment method for the lowest price available during the pre-order period.
Update your device or payment method, cancel individual pre-orders or your subscription at
Your Memberships & Subscriptions

Buy for others

Give as a gift or purchase for a team or group.
Learn more

How it works

  1. Choose your delivery method
  2. Send now or schedule for later
  3. Add your personal message
  4. Recipients can read on any device

These ebooks can only be redeemed by recipients in the US. Redemption links and eBooks cannot be resold.

Added to

Sorry, there was a problem.

There was an error retrieving your Wish Lists. Please try again.

Sorry, there was a problem.

List unavailable.
Kindle app logo image

Download the free Kindle app and start reading Kindle books instantly on your smartphone, tablet, or computer - no Kindle device required.

Read instantly on your browser with Kindle for Web.

Using your mobile phone camera - scan the code below and download the Kindle app.

QR code to download the Kindle App

  • Codex in Production: A Practical Operator's Guide to OpenAI Codex, AGENTS.md, Worktrees, Skills, Security, and Long-Running Agent Work (The Operator's Library Book 2)

Follow the author

Follow authors for new release and deal updates, plus improved recommendations. See updates from all followed authors in Your Books.
Something went wrong. Please try your request again later.

Codex in Production: A Practical Operator's Guide to OpenAI Codex, AGENTS.md, Worktrees, Skills, Security, and Long-Running Agent Work (The Operator's Library Book 2)


Previously published as Codex in Production by Jason Colapietro.

A coding agent can change files. Production work needs a system for deciding what it may change, where the work stays isolated, and what evidence counts as done.

Codex in Production is a practical operator's guide to running OpenAI's Codex across real repositories and multi-step engineering work. It covers the control layer around the agent: durable project instructions, isolated worktrees, reusable skills, bounded permissions, connector trust boundaries, long-running tasks, and verifiable completion.

Built for the harness, not one model. AGENTS.md, worktrees, approvals, and evidence gates do not change when the model does, so the control layer described here holds as the underlying model moves across generations, GPT-6 Astra included.

Fit check: this book assumes you already work in a terminal and a Git repository and have asked a coding agent for code before. It does not teach programming, Git, or prompting basics, and it is not a tour of screenshots.

Inside the guide

  • Treat every task as a state machine with explicit transitions, evidence, and authority
  • Choose the surface that matches the work: desktop app, IDE extension, CLI, or cloud
  • Write the repository contract in AGENTS.md, with scope, hierarchy, and an adversarial instruction test
  • Establish ground truth before the first edit with a ten-line orientation receipt
  • Design the approval boundary: sandbox, approvals, and network access as separate controls
  • Run one task per worktree with one owner, and retire worktrees without deleting evidence
  • Delegate outcomes to subagents with a six-field contract instead of vague topics
  • Turn repeated judgment into a skill, with routing tests and a versioned procedure
  • Treat every connector, plugin, and MCP server as a trust boundary
  • Keep long-running work legible with goal packets, checkpoints, and honest stops
  • Review the claim, not just the diff, using an evidence ladder and an independent pass
  • Automate the bounded middle with non-interactive runs, CI, the SDK, and App Server
  • Recover from an incident without making it larger
  • Install the whole operating system in thirty days, week by week

How it teaches

Every chapter follows one fictional but reproducible repository, Relay, from first inspection to a production-ready change. Each chapter states a real operator problem, the Codex mechanism that addresses it, a workflow you can rerun, a failure mode with its recovery path, and a drill or acceptance gate. Product facts cite current official documentation with a research date. Observed behavior is recorded in a ledger and kept separate from patterns that are labeled as exercises.

What you take away

Five appendices hold the working templates: repository contracts for solo, monorepo, and team settings; operator packets for orientation, delegation, long-run goals, connector threat models, verification matrices, and incident handoffs; a release-state vocabulary; the version and evidence ledger; and the thirty-day installation checklist.

Who it is for

Developers, technical founders, engineering leads, and hands-on operators who need agent work they can direct, inspect, and verify. The aim is not to remove judgment from software work but to make agent work easier to bound and prove.

From the author of The Claude Code Bible and the open-source Suede Creator Skills pack. Both books belong to The Operator's Library and can be read in either order.

An independent guide. Not affiliated with or endorsed by OpenAI.

Shop this series

 See full series
There are 2 books in this series.
This option includes 2 books.
  • Kindle Price:
    $9.98
    -
    By placing your order, you're purchasing a license to the content and you agree to the Kindle Store Terms of Use.
    Sold by: Amazon.com Services LLC

From the Publisher

Operate Codex With Clear Boundaries

Diagram of a repository connected to instructions, isolation, skills, security, and verification.

Instructions, isolation, skills, security, verification

Productive agent work depends on more than a prompt. Project instructions shape behavior, worktrees isolate changes, skills make workflows reusable, and security controls define what the agent may do. This guide brings those pieces into one operating model.

The Control Layer Around the Agent

Icon of three stacked instruction sheets with lines and a check mark.

Write Durable Instructions

Use layered project guidance to make repository expectations visible before work begins.

Diagram of one repository node branching into two separate task boxes.

Isolate Concurrent Work

Use worktrees and branch discipline to separate tasks without disturbing an active checkout.

Diagram of three connected workflow blocks encircled by a reuse arrow.

Reuse Proven Workflows

Package task-specific instructions, references, and scripts into skills that can be invoked again.

Diagram of a shield and keyhole inside a dashed permission boundary.

Keep Authority Bounded

Treat sandboxing, approvals, network access, and verification as separate controls.

Circular workflow diagram with six stages from outcome to handoff.

A Production Loop You Can Inspect

Defined outcome

A reliable agent task starts with a defined outcome and explicit constraints.

Isolated, bounded work

It proceeds in an isolated workspace and uses only the authority it needs.

Evidence at the end

It ends with evidence that the requested result was achieved, so each stage is visible and reviewable.

Stages you can inspect

  • Outcome and constraints
  • Verification and handoff

What the Guide Covers

Project Guidance AGENTS.md hierarchy and scope
Isolation Git worktrees, branches, and handoffs
Reuse Skills, references, and workflow assets
Security Sandboxes, approvals, and network controls
Author identity graphic with the initials JC and the name Jason Colapietro.

Jason Colapietro

Dark tile reading Series, The Operator's Library, two volumes, one operating model.
The Operator's Library

Operator's manuals for running AI coding agents in real repositories. Each volume covers one agent product and stands on its own.

  • Two volumes, one operating model

About the Author

Johnny Suede Press

Jason Colapietro writes about the operating systems around AI-assisted software development: durable instructions, isolated changes, reusable workflows, security boundaries, and evidence-based completion. In Codex in Production, he brings those concerns together into a practical guide for developers and technical operators working with coding agents. He is also the author of The Claude Code Bible.

  • Also the author of The Claude Code Bible

Product details

About the author

Follow authors for new release and deal updates, plus improved recommendations. See updates from all followed authors in Your Books.
Jason Colapietro
Brief content visible, double tap to read full content.
Full content visible, double tap to read brief content.

Jason Colapietro is the founder and CEO of Suede Labs AI and the author of The Claude Code Bible, a practical guide to operating Claude Code and AI coding agents. He builds and writes about AI infrastructure, agentic software development, creator ownership, programmable IP, music rights, provenance, royalty routing, and agent commerce. His work focuses on the systems around the model: configuration, context, permissions, workflows, security, verification, and deployment. His books include Proof as Infrastructure, Suede Labs: The Human Authenticity Layer, Stake Your Claim, The Guitar Without a Number, and The Signal Chain. He also publishes as Johnny Suede.

Customer reviews

There are 0 customer reviews.

Report an issue


Does this item contain inappropriate content?
Do you believe that this item violates a copyright?
Does this item contain quality or formatting issues?