Standard RLM
Powerful, but the control flow is generated on the fly.
λ-RLM turns recursive long-context reasoning from improvised agent loops into a typed functional runtime: inspectable plans, bounded leaf calls, and deterministic composition.
λ-RLM keeps the LLM for intelligence, but refuses to let it improvise the entire execution engine.
Powerful, but the control flow is generated on the fly.
A typed functional runtime carries the recursion.
Standard recursive agents often bury the reasoning structure inside generated code. λ-RLM makes the structure first-class: split, solve, compose, inspect.
Flexible, but difficult to bound, test, or reason about.
The global algorithm becomes inspectable; the neural model handles bounded leaves.
The runtime constrains recursion to a small set of typed combinators instead of asking the model to invent entire programs.
The execution plan is visible: SPLIT, MAP, FILTER, REDUCE. That makes it easier to debug and explain.
Bounded leaf calls let the system avoid throwing the whole long-context problem at the model every time.
A visual summary of how λ-RLM moves from free-form recursive code generation to typed recursive reasoning.
Typed recursive long-context reasoning with SPLIT, MAP, FILTER, and REDUCE.
Star the repo, read the paper, and help make long-context agents less chaotic.