RLM.rb is a Ruby runtime spine for Recursive Language Models. It runs bounded, typed, auditable AI jobs over files, records, and application context. RLM.rb includes RubyLLM provider access, a dspy.rb signature adapter, the recursive prompt loop, file/context mounting, recursive sub-LM calls, typed final output, budget controls, trace events, and a best-effort trace_store hook.
Required Ruby Version
>= 3.3.0
Authors
David Paluy