AiGuardrails is a Ruby gem that helps developers validate, correct, and enforce schemas on AI-generated outputs. It ensures structured data, prevents JSON errors, and provides a foundation for adding safety filters and auto-correction in Rails apps, CLI tools, background jobs, and scrapers. Think of it as Guardrails.AI for Ruby.
Required Ruby Version
>= 3.0.0
Authors
Faisal Raza
Versions
- 1.2.0 December 12, 2025 (20 KB)