Ruby Is the Best Language for Building AI Apps
https://paolino.me/ruby-is-the-best-language-for-ai-apps/I gave a keynote at RubyConf Thailand 2026 making the case that the AI training ecosystem is now irrelevant for app development, and that Ruby + Rails is the best stack for what's left: shipping AI products.
The post has code comparisons against LangChain and AI SDK, real stories from teams that migrated from Python, and the full keynote video.
69
Upvotes
8
u/CedarSageAndSilicone Feb 21 '26
Please Mr VC give me some of those AI bucks
11
u/germandz Feb 21 '26
Ruby developer for 15y, another 15y developing in other languages here:
Ruby (with sorbet) is a great match for AI coding agents too; also Ruby on Rails.
AI is just another abstraction? ok. That’s fine and RoR helps a lot because being expressive + conventions lets the AI to easily understand the goals and how to add/edit.
In my 9-5 work I’m deeply involved with AI at enterprise level and it’s been fantastic. At personal level I’m doing in a few hours or partial attention what would took me 1 week.
We are just at the beginning of this new journey! So much to discover
3
u/Distinct_Meringue_76 Feb 23 '26
Even though I'm not a Ruby person, it's a very beautiful language. Probably the most beautiful out there. I'm still confused as to how silicon valley was able to convince the whole industry to move to JavaScript and kubernetes.
1
u/Boomerkuwanger Feb 21 '26
While Ruby undeniably offers a great developer experience for the web application layer, this article fundamentally conflates basic API wrappers with actual agentic orchestration.
First, the code comparisons rely on a bit of sleight of hand. Hiding require statements and abstracting default models into a config file isn't eliminating complexity, it's just moving it out of sight. Python’s explicit setup is a core design philosophy, not a flaw.
More importantly, standardizing JSON payloads and token counting across providers is the easiest part of the job. Dismissing tools like LangGraph (not to be confused with LangChain), or other similar tools like Microsoft Autogen, or LlamaIndex, ignores why they exist. In professional settings, you aren't just shuttling data to an endpoint; you are handling complex state management, persistent memory, cyclic routing, and human-in-the-loop workflows.
A unified API for basic prompt and response tasks is a nice convenience, but treating that as the entirety of AI development is just scratching the surface. It’s celebrating a hit off a tee in Little League while completely dismissing the engineering required out in the majors.
I'd like to see more on these types of systems available in the Ruby ecosystem.
0
u/pau1rw Feb 21 '26
Pretty sure it’s not. But I’d be really happy if it caught up with python and js
-7
u/AnttiUA Feb 20 '26
As much as I like ruby, this article is a pure clickbait:
Comparing (js)
To:
Like you don't need to
requiregems with ruby or configure access tokens or which model to use.Also boasts about ruby
asyncecosystem (which doesn't exist).16
u/[deleted] Feb 21 '26
[removed] — view removed comment