← All libraries
Library
replay-rag
Reasoning-trace memory for o1 / R1-style agents.
What it does
Stores past reasoning traces and splices the winning path into new prompts as scaffolding, so the model skips work it has already done.
Why it exists
Reasoning models burn 10-100x more output tokens than fast models. Most workflows hit the same problem patterns repeatedly and re-derive from scratch every time.
Before / After