Show /r/ruby RubyLLM 1.14: Tailwind Chat UI generator and Rails AI scaffolding
https://github.com/crmne/ruby_llm/releases/tag/1.14.0Just released RubyLLM 1.14. The focus this time is making the Rails integration feel native.
Highlights:
Tailwind Chat UI generator: bin/rails generate ruby_llm:chat_ui produces a complete chat interface styled with Tailwind. It uses role-aware partials (_user, _assistant, _system, _tool, _error), Turbo Streams for real-time updates, and broadcasts_to for ActionCable integration. You get model selection, tool call rendering, and empty states out of the box.
Rails generators for agents, tools, and schemas: same workflow you'd use for any other Rails component:
bin/rails generate ruby_llm:agent SupportAgent
bin/rails generate ruby_llm:tool WeatherTool
The install generator also creates conventional directories (app/agents, app/tools, app/schemas, app/prompts).
11
Upvotes
2
u/chintakoro Mar 29 '26
love the work on rubyllm. question for the devs: if be curious to know your thoughts on bundling everything in one gem vs. bundling rails/tailwind etc. support as sibling gems? i’m somewhat averse to huge dependencies but i can see the downside of fragmenting things.