Squishling makes Ruby classes elastic. Add a squishling to a class and it can send inputs straight to an LLM (OpenAI, Anthropic Claude, Google Gemini, or any provider RubyLLM supports, or any OpenAI-compatible endpoint, or your own adapter) and return strict-schema-validated, typed results: the same type your Ruby code returns. Use it to gracefully maintain fickle integrations, build interfaces for unknown data formats, and rescue production errors by handing the failing call to the LLM with the source class as context. Write Ruby only for the paths where token costs justify maintaining it. Per-input routing, validated retries, and fallbacks for your LLM calls included.

Required Ruby Version

>= 3.3

Authors

Michael Carroll

Versions

  1. 0.8.1
    1. source

      1. 0.8.1 source November 30, 2026 (251 KB)
  2. 0.8.0
    1. source

      1. 0.8.0 source November 28, 2026 (230 KB)
  3. 0.7.0
    1. source

      1. 0.7.0 source November 23, 2026 (170 KB)
  4. 0.6.0
    1. source

      1. 0.6.0 source November 01, 2026 (159 KB)
  5. 0.5.1
    1. source

      1. 0.5.1 source October 31, 2026 (154 KB)
Show all versions (10 total)

Pushed by

GitHub

SHA 256 checksum

Provenance