Skip to content

namastexlabs/rlm-explained

Repository files navigation


RLM Explained

Educational tool for understanding Recursive Language Models

Paper | Namastex | GitHub

About

This is an educational fork of RLM by Namastex Labs. It helps developers and researchers understand how Recursive Language Models work through an interactive visualizer with support for English, Portuguese, and Spanish.

Prerequisites

Install uv (Python package manager):

curl -LsSf https://astral.sh/uv/install.sh | sh

Install pnpm (Node.js package manager):

npm install -g pnpm

Installation

make install

Running

make start

This starts both servers:

Supported LLM Providers

Provider Backend Key
OpenAI openai
Anthropic anthropic
OpenRouter openrouter
Portkey portkey
LiteLLM litellm

Set your API key as an environment variable (e.g., OPENAI_API_KEY) before running.

Attribution

Based on Recursive Language Models by Alex L. Zhang, Tim Kraska, and Omar Khattab (MIT OASYS Lab).

@misc{zhang2025recursivelanguagemodels,
      title={Recursive Language Models},
      author={Alex L. Zhang and Tim Kraska and Omar Khattab},
      year={2025},
      eprint={2512.24601},
      archivePrefix={arXiv},
      primaryClass={cs.AI},
      url={https://arxiv.org/abs/2512.24601},
}

Educational adaptation by Namastex Labs

About

RLM Explained - Educational tool for understanding Recursive Language Models

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors