Package dev.agenor.runtime.guardrail
package dev.agenor.runtime.guardrail
-
ClassDescriptionBlocks content that matches a configurable blocklist loaded from a YAML file.Thrown when the YAML policy file cannot be found or parsed.Reads the
WithGuardrailsannotation from anLLMAgentsubclass and injects aGuardrailChaininto the agent at registration time.Thrown when a guardrail class listed in@WithGuardrailscannot be instantiated at agent bootstrap time.Ordered chain ofInputGuardrails andOutputGuardrails executed sequentially inside theLLMAgentpipeline.Fluent builder forGuardrailChain.Injects the@WithGuardrailschain and installs telemetry onLLMAgentinstances at agent registration time, discovered viaServiceLoader.Enforces a maximum token budget on user input before it reaches the LLM.Controls which portion of the input is preserved when truncation is needed.Detects and masks Personally Identifiable Information (PII) in text content.Enumeration of supported PII categories.