RubyGems Navigation menu

llm.rb 7.0.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, includes built-in ActiveRecord support through acts_as_llm and acts_as_agent, 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. 11.2.0 June 04, 2026 (164 KB)
  2. 11.1.0 May 29, 2026 (160 KB)
  3. 11.0.0 May 23, 2026 (158 KB)
  4. 10.0.0 May 19, 2026 (149 KB)
  5. 9.0.0 May 13, 2026 (148 KB)
  6. 7.0.0 May 01, 2026 (131 KB)
Show all versions (86 total)

Development Dependencies (17):

activerecord ~> 8.0
dotenv ~> 2.8
kramdown ~> 2.4
logger ~> 1.7
pg ~> 1.5
rake ~> 13.0
rspec ~> 3.0
sequel ~> 5.0
sqlite3 ~> 2.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 89,183

For this version 210

Version Released:

License:

0BSD

Required Ruby Version: >= 3.2.0

Links: