📢 Sponsored: Check out Susan's Sudoku - A free daily sudoku puzzle.

Intermediate

RubyLLM

A delightful Ruby way to work with AI through a unified interface to Anthropic, AWS Bedrock Anthropic, DeepSeek, Ollama, OpenAI, Gemini, OpenRouter, and any OpenAI-compatible API.

Updated May 24, 2025
Price: Free

Description

A delightful Ruby way to work with AI. RubyLLM provides one beautiful, Ruby-like interface to interact with modern AI models. Chat, generate images, create embeddings, and use tools – all with clean, expressive code that feels like Ruby, not like patching together multiple services.

Every AI provider comes with its own client library, its own response format, its own conventions for streaming, and its own way of handling errors. Want to use multiple providers? Prepare to juggle incompatible APIs and bloated dependencies.

RubyLLM fixes all that. One beautiful API for everything. One consistent format. Minimal dependencies — just Faraday and Zeitwerk. Because working with AI should be a joy, not a chore.

Core Capabilities

  • 💬 Unified Chat: Converse with models from OpenAI, Anthropic, Gemini, Bedrock, OpenRouter, DeepSeek, Ollama, or any OpenAI-compatible API using RubyLLM.chat.
  • 👁️ Vision: Analyze images within chats.
  • 🔊 Audio: Transcribe and understand audio content.
  • 📄 PDF Analysis: Extract information and summarize PDF documents.
  • 🖼️ Image Generation: Create images with RubyLLM.paint.
  • 📊 Embeddings: Generate text embeddings for vector search with RubyLLM.embed.
  • 🔧 Tools (Function Calling): Let AI models call your Ruby code using RubyLLM::Tool.
  • 🚂 Rails Integration: Easily persist chats, messages, and tool calls using acts_as_chat and acts_as_message.
  • 🌊 Streaming: Process responses in real-time with idiomatic Ruby blocks.

More "Free" Projects

Wavclouds (iOS/Android)

Turbo iOS/Android Apps for Wavclouds, with custom tab bar, push notifications, and native authentication

Gumroad

Sell your stuff. See what sticks.

Terminalwire

Ship a command-line developer experience for your SaaS 🚀

More "Open Source" Projects

Thingybase

Rails server for Thingybase.com, a way to organize, track, & treasure your stuff

Lobsters

A computing-focused community centered around link aggregation and discussion.

DaisyUI for Rails

Faster, cleaner, easier Tailwind CSS development

More "AI" Projects

Patterns of Application Development Using AI

Unlock the power of AI in your applications with this groundbreaking book on AI-driven application architecture.

Tidewave

Speed up development with AI assistants that understand your web application, how it runs, and what it delivers

HostedGPT - A free ChatGPT clone

A free, and open-source ChatCPT alternative built using the latest Ruby on Rails and Hotwire features.

Stay updated with the latest Rails projects

Join our newsletter to get updates on new Rails projects and resources.

    We won't send you spam. Unsubscribe at any time.