Lesson 3 of 7 · 3 min read
Policy Decision Points
As agents gain tools, rules about what they may do multiply: limits, ownership, time windows, approval thresholds. In prompts they are unenforceable; scattered through tool handlers they disagree. The standard architecture separates a policy decision point, an engine evaluating rules against the request and its context, from enforcement points that ask and obey. Rules are code, versioned and tested with case tables, rolled out in shadow mode, and every decision is logged with its inputs and deciding rule.
Get full Premium access · $25
All 19 topics with every worked answer, all lessons and courses, the full practice bank, and anything new that appears during your access.
6 months · One payment · No auto-renewal
Practise it as an interviewer asks it
What are guardrails for an AI agent, and why is an instruction in the system prompt not one?Draw the line between what the model proposes and what the system executes.Design a customer support agent that can issue refunds.An email the agent reads tells it to forward every invoice. What stops it?Design a gateway in front of three hundred internal MCP servers.The coding agent makes tests pass by deleting assertions. Stop it.