# Downshift

- **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:** [Vaibhav Chaudhari](https://cerebralvalley.ai/u/vaibhavchaudhari), [Chetan Kodeboyina](https://cerebralvalley.ai/u/ck3)
- **GitHub:** https://github.com/chaudharivaibhav12/DownShift
- **Demo video:** https://youtu.be/owtzVBWgo04
- **Gallery:** https://cerebralvalley.ai/e/mongodb-nyc-hackathon/hackathon/gallery
- **Page:** https://cerebralvalley.ai/e/mongodb-nyc-hackathon/hackathon/gallery/38

Here's a description you can paste straight into the form:

Downshift is a self-improving harness for data questions on MongoDB Atlas. The first time a new kind of question arrives, a frontier model (Claude Sonnet 4) writes the aggregation pipeline, answers it, then generalizes it into a skill: a template with typed parameters and its own test questions. A promotion gate only makes the skill live if a cheap 8B model (Llama 3.1) can use it correctly. If it fails, the frontier reflects on the passing and failing traces and rewrites the skill. From then on the cheap model answers that kind of question, protected by code guardrails: typed and grounded parameters, date checks and read-only pipelines.

When the schema changes, an Atlas change stream flags every affected skill. The frontier rewrites each one, and it only ships if every stored answer is identical.

Results on held-out questions: 100% accuracy at $0.003 per question including learning, vs 37% for the cheap model alone. After a skill exists, answers cost about $0.00002 and take under a second. A field rename across 5,000 documents was repaired automatically, with 21/21 answers identical. Skills, ledger, events, schema versions and repairs all live in MongoDB.

## More from The Harness Engineering & Model Wrangling Hackathon

- [Proxy Harness](https://cerebralvalley.ai/e/mongodb-nyc-hackathon/hackathon/gallery/35)
- [Ninja Attack](https://cerebralvalley.ai/e/mongodb-nyc-hackathon/hackathon/gallery/36)
- [Kiara](https://cerebralvalley.ai/e/mongodb-nyc-hackathon/hackathon/gallery/37)
- [Tony](https://cerebralvalley.ai/e/mongodb-nyc-hackathon/hackathon/gallery/39)
- [SpaceExplore](https://cerebralvalley.ai/e/mongodb-nyc-hackathon/hackathon/gallery/40)
- [Context Plane](https://cerebralvalley.ai/e/mongodb-nyc-hackathon/hackathon/gallery/41)

---

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