RubyGems Navigation menu

llm.rb 0.15.0

llm.rb is a zero-dependency Ruby toolkit for Large Language Models that includes OpenAI, Gemini, Anthropic, xAI (grok), DeepSeek, Ollama, and LlamaCpp. The toolkit includes full support for chat, streaming, tool calling, audio, images, files, and structured outputs (JSON Schema).

Gemfile:
=

install:
=

Versions:

  1. 6.1.0 May 01, 2026 (131 KB)
  2. 6.0.0 April 30, 2026 (130 KB)
  3. 5.4.0 April 27, 2026 (129 KB)
  4. 5.3.0 April 26, 2026 (128 KB)
  5. 5.2.1 April 25, 2026 (127 KB)
  6. 0.15.0 August 29, 2025 (44 KB)
Show all versions (78 total)

Development Dependencies (10):

dotenv ~> 2.8
kramdown ~> 2.4
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

SHA 256 checksum:

=

Total downloads 80,135

For this version 1,106

Version Released:

License:

0BSD

Required Ruby Version: >= 3.2.0

Links: