Avatar Flow: One Zero-VRAM Local Conversational Avatar Skeleton, Two Real-Time GLSL Voice Apps A developer built Avatar Flow, an open-source conversational avatar skeleton that runs entirely on CPU with zero backend VRAM, combining a deterministic conversation engine, a procedural WebGL2 avatar renderer, and a local voice and memory runtime. The framework powers two real-time applications: Valak, a voice-driven AI interview coach with a live animated portrait and webcam gaze tracking, and BrowserBuddy, a browser companion that handles reminders, timers, time-zone conversions and webpage memory via a deterministic command router. The stack pairs Silero VAD, whisper.cpp, Qwen3.5 via llama-server, Kokoro-82M and Chatterbox for speech, and all-MiniLM-L6-v2 with SQLite for episodic memory, with WebRTC barge-in flushing audio in under 80 milliseconds. Kiroween 2026 Submission · Category: Skeleton Crew Repository: github.com/0dvsh0/avatar-flow · License: MIT Most conversational avatar systems come with a trade-off. You either depend on expensive cloud GPUs to generate realistic talking faces or load heavyweight 3D engines and models just to animate an avatar. Building real-time voice applications also introduces another challenge. AI coding assistants can generate unreliable audio pipelines, exceed local VRAM limits, and struggle with managing interruptions and conversational state. We wanted to explore a different approach: could we build one lightweight, CPU-first conversational avatar framework that runs locally, uses no backend GPU memory, and powers two completely different real-time applications? That question became Avatar Flow. Avatar Flow is an open-source conversational avatar skeleton designed around three core components: a deterministic conversation engine, a procedural WebGL2 avatar renderer, and a local CPU-based voice and memory runtime. Instead of building two separate avatar systems, we created one shared foundation that powers two very different applications. The first application is Valak, a living portrait AI interviewer . It helps candidates practice high-pressure job interviews through natural voice conversations. Users can provide a job description, which is converted into a structured interview scenario. Valak then conducts the interview using full-duplex audio, a real-time animated horror-inspired avatar, and webcam-based gaze tracking. It also evaluates interview competencies and displays performance and latency information while the conversation is happening. The second application is BrowserBuddy, a disembodied clay-mouth browser companion . It is designed for researchers, developers, and people managing multiple tasks across the web. Instead of opening another chatbot, users get an animated conversational companion directly on top of websites such as Wikipedia, arXiv, and X. They can ask about deadlines, create reminders, save useful webpage context, recall information from previously visited websites, convert time zones, and create countdown timers through natural voice commands. Both applications use the same underlying avatar and conversation infrastructure, but offer completely different experiences and solve different problems. The foundation of Avatar Flow consists of two shared packages and a local voice runtime. The first package, avatar-os-core , handles conversational state and turn management. It validates every interaction using strict schemas, manages transitions between conversation stages, handles interruptions, and prevents untrusted inputs from breaking the conversation flow. It also supports WebRTC barge-in, allowing users to interrupt the avatar with an audio flush target of less than 80 milliseconds. The second package, avatar-gl , handles avatar rendering. We built the entire visual system using raw WebGL2 fragment shaders rather than relying on heavyweight 3D frameworks such as Three.js, Babylon.js, Unity, or Blender. This allows the same rendering pipeline to produce both realistic monochrome portrait faces and stylized animated clay mouths, including lip synchronization and procedural facial expressions. The voice and memory runtime runs locally on the CPU. It combines Silero VAD for voice activity detection, whisper.cpp for speech recognition, Qwen3.5 through llama-server for local language inference, Kokoro-82M and Chatterbox for speech generation, and all-MiniLM-L6-v2 with SQLite for episodic memory. The runtime supports English, Spanish, Hindi and Hinglish, and Japanese. Our reported runtime health metrics show zero megabytes of backend VRAM usage. BrowserBuddy also has a deterministic command router. Instead of sending every request directly to an LLM, it identifies operations such as time-zone conversions, reminders, timers, snoozes, and memory commands before generating a response. This makes important operations more reliable and prevents simple calculations or scheduled tasks from depending entirely on language-model output. Kiro was involved throughout the development process, with its engineering workflows and constraints maintained directly inside the repository. We created five Steering Documents to establish architectural rules for the project. These covered lightweight rendering, VRAM isolation, skeleton plugin contracts, deterministic tool routing, and low-latency audio streaming. They helped maintain the shared architecture and prevent the two applications from becoming tightly coupled. We also implemented four Agent Hooks that automatically validate specifications and rerun relevant property-based tests when important files change. These checks cover the conversation state machine, GLSL uniforms, interruption handling, BrowserBuddy scheduling, input sanitization, and multilingual runtime behaviour. For structured development, we built a custom Scenario Scaffolder MCP server. It exposes tools that convert job descriptions into interview specifications and extract study outlines into structured JSON scenarios. These tools make it easier to turn unstructured information into validated application inputs. Finally, we maintained four structured Kiro specifications covering the core runtime, GLSL and multilingual rendering, the interviewer application, and BrowserBuddy. This gave us a consistent engineering foundation across both applications. One of our biggest challenges was managing real-time speech interruptions. When users started speaking while the avatar was still talking, Chrome's WebRTC echo cancellation sometimes clipped the opening words or incorrectly triggered a self-interruption. This was particularly noticeable in headless and virtualized audio environments. We addressed this by improving turn separation, introducing single-clause speech delivery, and making wake-word handling more resilient across both applications. Another major challenge was maintaining the zero-VRAM constraint. Speech recognition, voice activity detection, language inference, multilingual speech generation, and episodic memory all needed to run on CPU threads while the browser simultaneously rendered a 60 FPS WebGL2 avatar and handled MediaPipe gaze tracking. Achieving this required careful resource management, clause-level streaming, and inference prefix-prefill tuning. Our biggest accomplishment is bringing the entire conversational voice, avatar rendering, and memory pipeline together in a local CPU-first architecture without requiring backend GPU memory. We also demonstrated that one shared skeleton could power two genuinely different applications: a monochrome horror-inspired AI interviewer and a floating cartoon browser companion. We placed considerable emphasis on engineering reliability. The project includes strict TypeScript builds, scenario graph validation, property-based testing using fast-check and Hypothesis, and Python test suites using pytest. These checks help validate the conversation engine, routing behaviour, and multilingual runtime. One of our biggest takeaways from working with Kiro was that AI-assisted development becomes significantly more reliable when important engineering constraints are explicitly defined rather than left to prompts. Steering Documents helped us establish architectural boundaries, Agent Hooks automated verification, and typed MCP tools provided structured interfaces for domain-specific operations. This approach allowed us to spend more time building the actual applications instead of repeatedly correcting architectural inconsistencies. We want Avatar Flow to become a reusable foundation for developers building local conversational avatar experiences. Our next steps include adding more starter applications, such as language-learning roleplay companions, local code-review assistants, and accessibility-focused screen readers. We also plan to create a community-driven shader face gallery built around @avatar-flow/avatar-gl , allowing developers to create and share their own procedural avatar designs. Beyond WebGL2, we are exploring a WebGPU compute path for browser-local audio processing and more advanced real-time interactions. Our goal is simple: make building real-time conversational avatars lightweight, local-first, and accessible to every developer.