Building AI Guardrails Building AI Guardrails

Building AI Guardrails

An Independent Engineer's Guide to Safe, Compliant and Reliable LLM Applications and Agents

    • $17.99
    • $17.99

Publisher Description

A vendor-neutral, independent guide to designing, building, testing and operating the guardrails that keep applications and agents built on large language models safe, on-policy, compliant and reliable. Following one fictional insurer's customer assistant and claims agent, the book shows how to turn written policy into a harm taxonomy and testable guardrail specifications, then build a guardrail pipeline in plain Python with verdicts, actions, timeouts, fail modes and audit records. It covers deterministic checks with patterns and schemas, structured output validation, classifier guards for toxicity, topic and intent, defensive detection of prompt injection and jailbreak attempts, language models as judges and their limits, personal data detection and redaction, and grounding checks for retrieval-augmented answers. For agents it covers tool permissions, allow-lists, budgets, human approval, idempotency and sandboxing. It then addresses latency, cost, streaming and over-blocking, fail-open and fail-closed design, a neutral survey of open-source frameworks and managed services, evaluation with regression gates in CI, monitoring and incident response, and governance and regulatory mapping across regions. Includes checklists, a lab, study questions with answers and a glossary.

This book is an independent publication and is not authorized, sponsored or endorsed by any company whose products it mentions. All trademarks belong to their respective owners and are used only for identification. This book was drafted with generative AI tools and checked with automated tools. Tools, features and prices change often; confirm them in current documentation.

GENRE
Computers & Internet
RELEASED
2026
November 1
LANGUAGE
EN
English
LENGTH
237
Pages
PUBLISHER
Lilly Tech Systems, LLC
SELLER
Lilly Tech Systems, LLC
SIZE
2.4
MB
Mastering LangGraph Mastering LangGraph
2026
Shipping Open Models with Hugging Face Shipping Open Models with Hugging Face
2026
The Hugging Face Hub in Practice The Hugging Face Hub in Practice
2026
Enterprise AI Agents on Your Own GPUs Enterprise AI Agents on Your Own GPUs
2026
Accelerated AI Inference Accelerated AI Inference
2026
GPU Programming for AI Engineers GPU Programming for AI Engineers
2026