Recursive Language Models: A graph approach
GitHub · PyPI · Examples · Changelog pip install rlmflow tldr rlmflow turns Recursive Language Models into inspectable execution graphs. It’s a Python library for writing RLM agents where every query, action, observation, delegation, wait, resume, and result is a typed, immutable Pydantic node, and a run is just the tree of those snapshots. The whole engine is one transition: step(node) → node'. The trace and the execution are the same data structure — there is no separate “tracing mode” to enable — so the same run renders as a Rich live tree, a Mermaid diagram, a Gantt swimlane, or a Gradio step-through viewer, all from one-line projections of the graph. ...