examples/agent_with_guardrails/
Run
Fromexamples/:
MODERATION_BLOCK stops with agent.ErrGuardrailBlocked and does not call the model. Replace moderate in main.go with your own check.
On Temporal, register the same guardrails in the same order on the starter and the worker.