Fix: Migrate validators from deprecated Guardrails Hub to public PyPI
Problem
Guardrails has deprecated:
- Private registry:
pypi.guardrailsai.com (shut down)
- Remote inference API:
hub.api.guardrailsai.com (shut down)
Current CI fails because:
guardrails hub install <validator> commands no longer work
- Validators that relied on remote model inference cannot execute
- Any dependency on the private registry breaks the build
Solution
Migrate to public PyPI packages and local validator execution.
Changes required
1. Update GitHub Actions workflow
Before:
- name: Install validators
run: guardrails hub install my-validator
After:
- name: Install validators
run: pip install guardrails-ai-my-validator
Blockers
Fix: Migrate validators from deprecated Guardrails Hub to public PyPI
Problem
Guardrails has deprecated:
pypi.guardrailsai.com(shut down)hub.api.guardrailsai.com(shut down)Current CI fails because:
guardrails hub install <validator>commands no longer workSolution
Migrate to public PyPI packages and local validator execution.
Changes required
1. Update GitHub Actions workflow
Before:
After:
Blockers