A r.uby.dev project.
Welcome
Introduction
Overview
Welcome to the llm.rb deepdive. This document provides a series of guides that explains how to use the llm.rb runtime so you can build capable AI applications on CRuby. This page provides a guide index and explains the pattern that all guides follow.
An optimized version exists at https://r.uby.dev/llm/deepdive that is both easier to read and navigate.
How it works
Each topic file follows a consistent four-part pattern:
#### Overview introduces the concept, #### How it works shows
code, #### Why would I use it? explains the use case, and
#### Notes covers caveats and edge cases.
Why would I use it?
The deepdive documents everything there is to know about llm.rb. It includes the fundamnetals, advanced patterns, configuration options, ORM support, protocol support, and edge cases. It is useful when you need to go beyond the basics.
Notes
The deepdive is a living document. Sections are added as new features land. The README.md is the best place to start if you are new to llm.rb.