# Crucible

- **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:** [Varesh Patel](https://cerebralvalley.ai/u/HaadesX), [Aparajita Sarkar](https://cerebralvalley.ai/u/aparaxsarkar), [Urvi Desai](https://cerebralvalley.ai/u/urvi), [Sinchana S Arun](https://cerebralvalley.ai/u/SinchanaArun)
- **GitHub:** https://github.com/Haadesx/Crucible
- **Demo video:** https://youtu.be/4N4AHXedQBg
- **Gallery:** https://cerebralvalley.ai/e/mongodb-nyc-hackathon/hackathon/gallery
- **Page:** https://cerebralvalley.ai/e/mongodb-nyc-hackathon/hackathon/gallery/32

AI agents that send emails, read files, and browse the web can be hijacked by prompt injection, where an attacker hides instructions in content the agent reads, and handwritten defenses only stop attacks someone has already thought of. CRUCIBLE solves this with two AIs that train each other. RED, the attacker, generates and mutates attacks that run in a safe sandbox. When one gets through, BLUE, the defender, reads the failure and writes a patch to the rules that decide which tool calls the agent may make. Each patch is replayed against both attacks and normal tasks and is promoted only if it measurably does better on both, so the defense can't win by blocking everything, while RED keeps evolving against the new defense. Every attack, patch, and decision is recorded and can be replayed in our web interface, so each improvement is backed by evidence. The result is a defense that finds its own weaknesses and fixes them before a real attacker does.

## More from The Harness Engineering & Model Wrangling Hackathon

- [emirates](https://cerebralvalley.ai/e/mongodb-nyc-hackathon/hackathon/gallery/29)
- [Second Shift](https://cerebralvalley.ai/e/mongodb-nyc-hackathon/hackathon/gallery/30)
- [Self-Taught Trainer](https://cerebralvalley.ai/e/mongodb-nyc-hackathon/hackathon/gallery/31)
- [LILI](https://cerebralvalley.ai/e/mongodb-nyc-hackathon/hackathon/gallery/33)
- [Bisect](https://cerebralvalley.ai/e/mongodb-nyc-hackathon/hackathon/gallery/34)
- [Proxy Harness](https://cerebralvalley.ai/e/mongodb-nyc-hackathon/hackathon/gallery/35)

---

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