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
-
0.6.0
-
source
- 0.6.0 source November 01, 2026 (159 KB)
-
-
0.5.1
-
source
- 0.5.1 source October 31, 2026 (154 KB)
-
-
0.5.0
-
source
- 0.5.0 source October 28, 2026 (139 KB)
-
-
0.4.0
-
source
- 0.4.0 source October 18, 2026 (85 KB)
-
-
0.3.0
-
source
- 0.3.0 source October 10, 2026 (66 KB)
-
Pushed by
SHA 256 checksum
Provenance
Source Commit
Build File