RubyLLM
Ruby library providing a unified API for working with multiple LLM providers.
HN commenters like RubyLLM for its elegant, easy-to-use API design1234 and use it in production apps as well as side projects.567 The only complaint, from one commenter, was the lack of native OpenAI Responses API support8, which that commenter later noted may now be native.9
Why people recommend it
API design · 3
Commenters call the API elegant and nicely designed.
“I am using RubyLLM for quite some time and I am in love with the API design.”
“We use RubyLLM in production too, the most elegant library in this space I've seen so far.”
Show 1 more
“the same nicely designed RubyLLM gem used in the article”
Production use · 3
Several teams report running it in production apps.
“We use RubyLLM in production too, the most elegant library in this space I've seen so far.”
“We use this in production for a few apps. Great project.”
Show 1 more
“We use and love RubyLLM! A wonderful and easy to use framework.”
Ease of use · 2
Described as a wonderful and easy-to-use framework.
“We use and love RubyLLM! A wonderful and easy to use framework.”
“RubyLLM is awesome! I use it on side projects.”
Scope discipline · 1
The feature request template asks for workarounds and justification to prevent scope creep.
“We use RubyLLM in production too, the most elegant library in this space I've seen so far.”
Extensible foundation · 1
Other gems, such as Raix, build on its abstractions.
“builds on top of RubyLLM's abstractions”
Caveats and dissent
Responses API · 1
One user missed native Responses API support and found the third-party connector buggy, though it may now be native.
“We use and love RubyLLM! A wonderful and easy to use framework.”
Who recommends it in their own words
Threads where it came up
Data: rubyllm.json. Quotes are verbatim; the verdict and theme labels are written by a model from these comments, and every clause links to its sources.
All comments 7
“I am using RubyLLM for quite some time and I am in love with the API design.”
“RubyLLM is awesome! I use it on side projects.”
“We use and love RubyLLM! A wonderful and easy to use framework.”
“We use RubyLLM in production too, the most elegant library in this space I've seen so far.”
“We use this in production for a few apps. Great project.”
“builds on top of RubyLLM's abstractions”
“the same nicely designed RubyLLM gem used in the article”