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) 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
-
0.3.0
-
source
- 0.3.0 source October 10, 2026 (66 KB)
-
-
0.2.0
-
source
- 0.2.0 source October 09, 2026 (42 KB)
-
-
0.1.0
-
source
- 0.1.0 source October 08, 2026 (34 KB)
-
Pushed by
SHA 256 checksum
Provenance
Source Commit
Build File