Skip to Main Content

Murder Mystery is a multiplayer detective game on Discord where AI suspects have memory you can govern. Teams play the same case at the same time, interrogating voiced suspects in their own words, presenting evidence to break their stories, following leads, and making one accusation to solve the case. Each team plays in its own copy of the world, so what one team uncovers changes only its own suspects. Ask the butler the same question from two teams and you'll hear the same voice tell two different stories. A murder mystery is a game about who knows what, and that's exactly where AI characters fail: they leak the killer, forget their alibi, or confess because you asked nicely. We treated each of those as a memory problem and solved it in MongoDB Atlas, not in the prompt. Every memory belongs to one team and lists which suspects know it, and every vector search is filtered by those rules, so a suspect can't reveal what it was never allowed to retrieve. Memories are never edited. When a witness recants, the old memory is superseded in a transaction with its history and an audit trail kept, and any lead it supported stops working immediately. Rumours expire on their own, and confessions are only possible once a suspect's story has actually been broken. Every reply is recorded as a trace of the memories behind it, and every action is checked against current memory before it runs, so you can see that changing a memory changed the suspect's behaviour. Built with MongoDB Atlas and Atlas Vector Search, Voyage AI embeddings, a Gemini-powered agent built for Atlas Agent Engine, discord.py, and ElevenLabs voices.

Team

Omar221chloeeweifiras_aj+1

More from Agents in Context Toronto: a MongoDB Hackathon

We simulate real world agent to agent systems built on MongoDB, Langchain (harnesses) ready for use in production to defend all systems. A swarm of real AI…

Legacy Siege project preview

suture is an incident-recovery agent that finishes the job even when its worker crashes mid-run. Cleaning up a leaked key takes a chain of writes across…

suture project preview

Venues play one playlist for everyone, and the apps that let guests shape the music keep their likes on view with no easy way to take them back. Musory: your…

Musory project preview

Robots are starting to learn from people, and fleets can share what one robot learns with every other robot. Nobody can yet answer three questions: who taught…

One Lesson project preview

Phylax Tower is a safety net for airport control towers. In March 2026 at LaGuardia, a jet was cleared to land, and two minutes later a fire truck was cleared…

Phylax Tower project preview

New hires hit the ground at light speed. New devs lose their first days juggling broken setup guides, each solving the same problems alone. Day One finishes…

Day One project preview