RubyGems Navigation menu

llm.rb 0.16.3

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. 11.0.0 May 23, 2026 (158 KB)
  2. 10.0.0 May 19, 2026 (149 KB)
  3. 9.0.0 May 13, 2026 (148 KB)
  4. 8.1.0 May 06, 2026 (150 KB)
  5. 8.0.0 May 04, 2026 (135 KB)
  6. 0.16.3 September 13, 2025 (49 KB)
Show all versions (84 total)

Development Dependencies (11):

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 86,083

For this version 10,072

Version Released:

License:

0BSD

Required Ruby Version: >= 3.2.0

Links: