frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

RubyLLM: A Ruby framework for all major AI providers

https://rubyllm.com/
163•doener•2h 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•1h 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•1h 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•1h 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•1h ago
Glad you like it.

Rails-style instrumentation landed in 1.16.0.

https://rubyllm.com/instrumentation/

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

https://github.com/tweibley/legate

obiefernandez•39m 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•36m 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•34m ago
This is not a tool for using LLMs to write Ruby code.
taylorlapeyre•31m ago
Well, LLMs have an obscene amount of context built into their weights about Ruby on Rails, and can work within it extremely quickly.

John Carmack on the mistakes around Quake that ruined id software

https://twitter.com/ID_AA_Carmack/status/2069799283369345247
184•shadowtree•1h ago•70 comments

RubyLLM: A Ruby framework for all major AI providers

https://rubyllm.com/
163•doener•2h ago•21 comments

We’re making Bunny DNS free

https://bunny.net/blog/were-making-bunny-dns-free/
629•dabinat•8h ago•208 comments

CAPTCHAs have failed for 20 years

https://www.browserbase.com/blog/why-captchas-are-getting-harder
21•harsehaj•59m ago•14 comments

Show HN: Nub – A Bun-like all-in-one toolkit for Node.js

https://github.com/nubjs/nub
100•colinmcd•2h ago•22 comments

I taught a bucket to speak Git

https://www.tigrisdata.com/blog/objgit/
20•xena•57m ago•1 comments

PR spam today looks like email spam in the early 2000s

https://www.greptile.com/blog/prs-on-openclaw
27•dakshgupta•2h ago•17 comments

For Most of the World, Open-Source AI Is the Only Way Forward

https://techstrong.ai/articles/for-most-of-the-world-open-source-ai-is-the-only-way-forward/
27•CrankyBear•2h ago•0 comments

Running Windows Games on a Hobby OS with Wine

https://astral-os.org/posts/2026/04/03/wine-on-astral.html
43•avaliosdev•2h ago•11 comments

Krea 2: SOTA open-weights 12B image model

https://www.krea.ai/blog/krea-2-technical-report
162•mattnewton•1d ago•19 comments

Genuinely, my all-time favourite image: Mamenchisaurus hochuanensis

https://svpow.com/2026/06/04/genuinely-my-all-time-favourite-image-mamenchisaurus-hochuanensis/
40•surprisetalk•2d ago•9 comments

A Practical Guide to SSH Tunnels: Local and Remote Port Forwarding

https://labs.iximiuz.com/tutorials/ssh-tunnels
146•signa11•4d ago•30 comments

Boffin claims Microsoft's "quantum leap" is invalid due to "basic Python errors"

https://www.theregister.com/research/2026/06/24/boffin-claims-microsofts-supposed-quantum-leap-do...
58•connorboyle•1h ago•25 comments

Show HN: Monolisa v3 – a typeface for developers and creatives

https://www.monolisa.dev/
81•bebraw•2d ago•18 comments

Founding a company in Germany: €9600, 152 days and I still can't send an invoice

https://paolino.me/founding-a-company-in-germany/
425•earcar•4h ago•487 comments

Haystack: Open-Source AI Framework for Production Ready Agents, RAG

https://haystack.deepset.ai/
58•doener•5h ago•19 comments

Show HN: Pure Effect – Reproduce production bugs on your laptop without a DB

https://pure-effect.org
30•tie-in•2d ago•6 comments

Quebec town recognizes trees as living beings with rights

https://www.cbc.ca/news/canada/montreal/terrasse-vaudreil-quebec-tree-rights-9.7243634
63•speckx•1h ago•51 comments

Edsger Dijkstra's Library (Housed and Archived in Leuven, Belgium)

https://www.dijkstrascry.com/inventory
18•rramadass•1h ago•2 comments

Raspberry Pi Pico W as USB Wi-Fi Adapter

https://gitlab.com/baiyibai/pico-usb-wifi
228•byb•13h ago•108 comments

OpenAI and Broadcom unveil LLM-optimized inference chip

https://openai.com/index/openai-broadcom-jalapeno-inference-chip/
106•meetpateltech•3h ago•36 comments

Statistics that live in your SQL

https://kolistat.com/blog/the-stats-duck-v0-6-0/
110•caerbannogwhite•2d ago•15 comments

Stealing Is a Skill

https://ben-mini.com/2026/stealing-is-a-skill
102•bewal416•3h ago•76 comments

Systems optimization should be part of CI/CD

https://ucbskyadrs.github.io/blog/levi/
16•ttanv•4h ago•2 comments

Ashby (YC W19) Is Hiring EMEA Engineers Who Can Design

https://www.ashbyhq.com/careers?ashby_jid=87b96eef-edc1-4de4-adb6-d460126d02f8&utm_source=hn
1•abhikp•10h ago

Show HN: peerd – AI agent harness that runs entirely in your browser

https://github.com/NotASithLord/peerd
8•NotASithLord•1d ago•2 comments

François Englert (1932 – 2026)

https://home.cern/francois-englert-1932-2026/
51•toomuchtodo•3d ago•3 comments

Too many R packages: CRAN is inundated with submissions

https://rworks.dev/posts/too-many-R-packages/
74•ionychal•6h ago•58 comments

"Fix" MacBook Neo Cursor Lag: Record 1 Pixel of the Screen Every 10 Seconds

https://gist.github.com/retroplasma/ec21767d0a8380c7ea9c2fbee1c7d6bf
187•retroplasma•14h ago•78 comments

Minimus container images are now free

https://images.minimus.io/
99•dimastopel•5h ago•59 comments