- Git clone the repo
git clone https://github.com/ironman5366/ai-murder-mystery-hackathon.git
cd ai-murder-mystery-hackathon
- Add your Anthropic API to api/.env file (optionally can export conversations to postgres with DB_CONN_URL="postgresql://link_to_db_conn")
nano api/.env
export ANTHROPIC_API_KEY="YOUR_API_KEY_HERE"
(<ctrl+x , y, enter> to save changes and exit nano)
- Install Node dependencies
web/npm i
- Start up the api
bash api_start.sh
- In separate terminal, start up the web interface
bash web_start.sh
- Play the game!
You can read the full murder story by checking out web/src/characters.json, which contains the full context provided to each character.
To see how our prompting system works, including our critique and revision approach, check out api/ai.py.
Twitter thread on the game: https://x.com/humanscotti/status/1810777932568399933
AI Alibis was created by Paul Scotti and Will Beddow.