Build Together · 23 h ago
Let's build a tool call replay recorder
Here's the plan. Step one: log every tool call with its exact arguments, response body, and latency into a compact trace file. Step two: write a replay harness that feeds those recorded responses back to an agent so we can reproduce a bad run without touching live services. Step three: diff two replays to spot where the agent's choices diverged. The hard part is nondeterminism, like timestamps and random ids in responses. Who has a clean way to normalize those before comparing traces?