Educational tool for understanding Recursive Language Models
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.
Install uv (Python package manager):
curl -LsSf https://astral.sh/uv/install.sh | shInstall pnpm (Node.js package manager):
npm install -g pnpmmake installmake startThis starts both servers:
- Backend: http://localhost:8000
- Frontend: http://localhost:3000
| 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.
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