llm.rb 5.3.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:
=
Development Dependencies (16):
activerecord
~> 8.0
dotenv
~> 2.8
kramdown
~> 2.4
logger
~> 1.7
net-http-persistent
~> 4.0
opentelemetry-sdk
~> 1.10
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