Multi-agent chatbot murder mystery
ai-murder-mystery.onrender.com
Multi-agent chatbot murder mystery
1–10 of 135 posts
Re: Multi-agent chatbot murder mystery
#2The game involves chatting with different suspects who are each hiding a secret about the case. The objective is to deduce who actually killed the victim and how. I placed clues about suspects’ secrets in the context windows of other suspects, so you should ask suspects about each other to solve the crime.
The suspects are instructed to never confess their crimes, but their secrets are still in their context window. We had to implement a special prompt refinement system that works behind-the-scenes to keep conversations on-track and prohibit suspects from accidentally confessing information they should be hiding.
We use a Critique & Revision approach where every message generated from a suspect first gets fed into a "violation bot" checker, checking if any Principles are violated in the response (e.g., confessing to murder). Then, if a Principle is found to be violated, the explanation regarding this violation, along with the original output message, are fed to a separate "refinement bot" which refines the text to avoid such violations. There are global and suspect-specific Principles to further fine-tune this process. There are some additional tricks too, such as distinct personality, secret, and violation contexts for each suspect and prepending all user inputs with "Detective Sheerluck: "
The entire project is open-sourced here on github: https://github.com/ironman5366/ai-murder-mystery-hackathon
If you are curious, here's the massive json file containing the full story and the secrets for each suspect (spoilers obviously): https://github.com/ironman5366/ai-murder-mystery-hackathon/b...
Re: Multi-agent chatbot murder mystery
#3I wish I had time to play with this right now. Good job!
Re: Multi-agent chatbot murder mystery
#4Sharing a little open-source game where you interrogate suspects in an AI murder mystery. As long as it doesn't cost me too much from the Anthropic API I'm happy to host it for free (no account needed). The game involves chatting with different suspects who are each hiding a secret about the case. The objective is to deduce who actually killed the victim and how. I placed clues about suspects’ secrets in the context…
Watch this like a hawk while it's up on HN.
Re: Multi-agent chatbot murder mystery
#5Sharing a little open-source game where you interrogate suspects in an AI murder mystery. As long as it doesn't cost me too much from the Anthropic API I'm happy to host it for free (no account needed). The game involves chatting with different suspects who are each hiding a secret about the case. The objective is to deduce who actually killed the victim and how. I placed clues about suspects’ secrets in the context…
Re: Multi-agent chatbot murder mystery
#6Considered spinning this off into a service where user can create their own murder mysteries for others to play?
Re: Multi-agent chatbot murder mystery
#7Did you submit this to the Anthropic hackathon? Seems like a nice candidate!
You've still got a few hours to submit if you haven't done so already:
https://docs.anthropic.com/en/build-with-claude-contest/over...
Re: Multi-agent chatbot murder mystery
#8Sharing a little open-source game where you interrogate suspects in an AI murder mystery. As long as it doesn't cost me too much from the Anthropic API I'm happy to host it for free (no account needed). The game involves chatting with different suspects who are each hiding a secret about the case. The objective is to deduce who actually killed the victim and how. I placed clues about suspects’ secrets in the context…
Re: Multi-agent chatbot murder mystery
#9Re: Multi-agent chatbot murder mystery
#10Sharing a little open-source game where you interrogate suspects in an AI murder mystery. As long as it doesn't cost me too much from the Anthropic API I'm happy to host it for free (no account needed). The game involves chatting with different suspects who are each hiding a secret about the case. The objective is to deduce who actually killed the victim and how. I placed clues about suspects’ secrets in the context…