Home/AI Agents/ruby_llm
ruby_llm logo

ruby_llm

crmne/ruby_llm

A Ruby framework for building AI agents and applications

GraphCanon updated 4w · GitHub synced 4w

4.3k stars481 forksLast push 1mo Ruby MIT

Decision brief

ruby_llm: A Ruby framework for interacting with major AI providers through a Ruby interface.

Good fit when

  • When your application is built in Ruby and you want to use multiple AI services from different providers (such as Anthropic, OpenAI, etc.) without rewriting the integration code for each.
  • For developers who prefer a high-level abstraction for AI service interactions that supports rapid prototyping of AI applications like chatbots and RAG systems.

Avoid when

  • If you are working in an environment where Ruby is not supported or preferred, and your primary requirement is to use a different programming language ecosystem.
  • In scenarios where the specific AI providers you're interested in do not have good support within ruby_llm (check provider compatibility before starting a project).
Pricing:
freemium - The library is free and open-source under the MIT license, but some of its functionalities will depend on third-party AI service costs.
Requirements:
Min 4 GB RAM; Requires Ruby runtime environment

Observed Jul 12, 2026 · Source: enrich:decision_facts

Verify the decision

Maintenance and security

Full trust report
Maintenance
Active (7d since push)
As of 4w
Provenance
Not a fork · Personal account
As of 4w
Security (OSV)
No lockfile
As of 1mo

Public GitHub metadata and optional OSV scans. Signals, not a guarantee. Trust methodology.

Install

gem install ruby_llm
RubyGems

Similar tools

Same-category neighbours. No typed graph edges are catalogued for this tool yet.

Evidence and technical details

Sourced facts, taxonomy, compatibility claims, README excerpt, and machine-readable endpoints.

Overview

Provides bindings and utilities to interact with major AI providers through a Ruby interface.

Capability facts

Languages
ruby

Source: github.language · Jul 22, 2026

Categories

Tags

README

Installation

Add to your Gemfile:

gem 'ruby_llm'

Then bundle install.

Configure your API keys:


---

# Install Rails Integration
bin/rails generate ruby_llm:install
bin/rails db:migrate
bin/rails ruby_llm:load_models # v1.13+

---

## License

Released under the MIT License.

For agents

This page has a .md twin and JSON over the API.

Was this helpful?

Anonymous feedback helps us improve pages and translations.