RubyGems Navigation menu

dspy 0.30.1

The Ruby framework for programming with large language models. DSPy.rb brings structured LLM programming to Ruby developers. Instead of wrestling with prompt strings and parsing responses, you define typed signatures using idiomatic Ruby to compose and decompose AI Worklows and AI Agents.

Gemfile:
=

install:
=

Versions:

  1. 0.31.1 November 07, 2025 (118 KB)
  2. 0.31.0 November 07, 2025 (117 KB)
  3. 0.30.1 October 26, 2025 (124 KB)
  4. 0.30.0 October 25, 2025 (122 KB)
  5. 0.29.1 October 20, 2025 (155 KB)
Show all versions (65 total)

Runtime Dependencies (12):

anthropic ~> 1.5.0
async ~> 2.29
dry-logger ~> 1.0
dspy-schema ~> 1.0.0
gemini-ai ~> 4.3
informers ~> 1.2
openai ~> 0.22.0
sorbet-baml ~> 0.1
sorbet-schema ~> 0.3

Owners:

Pushed by:

Authors:

  • Vicente Reig Rincón de Arellano

SHA 256 checksum:

=

Total downloads 18,653

For this version 229

Version Released:

License:

MIT

Required Ruby Version: >= 3.3.0

Links: