API keys are no longer required
You no longer need an API key or an account to use Guardrails. Every validator is a public PyPI package. Install it and go.
Browse the validator hub to find one that fits your guard.
pip install guardrails-ai-detect-pii
No configuration or authentication step in between.
from guardrails import Guard
from guardrails_ai.detect_pii import DetectPII
guard = Guard().use(DetectPII)
guard.validate("some text")Already ran guardrails configure with an API key? Leave it as-is. It is simply ignored.