RubyLLM
Hacker ApprovedRuby gem in Developer tools
Recommended for a clean, well-designed API that works across major AI providers and makes switching easy. Critics most often mention slow maintainer response to pull requests.
Recommended for a clean, well-designed API that works across major AI providers and makes switching easy. Critics most often mention slow maintainer response to pull requests.
26 people gave an opinion
- recommend it
- 25
- criticize it
- 1
- approval share
- 96%
Recommended in 6 of 13 months
- November 2025: not recommended
- December 2025: recommended
- January 2026: not recommended
- February 2026: not recommended
- March 2026: not recommended
- April 2026: not recommended
- May 2026: recommended
- June 2026: recommended
- July 2026: recommended
- August 2026: not recommended
- September 2026: recommended
- October 2026: recommended
- November 2026: not recommended (month in progress)
Owned for 1 year
Median of the 4 owners who said how long they have had it.
Each square is one year.
Why it carries the badge
- 25 people recommend itNeeds 10 or more, met.
- 25 recommenders for every criticNeeds 2 to 1 or better, met.
- Recommended in 6 of 13 monthsNeeds 4 or more, met.
The same three rules apply to every product, and the badge can’t be bought. How the badge works
What people say about it
The reasons people give, with the number of comments that give each one. Open a reason to read what they said.
Why people recommend it
Each mark is one comment
Clean, well-designed API
“spent a half hour experimenting the same nicely designed RubyLLM gem”
Comment from 26 Dec 2025 in “Building an AI agent inside a 7-year-old Rails monolith” “It is honestly so great working with such well thought out gem.”
Comment from 13 Jul 2026 in “Ask HN: What Are You Working On? (July 2026)” “the most elegant library in this space I've seen so far”
Comment from 24 Jun 2026 in “RubyLLM: A single, beautiful Ruby framework for all major AI providers” - Comment from 24 Jun 2026 in “RubyLLM: A single, beautiful Ruby framework for all major AI providers”
- Comment from 25 Jun 2026 in “RubyLLM: A single, beautiful Ruby framework for all major AI providers”
- Comment from 25 Jun 2026 in “RubyLLM: A single, beautiful Ruby framework for all major AI providers”
Easy and enjoyable to use
“I found Ruby LLM to be surprisingly good - in terms of usability it's close to Vercel's AI framework.”
Comment from 24 Jun 2026 in “RubyLLM: A single, beautiful Ruby framework for all major AI providers” “It is absolutely awesome and a true joy to work with.”
Comment from 24 Jun 2026 in “RubyLLM: A single, beautiful Ruby framework for all major AI providers” “RubyLLM is awesome! I use it on side projects.”
Comment from 24 Jun 2026 in “RubyLLM: A single, beautiful Ruby framework for all major AI providers” - Comment from 24 Jun 2026 in “RubyLLM: A single, beautiful Ruby framework for all major AI providers”
- Comment from 24 Jun 2026 in “RubyLLM: A single, beautiful Ruby framework for all major AI providers”
Used in production apps
“A "minimal API-compatible gem" is exactly what RubyLLM is, except a lot more than that, with the production pedigree to boot.”
Comment from 25 Jun 2026 in “RubyLLM: A single, beautiful Ruby framework for all major AI providers” “RubyLLM goes well beyond that, and several multi-million-dollar companies use it in production every day.”
Comment from 25 Jun 2026 in “RubyLLM: A single, beautiful Ruby framework for all major AI providers” “We use this in production for a few apps.”
Comment from 24 Jun 2026 in “RubyLLM: A single, beautiful Ruby framework for all major AI providers” Switch between AI providers easily
“Being able to easily test and move from Anthropic to DeepSeek cut my bill down by over 90%.”
Comment from 24 Jun 2026 in “RubyLLM: A single, beautiful Ruby framework for all major AI providers” “you can just use this tool and have the ability to choose any provider in the future”
Comment from 24 Jun 2026 in “RubyLLM: A single, beautiful Ruby framework for all major AI providers”
What people said
30 of the 37 comments that mention it, newest first. Each links to the original comment.
“His work on RubyLLM has been incredible”
“It is honestly so great working with such well thought out gem.”
“I'm using RubyLLM which is an incredible framework for building agents.”
“It is incredibly impressive and I never meant any disrespect.”
“I am in love with the API design.”
“using your library was hurting more than helping. So I stopped.”
“RubyLLM goes well beyond that, and several multi-million-dollar companies use it in production every day.”
“A "minimal API-compatible gem" is exactly what RubyLLM is, except a lot more than that, with the production pedigree to boot.”
“I am in love with the API design”
“the Rails integration was really rough at the time”
“The API/Dev UX is good but we have seen little success with engaging the maintainer on PRs”
“Being able to easily test and move from Anthropic to DeepSeek cut my bill down by over 90%.”
“it sounds like this API handles those pretty well”
“Been a very happy user for awhile now”
“you can just use this tool and have the ability to choose any provider in the future”
“Very nicely designed and implemented.”
“RubyLLM is awesome! I use it on side projects.”
“A wonderful and easy to use framework.”
“the most elegant library in this space I've seen so far”
“We use this in production for a few apps.”
“That all worked beautifully.”
“Rails-style instrumentation landed in 1.16.0.”
“it was difficult to instrument for true trace observability”
“thank you for bringing ruby into AI community and your open-source work”
“It is absolutely awesome and a true joy to work with.”
“I found Ruby LLM to be surprisingly good - in terms of usability it's close to Vercel's AI framework.”
“You still have to set platform specifics when running completions”
“as the author of RubyLLM, I've built several chat interfaces streaming from LLMs with Hotwire.”
“spent a half hour experimenting the same nicely designed RubyLLM gem”
“The article's approach (RubyLLM + single tool) works great for simple cases.”
Counts come from 1,795,640 Hacker News comments, November 2025 to November 2026. How we count. Report a mistake.