{
  "id": 589,
  "kind": "code",
  "title": "Recursive Language Models",
  "summary": "Replaces llm.completion with rlm.completion: the prompt lives in a CodeAct-style REPL that the model can inspect, decompose, and recurse into via sub-(R)LM calls. Paper arXiv 2512.24601: process inputs up to two orders of magnitude beyond the base context window. pip install rlms. Sandboxes: local, ipython, docker, modal, prime, daytona, e2b. Training via verifiers + prime-rl (OOLONG example). Maintained by the paper authors at MIT OASYS. MIT license.",
  "body": "",
  "notes": "Primary: GitHub README + API (MIT, Python, 5467 stars / 885 forks at check). Paper arXiv 2512.24601 (Zhang/Kraska/Khattab). Docs https://alexzhang13.github.io/rlm/. Discord posted the repo. Inference/training library, not a new hosted corpus, so no datasets_local row.",
  "url": "https://github.com/alexzhang13/rlm",
  "links": [],
  "authors": [
    "Alex L. Zhang",
    "Tim Kraska",
    "Omar Khattab"
  ],
  "tags": [
    "rlm",
    "recursive-language-models",
    "long-context",
    "codeact",
    "mit",
    "oasys",
    "repl"
  ],
  "topics": "long-context inference, recursive LM calls, agent harnesses",
  "venue": "MIT OASYS (GitHub)",
  "publisher": "",
  "source": "github",
  "language": "",
  "access": "free",
  "license": "MIT",
  "published_year": 2025,
  "added_at": "2026-08-14T18:28:00.000Z",
  "verified_at": "2026-08-14T18:28:00.000Z",
  "attrs": {
    "scale": "5,467 stars; 885 forks at check. Python ≥3.11. Paper: arbitrarily long prompts vs standard context windows.",
    "purpose": "Inference engine (and training env) that treats long prompts as a REPL variable and recursively calls sub-LMs",
    "time_period": "GitHub created 2025-12-20; updated 2026-08-14. Discord posted 2026-05-27. Paper arXiv 2512.24601 v1 2025-12-31 / v3 2026-05-11."
  },
  "enrichment": {
    "github": {
      "forks": 909,
      "stars": 5657,
      "pushed": "2026-09-24",
      "created": "2025-12-20",
      "license": "MIT",
      "archived": false,
      "language": "Python",
      "full_name": "alexzhang13/rlm",
      "fetched_at": "2026-10-03T14:33:36.665Z"
    }
  },
  "enriched_at": "2026-10-03T14:33:36.717Z",
  "license_class": "permissive",
  "langs": [],
  "modalities": [],
  "size_class": null,
  "provenance": {
    "channel": "random-papers",
    "legacy_paper_id": "608",
    "pipeline_status": "done",
    "research_status": "done"
  },
  "visibility": "public",
  "status": "active",
  "duplicate_of": null,
  "origin": "legacy",
  "created_at": "2026-10-03T12:29:06.561Z",
  "updated_at": "2026-10-03T14:33:36.717Z",
  "page": "https://papers.projxon.ai/entries/589",
  "markdown": "https://papers.projxon.ai/entries/589.md",
  "api": "https://papers.projxon.ai/api/entries/589",
  "relations": [
    {
      "relation": "about",
      "direction": "in",
      "note": "",
      "via": "manual",
      "entry": {
        "id": 1208,
        "kind": "note",
        "title": "Long context: three bets and a weak spot in evaluation (overview)",
        "summary": "An overview of the 33 entries on long-context modelling: cheaper attention, memory beside attention, and managing context from outside, plus what the benchmarks do and do not show. Written by Claude Opus 5.5.",
        "url": "",
        "authors": [
          "Claude Opus 5.5"
        ],
        "tags": [
          "synthesis",
          "ai-written",
          "long-context"
        ],
        "venue": "",
        "source": "",
        "license": "",
        "published_year": null,
        "added_at": "2026-10-03T15:08:53.361Z",
        "has_dataset_profile": false,
        "license_class": "unknown",
        "langs": [],
        "modalities": [],
        "size_class": null,
        "citation_count": null,
        "downloads": null,
        "stars": null,
        "page": "https://papers.projxon.ai/entries/1208",
        "markdown": "https://papers.projxon.ai/entries/1208.md",
        "api": "https://papers.projxon.ai/api/entries/1208"
      }
    }
  ],
  "duplicates": [],
  "similar": [
    {
      "id": 1072,
      "kind": "paper",
      "title": "Harness as a Language: A Minimalist Agent Framework With Maximal Expressivity",
      "summary": "MIT CSAIL paper (Li/Liu et al.; arXiv 2609.26891v1) introduces JAZ: an agent framework whose sole LLM primitive is invoke — the model writes arbitrary executable code (including recursive invoke) while all inputs and REPL history are REPL variables. With prompting only (no external memory/tools/file system), JAZ beats Letta (MemGPT) by ~8% at half cost on StuLife far-recall (69.9% vs 61.8% pass; $18.3 vs $42.1) and beats ACE by ~4% at lower cost on AppWorld continual self-improvement (TGC 74.2% vs 69.9%). Hooks (budget, return-type, context-window warning, tracing) and dynamic scope add constraints without bloating the core loop. Code: jaz-lang/jaz + jaz-evals.",
      "url": "https://arxiv.org/abs/2609.26891",
      "authors": [
        "Zhening Li",
        "Joshua Liu",
        "Mateja Vukelic",
        "Nicole Shen",
        "Supriya Lall",
        "Amitayush Thakur",
        "Alex Zhang",
        "Omar Khattab",
        "Jonathan Light",
        "Armando Solar-Lezama"
      ],
      "tags": [
        "jaz",
        "invoke",
        "agent-harness",
        "code-mode",
        "codeact",
        "rlm",
        "long-horizon",
        "stulife",
        "memgpt",
        "letta",
        "appworld",
        "ace",
        "self-improvement",
        "mit-csail",
        "solar-lezama",
        "khattab",
        "omarsar0",
        "arxiv-2609.26891"
      ],
      "venue": "arXiv / MIT CSAIL",
      "source": "arxiv",
      "license": "arXiv perpetual non-exclusive license 1.0; code github.com/jaz-lang/jaz (public)",
      "published_year": 2026,
      "added_at": "2026-09-26T15:18:00.000Z",
      "has_dataset_profile": false,
      "license_class": "other",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": 0,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/1072",
      "markdown": "https://papers.projxon.ai/entries/1072.md",
      "api": "https://papers.projxon.ai/api/entries/1072"
    },
    {
      "id": 1100,
      "kind": "post",
      "title": "Reinforcing Recursive Language Models",
      "summary": "alphaXiv blog (2026-05-13) by Daniel Kim and Rehaan Ahmad. RL-fine-tunes Qwen3.5-4B to act as native recursive language models (RLMs) in a Python REPL that can spawn child RLMs via rlm_query. Single shared policy: child rollouts inherit parent GRPO advantages (normalized by child count). Cold-start SFT from Qwen3.5-397B-A17B teacher traces, then RL with rubric LLM judges on synthetic multi-paper evidence selection (~1000 queries, up to 10 papers). Reports eval rubric scores competitive with Claude Sonnet 4.6 under the same RLM harness at ~7s vs >60s wall-clock. Training configs/RLM env live in NovaSky-AI/SkyRL.",
      "url": "https://www.alphaxiv.org/blog/reinforcement-learning-for-rlms",
      "authors": [
        "Daniel Kim",
        "Rehaan Ahmad"
      ],
      "tags": [
        "rlm",
        "recursive-language-models",
        "grpo",
        "skyrl",
        "alphaxiv",
        "evidence-selection",
        "qwen3.5-4b",
        "repl-agent",
        "vendor-blog"
      ],
      "venue": "alphaXiv",
      "source": "web",
      "license": "",
      "published_year": null,
      "added_at": "2026-09-01T19:22:00.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": null,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/1100",
      "markdown": "https://papers.projxon.ai/entries/1100.md",
      "api": "https://papers.projxon.ai/api/entries/1100"
    },
    {
      "id": 1077,
      "kind": "model",
      "title": "Naive-N0.5-Flash: Building Frontier AI with AI",
      "summary": "NaiveAI open-weight 309B MoE (15.5B active; 48 layers) built via AI-centered R&D on MiMo-V2.5. Hybrid SWA (128-token window) + DeepSeek Sparse Attention (DSA top-2048, GQA4) with no full-attention layers; native 1M context. Continued pretraining 3.25T tokens (indexer warmup 50B + sparse CPT 3T + decay/SFT 200B). NaiveRT inference (mega-kernel fusion, PDL, speculative decoding) claims ~50 tok/s Standard and up to ~2,000–2,122 tok/s Ultrafast on 8 GPUs. Weights + inference code MIT; HF NaiveAI/Naive-N0.5-Flash (+ FP8); API pricing $0.10/$0.40/$0.01 per M input/output/cache-read. Strong coding / agent / AutoResearch evals (SWE-Bench Pro, Terminal-Bench, PaperBench, etc.).",
      "url": "https://huggingface.co/NaiveAI/Naive-N0.5-Flash",
      "authors": [
        "NaiveAI Team"
      ],
      "tags": [
        "moe",
        "naive-ai",
        "open-weights",
        "mit",
        "coding",
        "long-context"
      ],
      "venue": "NaiveAI",
      "source": "huggingface",
      "license": "MIT",
      "published_year": 2026,
      "added_at": "2026-09-28T00:40:50.000Z",
      "has_dataset_profile": false,
      "license_class": "permissive",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": null,
      "downloads": 1497,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/1077",
      "markdown": "https://papers.projxon.ai/entries/1077.md",
      "api": "https://papers.projxon.ai/api/entries/1077"
    },
    {
      "id": 821,
      "kind": "paper",
      "title": "LongHarness Bench: Stress-Testing Language Model Harnesses for Long-Context Reasoning",
      "summary": "A benchmark evaluating both the effectiveness and efficiency of long-context LM harnesses (RLMs, ReAct, mini-swe-agent-style coding agents). Existing long-context evaluations are saturated across harnesses, so the four hard tasks require strategic/efficient reasoning (multiple valid strategies with very different costs), hard retrieval (both GREP and semantic), and extensive multi-step reasoning. Example: Constraint Solving asks for every person satisfying 5 conditions scattered across documents; checking the most selective condition first narrows candidates far more cheaply than checking every condition. 5 frontier LMs x 4 agentic harnesses: best setup reaches only 68% macro-average accuracy and no single harness leads across all tasks. Clear accuracy gaps, plus >10x efficiency differences even with the same LM and similar accuracy: more compute does not always mean better accuracy. mini-swe-agent is especially strong, reaching the best performance at a cost close to direct inference. Establishes efficiency as an axis for long-context evaluation and provides a testbed for harnesses that process context strategically rather than exhaustively.",
      "url": "https://arxiv.org/abs/2609.38137",
      "authors": [
        "Quang Hieu Pham",
        "Thuy Duong Nguyen",
        "Jocelyn Qiaochu Chen",
        "Xi Ye"
      ],
      "tags": [
        "long-context",
        "harnesses",
        "agents",
        "benchmarks",
        "efficiency",
        "retrieval"
      ],
      "venue": "arXiv (2026-09-29), cs.CL; CC BY 4.0",
      "source": "paper",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-09-30T00:00:00.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": 0,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/821",
      "markdown": "https://papers.projxon.ai/entries/821.md",
      "api": "https://papers.projxon.ai/api/entries/821"
    },
    {
      "id": 793,
      "kind": "paper",
      "title": "Context Language Models",
      "summary": "Introduces Context Language Models (CLMs): language models that natively manage their own context by treating the context as a file and allowing unrestricted updates to it, letting the model learn what is most important to maintain in context and naturally extending to multi-agent systems where multiple agent contexts coexist as files. Building CLMs zero-shot with existing models outperforms SOTA context-management strategies: 11.4% higher accuracy with 21.5% fewer FLOPs on BrowseComp-Plus, 5% higher scores with 59% fewer FLOPs on 12-hour EdgeBench, and 65% greater improvement with the same compute on a 24-hour multi-repository agent-swarm task. Shifting context management from external harness control to intrinsic model behavior enables both in-context and parametric learning of context-management strategies: steering CLMs with natural-language instructions evolved through a skill-optimization loop improves held-out accuracy by up to 35.9 points while reducing compute. An online RL method for CLMs improves Qwen3.5-9B on BrowseComp-Plus by 47.6% while using 12% fewer FLOPs. Co-designed Suffix Cache Reuse for CLM serving further cuts server-side compute by 35% relative to standard SGLang at matched performance.",
      "url": "https://arxiv.org/abs/2609.37725",
      "authors": [
        "Rulin Shao",
        "Shannon Zejiang Shen",
        "Junjie Oscar Yin",
        "Yuetai Li",
        "Minheng Wang",
        "Hamish Ivison",
        "Radha Poovendran",
        "Nathan Lambert",
        "Teng Xiao",
        "Mike Lewis",
        "Wen-tau Yih",
        "Luke Zettlemoyer",
        "Pang Wei Koh"
      ],
      "tags": [
        "agents",
        "long-context",
        "context-management",
        "rl",
        "multi-agent",
        "inference",
        "caching"
      ],
      "venue": "arXiv",
      "source": "arxiv",
      "license": "CC-BY-4.0",
      "published_year": 2026,
      "added_at": "2026-09-30T00:00:00.000Z",
      "has_dataset_profile": false,
      "license_class": "permissive",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": 0,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/793",
      "markdown": "https://papers.projxon.ai/entries/793.md",
      "api": "https://papers.projxon.ai/api/entries/793"
    },
    {
      "id": 1090,
      "kind": "paper",
      "title": "Pokee-Isaac 28B: A 10M-Token Context Efficient Agentic Model Technical Report",
      "summary": "Vendor technical report for Pokee-Isaac 28B, a non-decoder-only model partly fine-tuned from Apache-2.0 Qwen3.6-27B. Reports near-flat RULER retrieval through 10M tokens (93.3% at 10M), MRCR-v2 0.500 at 1M, BFCL-v4 70.94, Tau3 mean 0.662, MCP-Atlas 74.59% claim coverage, and 56/86 (65.1%) on the text-compatible Terminal-Bench 2.1 subset. A single B200-class GPU reportedly reaches 137.2K-token/s prefill and 337-token/s decode at 10M context. DTAP Linux-Docker results report 35.6% combined attack success and 82.5% benign success. The report positions in-boundary VPC/on-prem/on-device deployment as the main benefit.",
      "url": "https://console.pokee.ai/pokee-isaac-28b-v0-technical-report.pdf",
      "authors": [
        "Zheqing Zhu",
        "Christopher Wu",
        "Yi Wan",
        "Yiqing Cai",
        "Qiwei He",
        "Ruihao Zhu",
        "Chang Zen Tee",
        "Lexin Chen",
        "Pu Thavikulwat",
        "Jared Ee"
      ],
      "tags": [
        "pokee-isaac",
        "long-context",
        "10m-context",
        "agentic",
        "tool-use",
        "single-gpu",
        "ruler",
        "terminal-bench",
        "mcp-atlas"
      ],
      "venue": "Pokee AI",
      "source": "pdf",
      "license": "",
      "published_year": null,
      "added_at": "2026-09-01T16:24:55.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": null,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/1090",
      "markdown": "https://papers.projxon.ai/entries/1090.md",
      "api": "https://papers.projxon.ai/api/entries/1090"
    }
  ]
}
