vicentereig/dspy.rb

The Ruby framework for programming—rather than prompting—language models.

51
/ 100
Established

Combines Sorbet type safety with composable modules (Predict, ChainOfThought, ReAct) that eliminate manual prompt engineering and JSON parsing. Supports OpenAI, Anthropic, Gemini, Ollama, and OpenRouter via a unified `DSPy::LM` abstraction, with optional optimization gems (MIPROv2, GEPA) for automated prompt tuning and production observability via OpenTelemetry/Langfuse.

208 stars.

No Package No Dependents
Maintenance 13 / 25
Adoption 10 / 25
Maturity 16 / 25
Community 12 / 25

How are scores calculated?

Stars

208

Forks

16

Language

Ruby

License

Last pushed

Mar 07, 2026

Commits (30d)

0

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/llm-tools/vicentereig/dspy.rb"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.