Agentic Engineering: Loops, Harnesses, and the Software Factory
Agentic Engineering by Addy Osmani is a technical guide to understanding and building software development workflows powered by AI coding agents. Published by O’Reilly Media as an Early Release, this book explores how developers can move beyond basic AI-assisted coding and create structured workflows in which agents can investigate problems, implement changes, verify results, and collaborate on larger engineering tasks.
AI coding agents are changing how software is developed. However, generating code is only one part of building reliable applications. Engineers must also define requirements, provide relevant context, coordinate agents, evaluate their output, test changes, and maintain responsibility for what enters production. This book examines these challenges and introduces practical approaches to building dependable agentic engineering workflows.
Move Beyond Vibe Coding to Agentic Engineering
The book begins by examining the evolution from traditional software development and AI-assisted coding toward agentic engineering. It explains how the development process changes when AI agents take on larger parts of the implementation workflow.
Rather than focusing only on writing prompts or generating individual code snippets, the book considers how engineers can direct, supervise, and verify work performed by autonomous agents. It explores the balance between delegation and human oversight, including the importance of matching an agent’s autonomy to the engineer’s ability to verify its results.
Understand the Agent Harness
A central concept in the book is the agent harness: the environment and supporting components that allow an AI model to perform useful engineering work. An effective harness provides an agent with the necessary context, tools, permissions, memory, and execution environment.
The book examines components such as filesystems, Git, command-line tools, code execution sandboxes, memory, search, MCP tools, skills, hooks, and observability. Readers can develop an understanding of how these components work together and why the model itself is only one part of a functioning agentic development system.
It also explores the importance of learning from mistakes and converting recurring problems into better rules, processes, and system safeguards. These ideas help engineers think about harnesses as evolving infrastructure rather than simple prompt configurations.
Explore Context Engineering
AI coding agents need relevant information to complete tasks accurately. Context engineering focuses on organizing and delivering the information an agent needs at the appropriate time.
The book discusses project instructions such as AGENTS.md, context organization, memory, filesystem-based knowledge, search, retrieval, and the challenges associated with context overload. It also examines context compaction, offloading, resets, and common retrieval mistakes.
These concepts are relevant when building agents that operate across large codebases, multiple tasks, and longer development workflows. Better context management can help make delegation more consistent and reduce unnecessary repetition or misunderstanding.
Use Specifications to Improve AI Delegation
Clear specifications are important when delegating work to AI agents. Ambiguous requirements can lead to inconsistent implementations, even when different agents successfully produce working code.
Agentic Engineering examines how specifications can communicate goals, constraints, expected behavior, and acceptance requirements. The specifications section explores different specification formats, sprint contracts, and common mistakes that can weaken delegated engineering work.
By improving the way tasks are defined, engineers can create clearer boundaries for implementation and make it easier to evaluate whether an agent has completed the intended work.
Coordinate Multi-Agent and Long-Running Workflows
Agentic engineering can involve multiple agents working on related tasks, sometimes in parallel or across extended workflows. Coordinating these activities introduces new responsibilities involving task distribution, shared context, integration, and review.
The publisher describes multi-agent orchestration and long-running workflows as important subjects of the book. It also highlights the limits on how many agents one person can effectively supervise, along with the additional coordination effort that comes with increased automation.
These ideas help readers consider how to organize agent activity without losing visibility into progress, implementation quality, or the overall direction of a software project.
Build Verification and Review into the Development Loop
Generating code quickly does not automatically make a software change reliable. Agent-produced work still needs to be checked against requirements, tested, reviewed, and evaluated before it is accepted.
The book explores stopping conditions, evaluations, verification, and review as important parts of the agentic workflow. These practices help engineers determine when an agent should continue, when its work requires human attention, and when an implementation is ready for further integration.
This approach places greater emphasis on evidence and accountability. Engineers remain responsible for understanding the changes being made and determining whether the resulting software is appropriate for production.
Recognize the Costs of Engineering Automation
The book also examines the challenges that emerge as AI agents take on more development work. The publisher specifically identifies the orchestration tax and comprehension debt as important considerations.
Orchestration tax refers to the coordination effort involved in directing and supervising agents. Comprehension debt describes the risk of losing understanding of software changes when implementation proceeds faster than an engineer can review and absorb the results.
Recognizing these costs is important when deciding how much autonomy to grant an agent and what safeguards should be included in a development process.
Prepare Codebases and Teams for Agentic Engineering
Successful adoption of AI agents requires more than introducing new tools. Codebases, development practices, team responsibilities, and verification processes may also need to evolve.
The book connects individual engineering workflows with the broader concept of a software factory: an organized environment in which agents, tools, specifications, and review processes work together to produce dependable software.
This perspective helps engineers consider how agentic practices can fit into an existing engineering organization and how technical processes can support consistent results as automation increases.
Who Should Read Agentic Engineering?
Agentic Engineering: Loops, Harnesses, and the Software Factory is intended for software engineers already working with AI coding agents, technical leads, engineering architects, AI developers, and professionals responsible for building or supervising automated software development workflows.
It may be particularly useful for engineers interested in agent harnesses, context engineering, specification-driven development, multi-agent coordination, code verification, and production-ready AI-assisted workflows.
Why Choose This Agentic Engineering Guide?
- AI-powered development: Explores the transition from AI-assisted coding to agentic engineering.
- Agent harnesses: Examines tools, memory, permissions, sandboxes, and supporting infrastructure.
- Context engineering: Covers project instructions, memory, retrieval, and context management.
- Specification-driven work: Explains how clearer specifications support reliable delegation.
- Multi-agent workflows: Discusses orchestration and long-running engineering tasks.
- Verification and accountability: Emphasizes evaluations, stopping conditions, and human review.
- Software factory thinking: Connects individual agent workflows with organization-wide engineering practices.
About the Book
Title: Agentic Engineering
Subtitle: Loops, Harnesses, and the Software Factory
Author: Addy Osmani
Publisher: O’Reilly Media, Inc.
Release Status: Early Release – Raw and Unedited
Language: English
Difficulty Level: Intermediate
For engineers looking to understand how AI agents can participate in real-world software development, Agentic Engineering provides a framework for thinking about harnesses, workflows, context, delegation, verification, and the development practices needed to build software that can be trusted.
Edition note: This description is based on the publisher’s currently available Early Release information. Chapter organization, page count, and final publication details may change before the completed edition is released.

There are no reviews yet.