Learning in Drublic

No BS AI development: practical Ruby tutorials that actually work.

Features 4 min read

Program Persistence And Serialization

DSPy.rb v0.20.0 introduces comprehensive program serialization and storage capabilities, allowing you to save, load, and share optimized DSPy programs with full state preservation.

V

Vicente Reig

Fractional Engineering Lead

Features 4 min read

Introducing Google Gemini Support

DSPy.rb v0.20.0 introduces full Google Gemini support, bringing Google's state-of-the-art multimodal AI capabilities to Ruby developers with complete type safety and structured outputs.

V

Vicente Reig

Fractional Engineering Lead

Features 3 min read

Fiber Local Lm Contexts

DSPy.rb v0.20.0 introduces DSPy.with_lm for elegant temporary language model overrides using Ruby's fiber-local storage, enabling clean concurrent patterns and better model management.

V

Vicente Reig

Fractional Engineering Lead

Features 2 min read

Run Llms Locally With Ollama And Type Safe Ruby

DSPy.rb now supports Ollama, bringing type-safe structured outputs to local LLM development. Learn how to build cost-effective AI applications with zero API charges during development.

V

Vicente Reig

Fractional Engineering Lead

Article

Raw Chat API for Benchmarking and Migration

Learn how to use DSPy.rb's raw_chat API for benchmarking monolithic prompts and migrating to modular implementations

D

Vicente Reig

Fractional Engineering Lead

Article

Union Types Agentic Workflows

How DSPy.rb's single-field union types with automatic type detection simplify AI agent development

D

Vicente Reig

Fractional Engineering Lead

Research 12 min read

Program of Thought: The Missing Link Between Reasoning and Code

Deep dive into Program of Thought (PoT) - a powerful approach that separates reasoning from computation. Compare it with CodeAct and ChainOfThought to find the right tool for your AI applications.

V

Vicente Reig

Fractional Engineering Lead

Tutorial 12 min read

Building Your First ReAct Agent in Ruby

Step-by-step guide to creating tool-using AI agents with DSPy.rb. Learn how to build agents that can reason about their actions and solve complex multi-step problems.

V

Vicente Reig

Fractional Engineering Lead

Features 10 min read

CodeAct: When Your AI Writes Ruby Code

Deep dive into DSPy.rb's unique CodeAct module for dynamic code generation. Discover how to build AI agents that write their own Ruby code to solve problems.

V

Vicente Reig

Fractional Engineering Lead

Design 8 min read

Building Ruby-Idiomatic AI Applications with DSPy.rb

How DSPy.rb embraces Ruby conventions to make AI development feel natural. Learn about the design decisions that make DSPy.rb uniquely Ruby.

V

Vicente Reig

Fractional Engineering Lead