RubyGems Navigation menu

llm.rb 4.17.0

llm.rb is a lightweight runtime for building capable AI systems in Ruby. It is not just an API wrapper. llm.rb gives you one runtime for providers, contexts, agents, tools, MCP servers, streaming, schemas, files, and persisted state, so real systems can be built out of one coherent execution model instead of a pile of adapters. It stays close to Ruby, runs on the standard library by default, loads optional pieces only when needed, works naturally in Rails or ActiveRecord through acts_as_llm, includes built-in Sequel support through plugin :llm, and is designed for engineers who want control over long-lived, tool-capable, stateful AI workflows instead of just request/response helpers.

Gemfile:
=

install:
=

Versions:

  1. 6.0.0 April 30, 2026 (130 KB)
  2. 5.4.0 April 27, 2026 (129 KB)
  3. 5.3.0 April 26, 2026 (128 KB)
  4. 5.2.1 April 25, 2026 (127 KB)
  5. 5.2.0 April 25, 2026 (126 KB)
  6. 4.17.0 April 17, 2026 (108 KB)
Show all versions (77 total)

Development Dependencies (13):

dotenv ~> 2.8
kramdown ~> 2.4
logger ~> 1.7
rake ~> 13.0
rspec ~> 3.0
standard ~> 1.50
test-cmd.rb ~> 0.12.0
vcr ~> 6.0
webmock ~> 3.24.0
webrick ~> 1.8
yard ~> 0.9.37

Owners:

Pushed by:

Authors:

  • Antar Azri, 0x1eef, Christos Maris, Rodrigo Serrano

SHA 256 checksum:

=

Total downloads 79,921

For this version 169

Version Released:

License:

0BSD

Required Ruby Version: >= 3.2.0

Links: