Phase 3 outline

Module 05 of 11 · Outline

Guardrails & AI Safety

Apply input, output, and tool-use controls with policy-aware validation.

Learning outcome: A policy, guardrail implementation, and adversarial evaluation report.

Lesson outline

Lesson 5.1

Input controls

  • Untrusted-content boundaries
  • Sensitive-data minimization
  • Schema and content validation

Lesson 5.2

Output controls

  • Structured response validation
  • Grounding and policy checks
  • Safe fallback and abstention

Lesson 5.3

Tool-use controls

  • Least privilege and action allowlists
  • Human approval for risky actions
  • Adversarial safety evaluation

Practice assignment

Add safety checks to your agent

  1. Define a task-specific policy and structured output contract.
  2. Require approval for side effects.
  3. Evaluate synthetic unsafe inputs and tool requests.

Deliverable: A policy, guardrail implementation, and adversarial evaluation report.

Independent practice · no submission or grading

Reference reading