Expand description
RLM turn loop — paper Algorithm 1 driven over a long-lived Python subprocess + stdin/stdout RPC bridge (no HTTP sidecar).
Structs§
- RlmRound
Trace - Per-round trace entry. Surfaced in the tool result so the user can see exactly what the sub-agent did.
- RlmTurn
Result - Result of an RLM turn.
Enums§
- RlmTermination
- How an RLM turn ended.
Functions§
- run_
rlm_ turn - Run a full RLM turn.
promptis loaded into the REPL ascontext; it never enters the root LLM’s window. - run_
rlm_ turn_ with_ root - Variant that also passes a small
root_prompt(the user-facing task) shown to the root LLM each iteration so it remembers its objective.