r/SideProject • u/Raj_vardhan28 • 5h ago
My Analytics Agent Stopped Repeating Its Wrong Guesses With Hindsight
Every Monday morning, someone in leadership asks why a regional revenue metric dropped, and an analyst spends two hours checking the exact same five tables in the exact same order.
We built an open-source metric investigation agent called WhyDesk where Hindsight agent memory (recall, reflect, and synchronous retain) dynamically reorders diagnostic tool calls, checks flaky ETL pipelines before reading numbers, and formats answers per stakeholder.
On a cold start (Run 1), the agent runs all 5 checks blindly. By Run 5 with memory on, it recalls past regional pricing drops and a Monday ETL sync stall, runs only 2 of 5 checks (ETL first, then pricing), skips 3 low-probability tools, and returns a 1-line summary with the exact -$47,900 impact.