Skip to content

Framework for orchestrating role-playing, autonomous AI agents. By fostering collaborative intelligence, CrewAI empowers agents to work together seamlessly, tackling complex tasks.

docs: add missing docs about LLMGuardrail events (#3013)

Lucas Gomide7c8f2a132593
diff --git a/docs/concepts/event-listener.mdx b/docs/concepts/event-listener.mdx
index 9e7d638e2..3b2330f65 100644
--- a/docs/concepts/event-listener.mdx
+++ b/docs/concepts/event-listener.mdx
@@ -233,6 +233,11 @@ CrewAI provides a wide range of events that you can listen for:
- **KnowledgeQueryFailedEvent**: Emitted when a knowledge query fails
- **KnowledgeSearchQueryFailedEvent**: Emitted when a knowledge search query fails
+### LLM Guardrail Events
+
+- **LLMGuardrailStartedEvent**: Emitted when a guardrail validation starts. Contains details about the guardrail being applied and retry count.
+- **LLMGuardrailCompletedEvent**: Emitted when a guardrail validation completes. Contains details about validation success/failure, results, and error messages if any.
+
### Flow Events
- **FlowCreatedEvent**: Emitted when a Flow is created