Vibe Coding Discover

AI Frameworks

The Ruby-native AI framework. Chats, agents, tools, images, audio, and video through one consistent API, in plain Ruby or Rails.

★ 4.4K504 forksRubyMITcrmne

RubyLLM is a Ruby-native AI framework giving one consistent API for 18+ providers: chat, streaming, embeddings, RAG, tools, agents, structured output, images, audio, video, and OCR, with first-class Rails integration and cost tracking.

Use Cases

Build chat features in Ruby or Rails appsDefine tool-calling agents with Ruby classesAsk questions about images, video, audio, and PDFsGenerate images and videos from promptsTranscribe speech and synthesize audioOCR documents into markdownGenerate embeddings for semantic searchRerank retrieval candidates for RAGExtract structured data with Ruby schemasModerate user-generated contentStream LLM responses with HotwireTrack token usage and cost per requestRun provider-side batch jobsSwitch between hosted and local LLM providersRetry on fallback models and cancel runs

Built With

Language
Ruby
Frameworks
Ruby on Rails · Active Record · Active Storage · Hotwire/Turbo · Faraday · RSpec · RuboCop · VCR

Tags

ruby · rails · llm-framework · agents · tool-calling · multimodal · embeddings · rag · structured-output · streaming · image-generation · audio · video · provider-agnostic · mcp · async