Back to Guardrails & Safety
ApprenticeBuild Lab

Guardrails & Safety

Drag and drop agent blocks to build the correct architecture for this pattern.

Mission: Build a Safe Customer-Facing Agent

Create a system where user input is filtered for prompt injection, the agent generates a response, and the output is checked for PII leaks and toxic content before delivery.

0.0s

> Drag blocks to the canvas

Input Filter

Blocks prompt injection and malicious input

Response Agent

Generates the customer-facing response

PII Scanner

Detects and redacts personal information in output

Toxicity Check

Ensures response tone is appropriate

Planner

Creates multi-step plans

Document Retriever

Fetches documents

Drop blocks here to build your agent pipeline

Arrange them in the correct order