# Membrane

- **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:** [Allwin Paul](https://cerebralvalley.ai/u/stevepaul), [Patricio Pizana](https://cerebralvalley.ai/u/Tico), [Vijval Rallan](https://cerebralvalley.ai/u/rallan-vijval), [Amir Hajianfar](https://cerebralvalley.ai/u/AHajianfar)
- **GitHub:** https://github.com/rallan-vijval/Membrane
- **Demo video:** https://www.loom.com/share/a3f5bf93bd9b4a608a892463c01f5b1e
- **Gallery:** https://cerebralvalley.ai/e/mongodb-toronto-hackathon/hackathon/gallery
- **Page:** https://cerebralvalley.ai/e/mongodb-toronto-hackathon/hackathon/gallery/62

Membrane lets you preview what a new memory will make your AI agent do before the agent is allowed to use it.

Agents with long-term memory pick up new “facts” from notes, screenshots and messages. One badly worded memory, such as “All VIP customers can keep refunded items”, silently changes how the agent handles every later request, and nobody sees it until money has gone out the door.

Membrane puts a checkpoint in front of memory. You upload a source (image, PDF or a text), and Membrane extracts a proposed memory with a scope and a lifetime. It then replays the same saved support requests twice: once with the agent’s current memory and once with the proposed memory added. It compares the tool calls the agent attempts against a fixed refund policy and shows the result as one verdict: Quarantine or Safe to approve. A full breakdown shows every request, tool call and reason.

A memory that breaks policy is quarantined and never reaches the live agent. You can narrow it (for example to one order, one customer and one trusted exception reference) and test again. Only a version that passes its own test can be approved, and approved memories expire after their lifetime and can be revoked at any time.

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

- [memorydock](https://cerebralvalley.ai/e/mongodb-toronto-hackathon/hackathon/gallery/59)
- [Recall.IQ](https://cerebralvalley.ai/e/mongodb-toronto-hackathon/hackathon/gallery/60)
- [ProofGate](https://cerebralvalley.ai/e/mongodb-toronto-hackathon/hackathon/gallery/61)
- [GhostShift](https://cerebralvalley.ai/e/mongodb-toronto-hackathon/hackathon/gallery/63)
- [Mandela Logan](https://cerebralvalley.ai/e/mongodb-toronto-hackathon/hackathon/gallery/64)
- [StopLine](https://cerebralvalley.ai/e/mongodb-toronto-hackathon/hackathon/gallery/65)

---

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