Setting Up the Logger
To log RLM execution trajectories, initialize anRLMLogger and pass it to the RLM constructor:
Accessing Logged Trajectories
Trajectories are saved as JSON-lines files in the specified log directory. Each line contains a complete snapshot of one RLM iteration, including:- LM prompts and responses
- Generated code
- Code execution results
- Sub-LM calls
- Metadata