# StopLine

- **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:** [Affan Yasir](https://cerebralvalley.ai/u/ALY)
- **GitHub:** https://github.com/Aly700/stopline
- **Demo video:** https://www.youtube.com/watch?v=2440YfUVDkE
- **Gallery:** https://cerebralvalley.ai/e/mongodb-toronto-hackathon/hackathon/gallery
- **Page:** https://cerebralvalley.ai/e/mongodb-toronto-hackathon/hackathon/gallery/65

StopLine stops a tree of AI agents mid-run and accounts for every action it had already started.

A stop flag fails in a simple way: a worker reads the flag, then acts after someone pressed stop, and nothing records what was already on its way. StopLine puts one check in MongoDB Atlas in front of every agent action. Permission is data: who granted it, to whom, for which tools and targets, with what limits. A repair agent hands narrower permissions to its workers, and each action is checked and recorded in one transaction.

Stop revokes a permission and everything handed down from it, cancels work that was allowed but not yet sent, and writes a receipt listing every action already started. It then asks each target system about anything that was sent and has no answer: if it never arrived it is fenced there so a late send is refused, and if the target cannot be reached it stays "unknown". The receipt closes only on evidence from the target.

The agents act on a real Kubernetes cluster and a traffic router. Measured over 43 stop schedules, a stop flag let an action start after the stop in 20; StopLine in 0. A live Deep Agents repair agent runs through the same check, a reviewer's report rebuilds any run from the stored records, and a reviewer can ask the audit trail questions in plain words.

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

- [Membrane](https://cerebralvalley.ai/e/mongodb-toronto-hackathon/hackathon/gallery/62)
- [GhostShift](https://cerebralvalley.ai/e/mongodb-toronto-hackathon/hackathon/gallery/63)
- [Mandela Logan](https://cerebralvalley.ai/e/mongodb-toronto-hackathon/hackathon/gallery/64)
- [MemoryBank](https://cerebralvalley.ai/e/mongodb-toronto-hackathon/hackathon/gallery/66)
- [StockFighter](https://cerebralvalley.ai/e/mongodb-toronto-hackathon/hackathon/gallery/67)
- [Second-Voice](https://cerebralvalley.ai/e/mongodb-toronto-hackathon/hackathon/gallery/68)

---

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