{"book":{"title":"AI-Native Agent Engineering","subtitle":"From Zero to Production with OpenAI Agents SDK, Claude Agent SDK, and AI Harnesses","author":"Muhammad Usman Akbar","basePath":"/ai-agents-book","publishedAt":"2026-07-31"},"chapters":[{"position":1,"slug":"about-this-book","title":"About This Book","section":"Start Here","description":"Learn how this zero-to-production path builds practical AI-agent expertise through one evolving, testable SupportOps system.","url":"https://muhammadusmanakbar.com/ai-agents-book/about-this-book","contentApi":"https://muhammadusmanakbar.com/api/ai-agents-book-content/about-this-book","updatedAt":"2026-07-31"},{"position":2,"slug":"ai-native-engineering","title":"What Is AI-Native Agent Engineering?","section":"Start Here","description":"Distinguish assistants, deterministic workflows, and agents, then choose the least complex architecture that can satisfy the task.","url":"https://muhammadusmanakbar.com/ai-agents-book/ai-native-engineering","contentApi":"https://muhammadusmanakbar.com/api/ai-agents-book-content/ai-native-engineering","updatedAt":"2026-07-31"},{"position":3,"slug":"the-agent-loop","title":"How Does the Agent Loop Work?","section":"Start Here","description":"Understand observe-decide-act-verify cycles, tool results, stop conditions, and the controls that turn an LLM call into an agent.","url":"https://muhammadusmanakbar.com/ai-agents-book/the-agent-loop","contentApi":"https://muhammadusmanakbar.com/api/ai-agents-book-content/the-agent-loop","updatedAt":"2026-07-31"},{"position":4,"slug":"the-ai-harness","title":"What Is an AI Harness?","section":"Start Here","description":"Map the control layer around an agent: prompts, tools, policy, state, budgets, telemetry, evaluations, approvals, and recovery.","url":"https://muhammadusmanakbar.com/ai-agents-book/the-ai-harness","contentApi":"https://muhammadusmanakbar.com/api/ai-agents-book-content/the-ai-harness","updatedAt":"2026-07-31"},{"position":5,"slug":"python-typescript-essentials","title":"Python and TypeScript Essentials for Agent Builders","section":"Foundations","description":"Learn the async, typing, environment, package, and error-handling skills needed to follow both agent SDK learning paths.","url":"https://muhammadusmanakbar.com/ai-agents-book/python-typescript-essentials","contentApi":"https://muhammadusmanakbar.com/api/ai-agents-book-content/python-typescript-essentials","updatedAt":"2026-07-31"},{"position":6,"slug":"models-messages-instructions-context","title":"Models, Messages, Instructions, and Context","section":"Foundations","description":"Understand what the model receives, how instructions differ from data, and why context quality matters more than context volume.","url":"https://muhammadusmanakbar.com/ai-agents-book/models-messages-instructions-context","contentApi":"https://muhammadusmanakbar.com/api/ai-agents-book-content/models-messages-instructions-context","updatedAt":"2026-07-31"},{"position":7,"slug":"structured-outputs-and-validation","title":"Structured Outputs and Validation","section":"Foundations","description":"Turn probabilistic model output into typed application input using schemas, validation, business rules, and explicit repair behavior.","url":"https://muhammadusmanakbar.com/ai-agents-book/structured-outputs-and-validation","contentApi":"https://muhammadusmanakbar.com/api/ai-agents-book-content/structured-outputs-and-validation","updatedAt":"2026-07-31"},{"position":8,"slug":"tools-and-capability-boundaries","title":"Tools and Capability Boundaries","section":"Foundations","description":"Design narrow, typed agent tools with least privilege, timeouts, idempotency, audit events, and results that cannot become hidden commands.","url":"https://muhammadusmanakbar.com/ai-agents-book/tools-and-capability-boundaries","contentApi":"https://muhammadusmanakbar.com/api/ai-agents-book-content/tools-and-capability-boundaries","updatedAt":"2026-07-31"},{"position":9,"slug":"state-memory-and-sessions","title":"State, Memory, and Sessions","section":"Foundations","description":"Separate conversation history, run state, business truth, long-term memory, and checkpoints so agents can resume without corrupting work.","url":"https://muhammadusmanakbar.com/ai-agents-book/state-memory-and-sessions","contentApi":"https://muhammadusmanakbar.com/api/ai-agents-book-content/state-memory-and-sessions","updatedAt":"2026-07-31"},{"position":10,"slug":"retrieval-grounding-and-citations","title":"Retrieval, Grounding, and Citations","section":"Foundations","description":"Build evidence packets that are relevant, tenant-safe, freshness-aware, citation-ready, and resilient to instructions hidden in retrieved content.","url":"https://muhammadusmanakbar.com/ai-agents-book/retrieval-grounding-and-citations","contentApi":"https://muhammadusmanakbar.com/api/ai-agents-book-content/retrieval-grounding-and-citations","updatedAt":"2026-07-31"},{"position":11,"slug":"agent-architecture-decisions","title":"How Do You Choose an Agent Architecture?","section":"Foundations","description":"Choose among single agents, workflows, routers, handoffs, managers, and event-driven systems using evidence and explicit tradeoffs.","url":"https://muhammadusmanakbar.com/ai-agents-book/agent-architecture-decisions","contentApi":"https://muhammadusmanakbar.com/api/ai-agents-book-content/agent-architecture-decisions","updatedAt":"2026-07-31"},{"position":12,"slug":"setup-and-first-openai-agent","title":"Set Up and Run Your First OpenAI Agent","section":"OpenAI Agents SDK","description":"Install the OpenAI Agents SDK, run a focused Python agent, inspect its result and trace, and verify configuration safely.","url":"https://muhammadusmanakbar.com/ai-agents-book/setup-and-first-openai-agent","contentApi":"https://muhammadusmanakbar.com/api/ai-agents-book-content/setup-and-first-openai-agent","updatedAt":"2026-07-31"},{"position":13,"slug":"agents-instructions-models-and-output","title":"Define OpenAI Agents, Instructions, Models, and Output","section":"OpenAI Agents SDK","description":"Configure a focused OpenAI agent with dynamic context and Pydantic output while keeping runtime dependencies outside model context.","url":"https://muhammadusmanakbar.com/ai-agents-book/agents-instructions-models-and-output","contentApi":"https://muhammadusmanakbar.com/api/ai-agents-book-content/agents-instructions-models-and-output","updatedAt":"2026-07-31"},{"position":14,"slug":"function-and-hosted-tools","title":"Add Function Tools and Hosted Tools","section":"OpenAI Agents SDK","description":"Give an OpenAI agent typed capabilities through function tools, then decide when hosted platform tools are the safer or simpler choice.","url":"https://muhammadusmanakbar.com/ai-agents-book/function-and-hosted-tools","contentApi":"https://muhammadusmanakbar.com/api/ai-agents-book-content/function-and-hosted-tools","updatedAt":"2026-07-31"},{"position":15,"slug":"running-streaming-and-results","title":"Run, Stream, and Inspect OpenAI Agent Results","section":"OpenAI Agents SDK","description":"Control the OpenAI agent loop, stream progress without confusing it with completion, and consume final output, history, state, and usage.","url":"https://muhammadusmanakbar.com/ai-agents-book/running-streaming-and-results","contentApi":"https://muhammadusmanakbar.com/api/ai-agents-book-content/running-streaming-and-results","updatedAt":"2026-07-31"},{"position":16,"slug":"sessions-and-resumable-state","title":"Manage OpenAI Sessions and Resumable State","section":"OpenAI Agents SDK","description":"Choose among application history, SDK sessions, server-managed continuation, and serialized run state without duplicating context.","url":"https://muhammadusmanakbar.com/ai-agents-book/sessions-and-resumable-state","contentApi":"https://muhammadusmanakbar.com/api/ai-agents-book-content/sessions-and-resumable-state","updatedAt":"2026-07-31"},{"position":17,"slug":"handoffs-and-orchestration","title":"Orchestrate OpenAI Agents with Handoffs and Managers","section":"OpenAI Agents SDK","description":"Choose between ownership-transfer handoffs and manager-called agents, then evaluate routing, context, policy, latency, and failure.","url":"https://muhammadusmanakbar.com/ai-agents-book/handoffs-and-orchestration","contentApi":"https://muhammadusmanakbar.com/api/ai-agents-book-content/handoffs-and-orchestration","updatedAt":"2026-07-31"},{"position":18,"slug":"guardrails-and-human-approval","title":"Add Guardrails and Human Approval","section":"OpenAI Agents SDK","description":"Use OpenAI input, output, and tool guardrails for automated checks, then pause and resume sensitive tool calls for human review.","url":"https://muhammadusmanakbar.com/ai-agents-book/guardrails-and-human-approval","contentApi":"https://muhammadusmanakbar.com/api/ai-agents-book-content/guardrails-and-human-approval","updatedAt":"2026-07-31"},{"position":19,"slug":"mcp-and-integrations","title":"Connect OpenAI Agents with MCP and Integrations","section":"OpenAI Agents SDK","description":"Choose hosted or runtime-managed MCP connections, constrain external tool trust, and make lifecycle, approval, and supply-chain risk explicit.","url":"https://muhammadusmanakbar.com/ai-agents-book/mcp-and-integrations","contentApi":"https://muhammadusmanakbar.com/api/ai-agents-book-content/mcp-and-integrations","updatedAt":"2026-07-31"},{"position":20,"slug":"tracing-debugging-and-evals","title":"Trace, Debug, and Evaluate OpenAI Agent Workflows","section":"OpenAI Agents SDK","description":"Use OpenAI traces to explain individual runs, then convert requirements and failures into repeatable agent evaluations and release gates.","url":"https://muhammadusmanakbar.com/ai-agents-book/tracing-debugging-and-evals","contentApi":"https://muhammadusmanakbar.com/api/ai-agents-book-content/tracing-debugging-and-evals","updatedAt":"2026-07-31"},{"position":21,"slug":"openai-supportops-capstone","title":"Capstone: Build SupportOps with the OpenAI Agents SDK","section":"OpenAI Agents SDK","description":"Combine typed triage, read tools, specialist handoffs, approval-gated mutation, sessions, traces, and evaluations into one vertical slice.","url":"https://muhammadusmanakbar.com/ai-agents-book/openai-supportops-capstone","contentApi":"https://muhammadusmanakbar.com/api/ai-agents-book-content/openai-supportops-capstone","updatedAt":"2026-07-31"},{"position":22,"slug":"setup-and-first-claude-agent","title":"Set Up and Run Your First Claude Agent","section":"Claude Agent SDK","description":"Install the Claude Agent SDK, run a read-only repository agent, inspect streamed messages, and understand the bundled runtime.","url":"https://muhammadusmanakbar.com/ai-agents-book/setup-and-first-claude-agent","contentApi":"https://muhammadusmanakbar.com/api/ai-agents-book-content/setup-and-first-claude-agent","updatedAt":"2026-07-31"},{"position":23,"slug":"agent-loop-and-built-in-tools","title":"Understand the Claude Agent Loop and Built-In Tools","section":"Claude Agent SDK","description":"Trace Claude message and tool cycles, constrain built-in file, search, shell, web, and orchestration capabilities, and enforce budgets.","url":"https://muhammadusmanakbar.com/ai-agents-book/agent-loop-and-built-in-tools","contentApi":"https://muhammadusmanakbar.com/api/ai-agents-book-content/agent-loop-and-built-in-tools","updatedAt":"2026-07-31"},{"position":24,"slug":"sessions-resume-fork-and-persistence","title":"Manage Claude Sessions, Resume, Fork, and Persistence","section":"Claude Agent SDK","description":"Capture Claude session IDs, continue conversations, resume across processes, fork experiments, and persist state with explicit isolation.","url":"https://muhammadusmanakbar.com/ai-agents-book/sessions-resume-fork-and-persistence","contentApi":"https://muhammadusmanakbar.com/api/ai-agents-book-content/sessions-resume-fork-and-persistence","updatedAt":"2026-07-31"},{"position":25,"slug":"structured-output-and-streaming","title":"Use Claude Structured Output and Streaming","section":"Claude Agent SDK","description":"Request JSON-schema output, distinguish final structured results from partial stream events, and design reconnectable user experiences.","url":"https://muhammadusmanakbar.com/ai-agents-book/structured-output-and-streaming","contentApi":"https://muhammadusmanakbar.com/api/ai-agents-book-content/structured-output-and-streaming","updatedAt":"2026-07-31"},{"position":26,"slug":"custom-tools-and-mcp","title":"Give Claude Custom Tools with MCP","section":"Claude Agent SDK","description":"Create typed in-process tools, expose them through an SDK MCP server, control tool names and permissions, and handle untrusted results.","url":"https://muhammadusmanakbar.com/ai-agents-book/custom-tools-and-mcp","contentApi":"https://muhammadusmanakbar.com/api/ai-agents-book-content/custom-tools-and-mcp","updatedAt":"2026-07-31"},{"position":27,"slug":"subagents-and-context-isolation","title":"Use Claude Subagents and Context Isolation","section":"Claude Agent SDK","description":"Define specialized Claude subagents with separate prompts and tools, control delegation, detect invocation, and bound fan-out and context.","url":"https://muhammadusmanakbar.com/ai-agents-book/subagents-and-context-isolation","contentApi":"https://muhammadusmanakbar.com/api/ai-agents-book-content/subagents-and-context-isolation","updatedAt":"2026-07-31"},{"position":28,"slug":"permissions-approval-and-sandboxing","title":"Configure Claude Permissions, Approval, and Sandboxing","section":"Claude Agent SDK","description":"Combine allow/deny rules, permission modes, callbacks, hooks, and OS isolation so tool authority is explicit and enforceable.","url":"https://muhammadusmanakbar.com/ai-agents-book/permissions-approval-and-sandboxing","contentApi":"https://muhammadusmanakbar.com/api/ai-agents-book-content/permissions-approval-and-sandboxing","updatedAt":"2026-07-31"},{"position":29,"slug":"hooks-skills-commands-plugins-memory","title":"Extend Claude with Hooks, Skills, Commands, Plugins, and Memory","section":"Claude Agent SDK","description":"Place deterministic lifecycle controls in hooks and package reusable agent knowledge without confusing configuration with authorization.","url":"https://muhammadusmanakbar.com/ai-agents-book/hooks-skills-commands-plugins-memory","contentApi":"https://muhammadusmanakbar.com/api/ai-agents-book-content/hooks-skills-commands-plugins-memory","updatedAt":"2026-07-31"},{"position":30,"slug":"cost-tracking-and-observability","title":"Track Claude Cost, Usage, and OpenTelemetry","section":"Claude Agent SDK","description":"Read result usage and cost, export OpenTelemetry safely, correlate agent spans with application traces, and build actionable budgets.","url":"https://muhammadusmanakbar.com/ai-agents-book/cost-tracking-and-observability","contentApi":"https://muhammadusmanakbar.com/api/ai-agents-book-content/cost-tracking-and-observability","updatedAt":"2026-07-31"},{"position":31,"slug":"hosting-and-secure-deployment","title":"Host and Securely Deploy Claude Agents","section":"Claude Agent SDK","description":"Deploy Claude Agent SDK subprocesses with isolated filesystems, scoped credentials, controlled networks, persistent sessions, and safe scaling.","url":"https://muhammadusmanakbar.com/ai-agents-book/hosting-and-secure-deployment","contentApi":"https://muhammadusmanakbar.com/api/ai-agents-book-content/hosting-and-secure-deployment","updatedAt":"2026-07-31"},{"position":32,"slug":"claude-repository-agent-capstone","title":"Capstone: Build a Claude Repository Maintenance Agent","section":"Claude Agent SDK","description":"Combine read tools, isolated edits, tests, subagent review, permissions, hooks, sessions, budgets, and telemetry into a safe repository workflow.","url":"https://muhammadusmanakbar.com/ai-agents-book/claude-repository-agent-capstone","contentApi":"https://muhammadusmanakbar.com/api/ai-agents-book-content/claude-repository-agent-capstone","updatedAt":"2026-07-31"},{"position":33,"slug":"provider-neutral-harness-contract","title":"Design a Provider-Neutral AI Harness Contract","section":"The AI Harness","description":"Define stable run, event, tool, policy, budget, checkpoint, adapter, evaluator, and outcome contracts without erasing SDK strengths.","url":"https://muhammadusmanakbar.com/ai-agents-book/provider-neutral-harness-contract","contentApi":"https://muhammadusmanakbar.com/api/ai-agents-book-content/provider-neutral-harness-contract","updatedAt":"2026-07-31"},{"position":34,"slug":"model-and-provider-routing","title":"Route Models and Providers with Evidence","section":"The AI Harness","description":"Select model and provider paths using capability, policy, quality, latency, availability, and cost rather than a hardcoded favorite.","url":"https://muhammadusmanakbar.com/ai-agents-book/model-and-provider-routing","contentApi":"https://muhammadusmanakbar.com/api/ai-agents-book-content/model-and-provider-routing","updatedAt":"2026-07-31"},{"position":35,"slug":"context-engineering-and-prompt-assets","title":"Engineer Context and Version Prompt Assets","section":"The AI Harness","description":"Build minimal, attributable context packets and treat prompts, skills, examples, and retrieval rules as versioned software assets.","url":"https://muhammadusmanakbar.com/ai-agents-book/context-engineering-and-prompt-assets","contentApi":"https://muhammadusmanakbar.com/api/ai-agents-book-content/context-engineering-and-prompt-assets","updatedAt":"2026-07-31"},{"position":36,"slug":"tool-registry-and-policy-engine","title":"Build a Tool Registry and Policy Engine","section":"The AI Harness","description":"Separate tool discovery from authorization with risk metadata, exact schemas, contextual policy decisions, approvals, and audit evidence.","url":"https://muhammadusmanakbar.com/ai-agents-book/tool-registry-and-policy-engine","contentApi":"https://muhammadusmanakbar.com/api/ai-agents-book-content/tool-registry-and-policy-engine","updatedAt":"2026-07-31"},{"position":37,"slug":"state-store-memory-and-compaction","title":"Build the State Store, Memory Lifecycle, and Compaction","section":"The AI Harness","description":"Persist events, checkpoints, tool attempts, sessions, and validated memories while compacting context without losing operational truth.","url":"https://muhammadusmanakbar.com/ai-agents-book/state-store-memory-and-compaction","contentApi":"https://muhammadusmanakbar.com/api/ai-agents-book-content/state-store-memory-and-compaction","updatedAt":"2026-07-31"},{"position":38,"slug":"queues-retries-idempotency-and-recovery","title":"Engineer Queues, Retries, Idempotency, and Recovery","section":"The AI Harness","description":"Make long-running agent work durable with leased jobs, retry ownership, idempotent effects, reconciliation, cancellation, and dead-letter review.","url":"https://muhammadusmanakbar.com/ai-agents-book/queues-retries-idempotency-and-recovery","contentApi":"https://muhammadusmanakbar.com/api/ai-agents-book-content/queues-retries-idempotency-and-recovery","updatedAt":"2026-07-31"},{"position":39,"slug":"budgets-stop-conditions-and-runaway-prevention","title":"Enforce Budgets, Stop Conditions, and Runaway Prevention","section":"The AI Harness","description":"Bound turns, tools, tokens, time, cost, retries, fan-out, and repeated states with hard harness controls and useful terminal outcomes.","url":"https://muhammadusmanakbar.com/ai-agents-book/budgets-stop-conditions-and-runaway-prevention","contentApi":"https://muhammadusmanakbar.com/api/ai-agents-book-content/budgets-stop-conditions-and-runaway-prevention","updatedAt":"2026-07-31"},{"position":40,"slug":"events-traces-metrics-logs-and-replay","title":"Unify Events, Traces, Metrics, Logs, and Replay","section":"The AI Harness","description":"Create an observability model that explains agent decisions, correlates business effects, protects sensitive data, and supports deterministic replay.","url":"https://muhammadusmanakbar.com/ai-agents-book/events-traces-metrics-logs-and-replay","contentApi":"https://muhammadusmanakbar.com/api/ai-agents-book-content/events-traces-metrics-logs-and-replay","updatedAt":"2026-07-31"},{"position":41,"slug":"evaluation-and-regression-gates","title":"Build Evaluation and Regression Gates","section":"The AI Harness","description":"Translate agent requirements into deterministic, model-graded, adversarial, and operational tests with baselines and release thresholds.","url":"https://muhammadusmanakbar.com/ai-agents-book/evaluation-and-regression-gates","contentApi":"https://muhammadusmanakbar.com/api/ai-agents-book-content/evaluation-and-regression-gates","updatedAt":"2026-07-31"},{"position":42,"slug":"agent-security-and-tenant-isolation","title":"Secure Agents Against Injection, Leakage, and Cross-Tenant Access","section":"The AI Harness","description":"Threat-model prompt injection, excessive agency, data exfiltration, tool and MCP supply chains, secrets, sandboxes, and tenant isolation.","url":"https://muhammadusmanakbar.com/ai-agents-book/agent-security-and-tenant-isolation","contentApi":"https://muhammadusmanakbar.com/api/ai-agents-book-content/agent-security-and-tenant-isolation","updatedAt":"2026-07-31"},{"position":43,"slug":"human-oversight-and-incident-response","title":"Design Human Oversight and Agent Incident Response","section":"The AI Harness","description":"Create meaningful approvals, operator controls, escalation, cancellation, evidence preservation, containment, recovery, and learning loops.","url":"https://muhammadusmanakbar.com/ai-agents-book/human-oversight-and-incident-response","contentApi":"https://muhammadusmanakbar.com/api/ai-agents-book-content/human-oversight-and-incident-response","updatedAt":"2026-07-31"},{"position":44,"slug":"openai-and-claude-adapters","title":"Implement OpenAI and Claude Provider Adapters","section":"The AI Harness","description":"Translate both SDKs into one harness lifecycle while preserving handoffs, subagents, native tools, sessions, approvals, traces, and usage.","url":"https://muhammadusmanakbar.com/ai-agents-book/openai-and-claude-adapters","contentApi":"https://muhammadusmanakbar.com/api/ai-agents-book-content/openai-and-claude-adapters","updatedAt":"2026-07-31"},{"position":45,"slug":"api-worker-and-long-running-architecture","title":"Build the API, Worker, and Long-Running Agent Architecture","section":"Production and Mastery","description":"Separate request admission, durable execution, event streaming, approval, artifacts, and outcomes for reliable long-running agent jobs.","url":"https://muhammadusmanakbar.com/ai-agents-book/api-worker-and-long-running-architecture","contentApi":"https://muhammadusmanakbar.com/api/ai-agents-book-content/api-worker-and-long-running-architecture","updatedAt":"2026-07-31"},{"position":46,"slug":"containers-sandboxes-secrets-and-deployment","title":"Deploy with Containers, Sandboxes, and Secret Boundaries","section":"Production and Mastery","description":"Package agent workers, isolate untrusted execution, deliver short-lived credentials, restrict egress, verify artifacts, and roll out safely.","url":"https://muhammadusmanakbar.com/ai-agents-book/containers-sandboxes-secrets-and-deployment","contentApi":"https://muhammadusmanakbar.com/api/ai-agents-book-content/containers-sandboxes-secrets-and-deployment","updatedAt":"2026-07-31"},{"position":47,"slug":"reliability-scaling-latency-and-cost","title":"Engineer Reliability, Scaling, Latency, and Cost","section":"Production and Mastery","description":"Set agent SLOs, control queues and concurrency, optimize critical paths, degrade safely, and measure cost per verified business outcome.","url":"https://muhammadusmanakbar.com/ai-agents-book/reliability-scaling-latency-and-cost","contentApi":"https://muhammadusmanakbar.com/api/ai-agents-book-content/reliability-scaling-latency-and-cost","updatedAt":"2026-07-31"},{"position":48,"slug":"multi-agent-patterns-and-anti-patterns","title":"Choose Multi-Agent Patterns and Avoid Their Anti-Patterns","section":"Production and Mastery","description":"Use routers, managers, handoffs, specialists, reviewers, and parallel workers only when isolation or ownership outweighs coordination cost.","url":"https://muhammadusmanakbar.com/ai-agents-book/multi-agent-patterns-and-anti-patterns","contentApi":"https://muhammadusmanakbar.com/api/ai-agents-book-content/multi-agent-patterns-and-anti-patterns","updatedAt":"2026-07-31"},{"position":49,"slug":"production-supportops-capstone","title":"Production Capstone: Build the Complete SupportOps Harness","section":"Production and Mastery","description":"Assemble domain contracts, both provider adapters, policy, state, queues, approvals, telemetry, evals, security, API, worker, and runbooks.","url":"https://muhammadusmanakbar.com/ai-agents-book/production-supportops-capstone","contentApi":"https://muhammadusmanakbar.com/api/ai-agents-book-content/production-supportops-capstone","updatedAt":"2026-07-31"},{"position":50,"slug":"red-team-and-evaluate-the-capstone","title":"Red-Team and Evaluate the SupportOps Capstone","section":"Production and Mastery","description":"Attack instructions, tools, state, tenancy, budgets, approvals, providers, and operations, then convert every failure into a regression gate.","url":"https://muhammadusmanakbar.com/ai-agents-book/red-team-and-evaluate-the-capstone","contentApi":"https://muhammadusmanakbar.com/api/ai-agents-book-content/red-team-and-evaluate-the-capstone","updatedAt":"2026-07-31"},{"position":51,"slug":"operate-improve-and-migrate","title":"Operate, Improve, and Migrate Agent Systems","section":"Production and Mastery","description":"Run an evidence-based improvement loop, manage drift and change, migrate models or providers safely, and retire capabilities cleanly.","url":"https://muhammadusmanakbar.com/ai-agents-book/operate-improve-and-migrate","contentApi":"https://muhammadusmanakbar.com/api/ai-agents-book-content/operate-improve-and-migrate","updatedAt":"2026-07-31"},{"position":52,"slug":"field-reference-glossary-and-checklists","title":"AI Agent Engineering Field Reference","section":"Production and Mastery","description":"Use concise glossaries, selection matrices, design reviews, production gates, incident checks, and official source indexes in daily work.","url":"https://muhammadusmanakbar.com/ai-agents-book/field-reference-glossary-and-checklists","contentApi":"https://muhammadusmanakbar.com/api/ai-agents-book-content/field-reference-glossary-and-checklists","updatedAt":"2026-07-31"}]}