frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

RubyLLM: A Ruby framework for all major AI providers

https://rubyllm.com/
147•doener•1h ago

Comments

mosselman•1h ago
It is quite nice, but not as nice as you'd want. You still have to set platform specifics when running completions when you want to tune things like temperature, effort, max tokens, etc.
earcar•1h ago
RubyLLM author here.

I'm not sure where you got that.

`chat.with_temperature(0.2)`

https://rubyllm.com/chat/#controlling-response-behavior

`chat.with_thinking(effort: :high, budget: 8000)`

https://rubyllm.com/thinking/#controlling-extended-thinking

Max tokens is the only one of your list that require provider specific params:

https://rubyllm.com/chat/#provider-specific-parameters

I'm one guy doing it for free. Happy to see your contribution!

techscruggs•1h ago
And thank you! It is absolutely awesome and a true joy to work with.
mosselman•51m ago
Hi! Valid challenge, I am probably misremembering. We were playing with various 'one-interface to all providers' solutions and I might have mixed up RubyLLM there. Sorry for that.

I will have a deep dive into which things I felt we needed to adapt per provider.

I didn't mean to imply that you have to solve all of our wants of course.

One thing we did do was monkey-patch the spot where tool_calls are performed by RubyLLM. We had our own mechanism for that and were able to skip RubyLLM's and still extract the tool calls and run them through our own tool harness. That all worked beautifully. I don't know if that type of stuff is something you want PRs on or that you want to keep steering towards the route that does everything within RubyLLM classes. Happy to contribute some of that.

earcar•40m ago
Interesting! What were you guys trying to achieve by running them in your own tool harness?
swe_dima•1h ago
I found Ruby LLM to be surprisingly good - in terms of usability it's close to Vercel's AI framework.

It tries to strike a balance between working out of the box and being flexible... which has its challenges, still nice overall.

One big real-life pain I experienced is that caches don't always work, e.g. for xAI, since it only supports completions API and thought signatures are returned wrong.

earcar•1h ago
Thank you!

Responses API is now implemented and it's coming in RubyLLM 2.0

https://github.com/crmne/ruby_llm/blob/main/lib/ruby_llm/pro...

techscruggs•1h ago
Do you have any details published around 2.0? Would love to learn more.
earcar•1h ago
Not yet. I'll do a series of blog posts and tweets in the next weeks.
zhisme•1h ago
thank you for bringing ruby into AI community and your open-source work. Great language must be explored and get more attention :)
earcar•1h ago
Thank you!

I love how MINASWAN Hacker News is when talking about Ruby!

fragkakis•1h ago
I have created an open source chatgpt clone with rubyllm, check it out here: https://www.railschat.org/
EGreg•1h ago
In case you're using PHP or Node.js, we've made a similar toolkit free and open source on github: https://github.com/Qbix/AI/tree/main/classes/AI
Finbarr•54m ago
RubyLLM is very easy to use. Made extensive use of it for a project last year. Drawbacks are it was difficult to instrument for true trace observability and it has a pattern where retries will delete the underlying models so the history you see is clean but not necessarily great for seeing exactly what the sequence of API calls was.
earcar•52m ago
Glad you like it.

Rails-style instrumentation landed in 1.16.0.

https://rubyllm.com/instrumentation/

bitedeck•53m ago
Thank you
themcgruff•35m ago
I built a similar Ruby based agent development kit that has a different focus and feature set:

https://github.com/tweibley/legate

obiefernandez•19m ago
I have an open source gem called Raix that builds on top of RubyLLM's abstractions and is quite popular. https://github.com/OlympiaAI/raix
notpachet•15m ago
Why would anyone still build in dynamically typed languages in 2026? Why relinquish the crystal clear signals that static typing is able to provide to the LLM?
jimbokun•13m ago
This is not a tool for using LLMs to write Ruby code.
taylorlapeyre•10m ago
Well, LLMs have an obscene amount of context built into their weights about Ruby on Rails, and can work within it extremely quickly.

The AI Data Centre Legal Case That Could Eradicate Civil Rights

https://read.misalignedmag.com/the-ai-data-centre-legal-case-that-could-eradicate-civil-rights-c2...
1•lcubw•1m ago•0 comments

Why big AI labs are hiring so many philosophers

https://www.economist.com/science-and-technology/2026/06/24/why-big-ai-labs-are-hiring-so-many-ph...
1•Brajeshwar•1m ago•0 comments

What does your eval measure?

https://shash42.substack.com/p/what-does-your-benchmark-actually
1•shash42•1m ago•0 comments

Show HN: Tuip – CLI / TUI for checking SaaS vendors' statuses

https://github.com/ikan31/tuip
1•ahme•2m ago•0 comments

Loops Burn Tokens

https://www.wheresyoured.at/cargo-culture/
1•felixdoerp•4m ago•0 comments

Show HN: Gifhub, bug hunter that shows instead of tells

https://github.com/press-pass/gifhub
1•spmartin823•4m ago•0 comments

The Bargain. Or what America forgot and Europe still keeps

https://idle.news/blog/the-forgotten-bargain/
1•umilio•5m ago•0 comments

The Xteink X4 E-Ink Reader

https://blog.omgmog.net/post/xteink-x4-e-ink-reader/
1•felixdoerp•5m ago•0 comments

Sentrup – AI Customer Support Platform

1•sentrup•7m ago•0 comments

Exploiting vulnerabilities in Johnson and Johnson web apps

https://eaton-works.com/2026/06/24/jnj-webapp-hacks/
2•EatonZ•7m ago•0 comments

Show HN: Cutlistor – Instant cut list optimizer with 3D Model and PDF Import

https://www.cutlistor.com
1•xiyan•8m ago•0 comments

I crawled 827 employers' career sites to measure ATS market share

https://resumegeni.com/research/ats-market-share-2026
1•blakec•8m ago•0 comments

Germany's Kai Havertz: 'I make runs that look pointless but I'm creating space'

https://www.theguardian.com/football/2026/jun/24/kai-havertz-germany-world-cup-2026-interview
1•bookofjoe•9m ago•0 comments

Ask HN: How much coding should beginners learn in the AI era?

2•JohnDSDev•10m ago•0 comments

Show HN: Empowering codex/Claude Code with Aswath Damodaran valuation thinking

https://github.com/stockvaluation-io/stockvaluation_io
1•pradeep1177•10m ago•0 comments

Building a LoFi Radio

https://cieslak.dev/en/blog/2026-06-24-lofi/
1•cieslak•12m ago•1 comments

Show HN: Metaspec: The DpANS3R Common Lisp Spec in S-Expr and HTML Format

https://metaspec.dev/#
1•dlowe-net•13m ago•0 comments

Show HN: Browser based tool for programming ch57x macro-pads

https://pollrobots.com/cheese-tax.html
1•pacaro•14m ago•0 comments

Create cross-platform mobile apps with Ruby

https://ruflet.dev/
2•AdamMusaAly•15m ago•0 comments

Show HN: (Spotlight/Raycast for Web Search not local) && (compare AI responses)

https://uberninja.co/
1•healersource•16m ago•0 comments

How to Measure the ROI of FDE

https://jaygoel.com/posts/building-an-fde-motion/
2•memset•17m ago•0 comments

Show HN: LinkedIn Remote jobs by technology and country Map. Joint effort.

https://remote-trends.com/
1•Hanqaqa•18m ago•0 comments

Seoul: AWS and Google Cloud Kept Failing the Same Network Path?

https://webbynode.com/articles/seoul-vs-seoul
1•gsgreen•19m ago•0 comments

Human Dignity – On the Perils of Indifference

https://www.nubero.ch/blog/017/
2•ChrisArchitect•21m ago•0 comments

Claude Agents in Notion

https://www.notion.com/help/use-claude-agents-in-notion
1•alvis•21m ago•0 comments

Fable – Is it ever coming back?

https://www.youtube.com/watch?v=cOxC0t8DqYk
2•peter422•21m ago•0 comments

Retracted: Paper claiming immunochemotherapy more effective in morning

https://www.nature.com/articles/s41591-026-04508-1
3•connorboyle•21m ago•0 comments

Agentic Design Patterns

https://blog.danwald.me/agentic-design-patterns
1•danwald•22m ago•1 comments

ModelFit – find the cheapest LLM that can back up your main coding model

https://github.com/kwadwoadu/modelfit
1•kwadwoadu•22m ago•1 comments

Predicting AI Job Exposure

https://www.ben-evans.com/benedictevans/2026/5/24/ai-job-exposure
1•karakoram•23m ago•0 comments