Log Viewer
Every run saves a .jsonl log file to logs/. The log captures every step: code generated, output produced, usage stats, and final results across all agents and sub-agents.

Stats (default)
Print a summary of any log file — no extra dependencies required:
Output:
Interactive TUI
For a full interactive viewer with code highlighting, step navigation, and reasoning traces:
Requires Bun
The TUI viewer is built with OpenTUI and requires Bun. Dependencies are installed automatically on first run.
TUI controls
| Key | Action |
|---|---|
Up / Down |
Navigate steps in current run |
Left / Right |
Go to parent / child subagent |
Tab / Shift+Tab |
Next / previous sibling subagent |
H / J |
Scroll code panel up / down |
K / L |
Scroll output panel up / down |
R |
Toggle reasoning trace modal |
O |
Toggle final output modal |
q / Ctrl+C |
Quit |
Programmatic access
The log file path is included in every run() result:
import fast_rlm
result = fast_rlm.run("What is 2+2?")
print(result["log_file"]) # e.g. "./logs/run_2026-02-23T20-33-30-936Z.jsonl"
The log is standard JSONL — each line is a JSON object you can parse with any tool.