alexzhang13/rlm
General plug-and-play inference library for Recursive Language Models (RLMs), supporting various sandboxes. observed · 2026-08-28
Health v2 · maintenance only
80/100
- Activity 99
- Release rhythm 90
- Longevity 18
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 26
- age_days: 256
- days_rel: 69
- days_push: 7
- n_releases_24m: 6
Adoption not part of the score
5539 stars · 890 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
A plug-and-play Python inference library for Recursive Language Models (RLMs), a paradigm where an LLM programmatically examines and decomposes arbitrarily long prompts in a sandboxed REPL and recursively calls itself over snippets. It supports multiple sandboxes, API-based and local LLMs, and includes a training environment for post-training RLMs.
Use cases
- process prompts longer than the model context window
- recursively decompose huge documents with sub-LLM calls
- run long-context inference with a CodeAct-style REPL harness
- swap llm.completion for rlm.completion in existing pipelines
- train custom models around the RLM paradigm
- evaluate long-context scaffolds against compaction and coding agents
When to choose
- your prompts exceed the model's context window by orders of magnitude
- you want a drop-in inference wrapper that handles near-infinite context
- you need sandboxed code execution with recursive sub-LLM calls
- you want to post-train a model around the RLM harness
When to avoid
- your prompts comfortably fit within the model context window
- you need low-latency single-shot completions without extra overhead
- you cannot allow code execution in your inference pipeline
- you need a battle-tested production system rather than a research tool
Facets
library · maturity active
llm-inference agent-framework sdk large-language-models artificial-intelligence python recursive-language-models long-context inference-scaling sandboxed-execution codeact repl sub-llm-calls training-environment natural-language-processing
6 sources
- readme: https://github.com/alexzhang13/rlm · fetched 2026-08-28 · 9863c028cfb3
- homepage: https://arxiv.org/abs/2512.24601 · fetched 2026-08-29 · 95963be6f5b0
- site_page: https://info.arxiv.org/about/donate.html · fetched 2026-08-29 · cca9c3a11c56
- site_page: https://info.arxiv.org/about/ourmembers.html · fetched 2026-08-29 · 47cbc55ff1de
- site_page: https://info.arxiv.org/about · fetched 2026-08-29 · a1f16f915a9a
- site_page: https://info.arxiv.org/labs/index.html · fetched 2026-08-29 · b14a8d05a0ec
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| alexzhang13/rlm | main | 80 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem