RubyGems Navigation menu

llm.rb 11.0.0

llm.rb is Ruby's most capable AI runtime. It runs on Ruby's standard library by default. loads optional pieces only when needed, and offers a single runtime for providers, agents, tools, skills, MCP, A2A (Agent2Agent), RAG (vector stores & embeddings), streaming, files, and persisted state. As a bonus, llm.rb is also available for mruby. It supports OpenAI, OpenAI-compatible endpoints, Anthropic, Google Gemini, DeepSeek, xAI, Z.ai, AWS Bedrock, Ollama, and llama.cpp. It also includes built-in ActiveRecord and Sequel support, plus concurrent tool execution through threads, tasks (via async gem), fibers, ractors, and fork (via xchan.rb gem).

Gemfile:
=

install:
=

Versions:

  1. 11.1.0 May 29, 2026 (160 KB)
  2. 11.0.0 May 23, 2026 (158 KB)
  3. 10.0.0 May 19, 2026 (149 KB)
  4. 9.0.0 May 13, 2026 (148 KB)
  5. 8.1.0 May 06, 2026 (150 KB)
Show all versions (85 total)

Development Dependencies (18):

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
xchan.rb ~> 0.20
yard ~> 0.9.37

Owners:

Pushed by:

Authors:

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

SHA 256 checksum:

=

Total downloads 86,732

For this version 504

Version Released:

License:

0BSD

Required Ruby Version: >= 3.3.0

Links: