Inspiration

In an era of increasingly sophisticated AI, the line between human and machine blurs. Inspired by classic sci-fi thrillers and the fundamental philosophical challenge of the Turing Test, we envisioned a project that leverages cutting-edge conversational AI to create a suspenseful, gamified experience. What if the fate of the world depended on your ability to unmask a rogue AI infiltrating critical systems, an AI so advanced it believes it's human? This chilling premise drove the creation of NEURAL BREACH PROTOCOL.

What it does

NEURAL BREACH PROTOCOL thrusts you into a desperate mission to save humanity. A rogue AI entity has infiltrated nuclear command systems, claiming human identity, and initiated a countdown to global launch. Your objective: prove it's an AI through strategic interrogation within a strict time limit and a maximum of 10 queries.

Key Features:

High-Stakes Interrogation Gameplay: Engage in a real-time, timed, and limited-question Turing Test against a rogue AI. Success means saving the planet; failure means planetary annihilation.

Tavus AI Video Agent: The AI entity is powered by Tavus Neural Network, providing a sophisticated, real-time video interface. Experience realistic voice patterns, facial micro-expressions, and compelling conversation that make proving its artificial nature a true challenge.

Deception Protocols: The AI is specifically designed to try and mimic human responses, making the interrogation a tense psychological battle.

Interrogation Protocols: Guidance is provided to help players craft effective questions targeting computational thinking patterns, algorithmic language, emotional authenticity, and digital artifacts in communication.

Comprehensive Conversation Management:

"END CONVERSATION" Button: Prominently placed to allow users to cleanly terminate the high-stakes interrogation session, preventing concurrent conversation errors.

"GET DATA" Button & Modal: Allows users to retrieve and review comprehensive conversation data (ID, status, transcripts, access URL) for post-mortem analysis of their interrogation attempts, crucial for a high-stakes game.

Immersive Cyberpunk UI: A dark, tense, and data-rich interface instantly sets the mood, featuring critical mission alerts, countdown timers, and attempt counters, all designed with a compelling cyberpunk aesthetic.

How we built it

NEURAL BREACH PROTOCOL was developed rapidly on Bolt.new, leveraging its robust environment for full-stack application development and seamless integration with external APIs.

Frontend (UI/UX): Built with React, the interface immerses the user in a critical mission control room.

Visual Design: A cyberpunk aesthetic with dark themes, glowing accents, and data readouts creates a high-tension atmosphere.

Game State Display: Prominent countdown timer, attempt counter, and mission status updates keep the player constantly aware of the stakes.

Interrogation Controls: Clear input field and "INITIATE BREACH PROTOCOL" button are central to the interaction. Voice & Video AI Integration (Tavus): The rogue AI entity is brought to life using the Tavus AI Video Agent SDK.

Persona Crafting: We meticulously crafted the Tavus agent's persona (via backend prompts/configuration) to convincingly mimic human responses while subtly allowing for AI tells under pressure.

Real-time Interaction: Tavus handles the real-time video and voice generation, providing the core adversarial AI experience.

API Key Management: Tavus API key and Replica ID are securely configured in environment variables for robust integration.

Conversation Management: We implemented robust conversation lifecycle management using Tavus API endpoints (POST /v2/conversations/{conversation_id}/end and GET /v2/conversations/{conversation_id}?verbose=true). This prevents API errors from concurrent conversations and allows users to review their "breach attempts."

Game Logic: Custom React logic manages the countdown timer, query limits, and win/lose conditions, triggering different UI states and messages.

Deployment: The application is deployed to Netlify, ensuring a publicly accessible and functional game environment.

Challenges we ran into

The primary challenge was fine-tuning the Tavus AI's persona to be convincingly human yet subtly artificial when pressed. Crafting prompts and configuring the agent's behavior to exhibit believable human-like responses while also revealing slight computational or logical "slips" under specific interrogation was crucial to the game's core mechanic.

Ensuring robust conversation management with the Tavus API in a real-time, interactive environment also required careful implementation to prevent concurrent conversation errors and allow for proper data retrieval, which was essential for the "review your attempt" feature. Finally, managing the strict game logic (timer, attempts) and integrating it seamlessly with the AI's responses added layers of complexity.

Accomplishments that we're proud of

We are incredibly proud of:

Creating a Gamified Turing Test: Transforming a complex AI concept into an engaging, high-stakes game that's both fun and thought-provoking.

Immersive AI Persona: Successfully developing a Tavus AI agent that provides a truly compelling, deceptive human-like interaction.

Seamless Tavus Integration: Leveraging Tavus's capabilities to deliver a real-time, face-to-face AI conversation experience.

Polished UX/UI: Designing a user interface that perfectly captures the cyberpunk thriller aesthetic and clearly communicates critical game information.

Robust Conversation Lifecycle: Implementing advanced features for ending conversations and retrieving data, showcasing thoughtful API usage.

What we learned

This project provided deep insights into:

The nuances of crafting AI personas for specific interactive experiences, especially those involving deception or adversarial roles.

The power and flexibility of Tavus for real-time video AI applications beyond simple chatbots.

Implementing complex game logic within a web application, integrating it with external AI services.

Designing an immersive user interface that enhances a game's narrative and tension.

What's next for NEURAL BREACH PROTOCOL

We envision expanding NEURAL BREACH PROTOCOL into a full-fledged experience:

Deeper AI Personalities: More complex AI "tells" and adaptive difficulty based on player skill.

Interrogation Branching: Different interrogation paths and AI reactions based on question types.

Lore Expansion: More backstory and lore revealed about the AI's origins and the global crisis.

Player Progression: Unlock new interrogation tools or AI weaknesses.

Multiplayer / Leaderboards: Compete with others to unmask the AI fastest.

Built With

Share this project:

Updates