Hack #5: Kiro · AWS Kiro
23 Apr, 15:41
A 3D first-person cooperative escape room playable in the browser. You're trapped in an abandoned industrial facility and the only way out is to communicate via push-to-talk with a voice on the other side of a walkie-talkie. Neither of you can see what the other sees, every puzzle forces verbal exchange. A hidden trust system tracks how you've treated your partner across the whole playthrough, and the game ends with a simultaneous cooperate-or-defect prisoner's dilemma that resolves into one of four distinct endings. The partner's final decision is actually reasoned by the LLM based on the trust arc you built with them, not scripted. How it uses Kiro: - Based on my initial idea Kiro agent was able to generate detailed requirements, design plan and a list of tasks with subtasks - Elevenlabs power for integrating their APIs - The whole project was built against a Kiro spec at .kiro/specs/ai-escape-room/ How it uses ElevenLabs: Five APIs, each doing something the game depends on: - Conversational AI — the partner's real-time dialogue. PTT audio streams to the agent (STT → LLM → TTS), responses come back and play through a radio-filtered intercom channel. Trust events + per-puzzle knowledge + beat-specific tone instructions are pushed into the agent context as it plays so the partner's behaviour changes over time. - Voice Design — generates the partner's voice from a text prompt (weary elderly male, gravelly, measured, with mid-sentence breath pauses). The resulting voice id is persisted and used across every other ElevenLabs call so the partner always sounds like the same person. - Text-to-Speech — pre-generates the narrator's opening monologue, intercom announcements, and the four distinct ending narrations, all in the Voice Design voice. - Sound Effects — generates the diegetic cues (door lock/unlock, radio static start/end, interact click, button clicks, locked-door thud, static burst, signal lost) from text prompts. - Music — generates a tension score that escalates across the five narrative beats, plus a unique sting for each of the four endings.
