2.0

October 8, 2025

Keep your agents and their inputs secure with built-in guardrails

Keep your agents and their inputs secure with built-in guardrails that protect against PII leaks, prompt injections, jailbreaks, and NSFW content. Add guardrails with a single line of code by importing one and passing it as a pre_hook when creating your agent, or extend the BaseGuardrail class to build custom safeguards tailored to your needs.

Learn more in the documentation.