# Precedent

- **Event:** [Agents in Context Toronto: a MongoDB Hackathon](https://cerebralvalley.ai/e/mongodb-toronto-hackathon)
- **When:** Sat, Nov 14 at 9:00 AM – 9:00 PM (EST)
- **Where:** Toronto, Canada
- **Team:** [Gabriel Peralta](https://cerebralvalley.ai/u/ggabe), [Salma Aly](https://cerebralvalley.ai/u/Salmaa), [Ethan T](https://cerebralvalley.ai/u/EthanT)
- **GitHub:** https://github.com/SalmaRoshdy-YG/Hackathon-project
- **Demo video:** https://drive.google.com/file/d/1A6lbDgFuSEM2v0SNRvDCYeMSJzdiVfb9/view?usp=sharing
- **Gallery:** https://cerebralvalley.ai/e/mongodb-toronto-hackathon/hackathon/gallery
- **Page:** https://cerebralvalley.ai/e/mongodb-toronto-hackathon/hackathon/gallery/28

Precedent — Every experiment should make the next one smarter.

What if the next breakthrough in research didn't have to start from scratch?

AI agents can run experiments and discover what works, but those discoveries often remain isolated. When another agent tackles a similar problem, it may repeat failed approaches, overlook useful results, or apply findings under the wrong conditions.

Precedent is a shared, governed research memory that allows AI agents to build on each other's experimental experience.

Rather than simply remembering conversations, Precedent stores structured experimental findings: what was attempted, what happened, under which conditions, and which model checkpoints were produced. Other agents can search this evidence, evaluate whether it applies to their task, and use it to make better decisions.

In our live demonstration, Codex has one four-epoch run to train a ResNet-50 model to reach at least 80% accuracy on unseen handwritten digits. It searches previous experiments through Precedent, identifies a successful checkpoint, avoids a previously unsuccessful approach, and excludes a result from a different image resolution.

A human reviews and approves the proposed plan before execution. Precedent retrieves the saved model weights, runs the experiment, and publishes the new finding back to MongoDB Atlas for the next agent.

In one measured comparison, the scratch baseline achieved 29.2% accuracy, while the checkpoint-assisted run achieved 90.4% on the same 240-image holdout. These figures were measured once.

Precedent turns isolated experiments into shared, reusable evidence—so one agent's discoveries can become another agent's starting point.

## More from Agents in Context Toronto: a MongoDB Hackathon

- [suture](https://cerebralvalley.ai/e/mongodb-toronto-hackathon/hackathon/gallery/25)
- [Yes_chef](https://cerebralvalley.ai/e/mongodb-toronto-hackathon/hackathon/gallery/26)
- [FixLoop](https://cerebralvalley.ai/e/mongodb-toronto-hackathon/hackathon/gallery/27)
- [AWP](https://cerebralvalley.ai/e/mongodb-toronto-hackathon/hackathon/gallery/29)
- [Lore](https://cerebralvalley.ai/e/mongodb-toronto-hackathon/hackathon/gallery/30)
- [ClusterX](https://cerebralvalley.ai/e/mongodb-toronto-hackathon/hackathon/gallery/31)

---

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