# rekurse

- **Event:** [The Harness Engineering & Model Wrangling Hackathon](https://cerebralvalley.ai/e/mongodb-nyc-hackathon)
- **When:** Sat, Sep 26 at 9:00 AM – 10:00 PM (EDT)
- **Where:** New York, NY
- **Team:** [Lingzi Zhou](https://cerebralvalley.ai/u/Lingzi), [Harry Hong](https://cerebralvalley.ai/u/HarryH), [Yvonne Shui](https://cerebralvalley.ai/u/a_boat_on_water), [Sabrina Yang](https://cerebralvalley.ai/u/sabyangds)
- **GitHub:** https://github.com/a-boat-on-water/rekurse
- **Demo video:** https://www.youtube.com/watch?v=Rma36ldVMWQ
- **Gallery:** https://cerebralvalley.ai/e/mongodb-nyc-hackathon/hackathon/gallery
- **Page:** https://cerebralvalley.ai/e/mongodb-nyc-hackathon/hackathon/gallery/87

Rekurse helps coding agents avoid repeating the same failed approach.

When an agent gets stuck, Rekurse records the session and creates checkpoints before each user message. It replays the session from earlier checkpoints, with and without candidate lessons, to find where the agent stops recovering on its own. A lesson is stored only after it improves recovery against a fresh baseline and is validated on a different task.

MongoDB Atlas is the system of record for sessions, checkpoints, replay results, lessons, and final reports. Atlas Vector Search detects duplicate lessons so memory stays compact as the system learns over time.

Instead of treating every agent reflection as truth, Rekurse turns memory into a measurable hypothesis: replay it, compare outcomes, validate it on new work, then adopt or reject it.

## More from The Harness Engineering & Model Wrangling Hackathon

- [DDN](https://cerebralvalley.ai/e/mongodb-nyc-hackathon/hackathon/gallery/84)
- [satyam](https://cerebralvalley.ai/e/mongodb-nyc-hackathon/hackathon/gallery/85)
- [Flake](https://cerebralvalley.ai/e/mongodb-nyc-hackathon/hackathon/gallery/86)
- [Jia Labs](https://cerebralvalley.ai/e/mongodb-nyc-hackathon/hackathon/gallery/88)
- [Wrasse](https://cerebralvalley.ai/e/mongodb-nyc-hackathon/hackathon/gallery/89)
- [Reconcile](https://cerebralvalley.ai/e/mongodb-nyc-hackathon/hackathon/gallery/90)

---

Markdown version of https://cerebralvalley.ai/e/mongodb-nyc-hackathon/hackathon/gallery/87. Site index for agents: https://cerebralvalley.ai/llms.txt · full text: https://cerebralvalley.ai/llms-full.txt
