Projects

A selection of independent and experimental projects from pbrain studios. Each combines engineering, design, and creativity in unique ways.

Foil Engine

An AI-powered platform for building interactive NPCs without scripted dialogue trees. Define character personas and conversation flows as state machines. The AI generates natural language responses while staying in character across multi-turn conversations.

  • • Next.js 15, FastAPI, PostgreSQL, Supabase
  • • LiteLLM (vendor-agnostic) for response generation, Perplexity for RAG knowledge
  • • Visual editor with state machine diagram and live chat preview
  • • SDKs for Python, TypeScript, and Unity
Foil Engine: AI-powered NPC conversation platform

Other Projects

Sexy Unique RPG

A 16-bit narrative RPG inspired by early reality television. Players interview with Lisa Vanderpump, strategize to survive a chaotic work environment, and attempt to join exclusive social events. Powered by an early version of the Foil Engine dialogue system.

  • • Unity front-end with pixel art styling
  • • Python/FastAPI backend deployed on RunPod
  • • AI-driven dialogue with RAG memory and fine-tuned Mistral 7B
Screenshot from Sexy Unique RPG

Recipe Generator & Voice Synth

A Nara Smith-style recipe generator paired with a custom voice synthesizer. Built with FastAPI and Coqui TTS, deployed on Render.

TTS Pipeline Experiments

Fine-tuned XTTS-v2 models to create expressive voices for NPC dialogue. Focus on balancing natural delivery with lightweight deployment.

AI Asset Marketplace (in progress)

An online marketplace where artists can upload their own gaming assets to fine-tune a model. Developers can then purchase AI-generated assets in the artist's unique style.

Currently in prototyping phase

RAG Dialogue Research

Experiments with retrieval-augmented generation for interactive characters. Focused on creating consistent NPC behavior across branching storylines.