recursive-flow: recursive agents as graphs
GitHub · PyPI · Examples · pip install recursive-flow In this post tldr Introduction RLMs as graphs recursive-flow internals Spawning recursive agents Inputs, context, and run persistence Recursive Coding Agent Boids Simulation Recursive autoresearcher Injection and graph surgery Extra features Visualization and exports Structured output Drop-in integrations DSPy integration Conclusion Acknowledgements Citation References tldr recursive-flow is a Python library for building recursive agent graphs. It grows out of the Recursive Language Model interface — a model in a REPL, long inputs as ordinary Python data, and await launch_subagents([...]) for delegation — but the goal is broader than wrapping RLMs. The library turns recursive agent execution into a live Graph: every query, action, observation, child call, wait, resume, and result is a typed node. ...