RubyGems Navigation menu

ai_guardrails 1.2.0

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.

Gemfile:
=

install:
=

Versions:

  1. 1.2.0 December 12, 2025 (20 KB)

Runtime Dependencies (1):

dry-validation ~> 1.10

Development Dependencies (2):

rspec ~> 3.0
rubocop ~> 1.21

Owners:

Pushed by:

Authors:

  • Faisal Raza

SHA 256 checksum:

=

Total downloads 1,712

For this version 1,712

Version Released:

License:

MIT

Required Ruby Version: >= 3.0.0

Links: