Hacker News·2 min read·medium

Show HN: Voice driven murder mystery, Interview AI suspects with your voice

M
MrRowTheBoat
Show HN: Voice driven murder mystery, Interview AI suspects with your voice
AI Summary

A developer has created a voice-driven murder mystery game that uses OpenAI's real-time voice API to allow users to interrogate AI suspects. The project utilizes Next.js, MongoDB, and Clerk, incorporating a judge model to verify evidence presented by the player.

Hey HN! I'm excited to show off this really fun project I put together. I originally built this project 2-3 years ago, AI was already booming at the time, however voice AI agents were still very early. I loved my proof of concept at the time, but wasn't quite happy with it. I recently had the desire to check out the tech again, and know many of you will be interested. Interviews are speech to speech with OpenAI's gpt-realtime-2.1 over WebRTC. This model is... expensive, and because of that, I have to add some amount of restrictions, conversations are tied to a authenticated Clerk user id. I have also added a 30 minute timer because well, I really don't want to go broke while I sleep tonight. Each suspect has a tool they call when you make a direct accusation. It captures who you accused and a faithful list of the evidence you actually stated. A separate gpt-5-mini judge then decides which of the case's required evidence facts you genuinely presented. Paraphrasing counts, vague suspicion and fishing don't. The rest is Next.js, MongoDB, and Clerk. Let me know whether the suspects hold up under a real interrogation.

Continue reading on Headlinne

Create a free account to read the full article.

Read full article →
technologyentertainment

Get the full story

Sign up for Headlinne to unlock AI insights, political bias analysis, and your personalized news feed.

Create free account

Already have an account? Sign in