#9494th of 142 in Agent frameworks and SDKs

ruby_llm

Ruby library for chat, tools, agents and evals across 23 LLM providers

Stars
4.5k
License
MIT
Last commit
Nov 2026
Last release
Nov 2026
Language
Ruby

Missed the latest GitHub check; these facts may be older.

Overview

RubyLLM is a Ruby gem with one API for chat, streaming, attachments, structured output, embeddings, and image, video and audio calls across 23 providers plus any OpenAI-compatible endpoint. It adds tools, agents, MCP, evaluations and a Rails integration with Active Record persistence, Hotwire streaming and an optional generated chat UI. Version 2.2 adds sandboxed code execution and skills.

Who it is for: Ruby and Rails developers adding LLM features to applications

Strengths

  • One API covers 23 providers, including Ollama and OpenAI-compatible endpoints
  • Rails generators give Active Record chat persistence and a working chat UI
  • Built-in evaluations, cost tracking and OpenTelemetry tracing
  • Embeddings, reranking, OCR, moderation, image, video and speech share the same API

Weaknesses

  • Ruby only; no bindings for other languages
  • OCR, video and reranking need API keys from specific providers
  • Rails is the documented persistence path; non-Rails storage is not described
  • Large 2.2 feature surface means more to learn than a thin client

What it needs

  • no GPU
  • Needs Ruby, Provider API keys, Rails (optional)
  • Models: OpenAI, Anthropic, Gemini, VertexAI, Bedrock

Also in Agent frameworks and SDKs

See all 142
Also in Agent frameworks and SDKs
RankProjectScore
1ppt-masterAgent skill that turns documents into natively editable PowerPoint decks Live demo ↗ (opens in a new tab)76.2k stars+15,031 (+25%) in 30 daysMIT96 out of 100
2openai-agents-pythonPython SDK for multi-agent workflows with handoffs, guardrails and tracing30.6k stars+692 (+2.3%) in 30 daysMIT92 out of 100
3mastraTypeScript framework for building AI agents, workflows and MCP servers29.5k stars+778 (+2.7%) in 30 dayscustom license92 out of 100
#4browser-usePython library that lets an LLM agent control a web browser Live demo ↗ (opens in a new tab)120.8k stars+3,334 (+2.8%) in 30 daysMIT90 out of 100
#5copilotkitReact and Angular SDK for adding agent chat and generative UI to apps38.7k stars+757 (+2.0%) in 30 daysMIT90 out of 100