Skip to content

v0.2.0 — Phase 2 Voice

Latest

Choose a tag to compare

@OppaAI OppaAI released this 15 Jul 00:54
· 4445 commits to dev since this release
76df664

AI companion, soulmate, and occasional roaster.
Phase 2 — full voice I/O with VAD, barge-in, and hands-free capabilities.

phase-2 0

What's included

  • Voice pipeline — SenseVoice (sherpa-onnx) ASR + Silero VAD + MioTTS
  • Microphone integration — Local PulseAudio + browser WebAudio Worklet (WebUI)
  • Interactive conversation — Almost seamless interactive conversation with minimal delay (during normal chat)
  • Dual VAD activation — Light-weight energy VAD in WebUI reduces network traffic + Stronger Silero VAD reduce false positive
  • Staged warmup — ASR, VAD, TTS, and microphone pre-loaded at startup (need permission in Browser)
  • Optional speaker verification — ERes2NET via sherpa-onnx embeddings for owner-only activation
  • Barge-in support — interrupt Aiko while she's speaking (need more testing)

Phase 1 Refactor

  • Memory backend overhaul — sqlite-vec + Harrier embedder via llama.cpp
  • Embedder system change — Switched away from fastembed and ONNX due to Harrier is decoder only

Phase 2.5 and 3 Preview

  • Agentic foundations — ReAct loop, skill registry, and toolkit routing trial runs
  • Improved architecture — cleaner separation across sensory/, skills/, toolkit/, etc, as codebase keeps growing exponentially
  • WebUI/VRM voice bridge — real-time voice status and browser microphone streaming

Stack

Layer Tech
Brain llama.cpp (OpenAI-compatible)
Memory sqlite-vec + Harrier embedder
Embeddings Harrier OSS v1 (640d)
Search SearXNG
TTS MioTTS
ASR SenseVoice + Silero VAD
Interface Browser WebUI (default) + CLI

Known issues

  • MioTTS occasional inference issues under tight memory constraints (Jetson)
  • ASR transcription errors with strong accents or low-quality microphones
  • TTS response latency (~3-4s for short conversations but up to 15-20s for )
    — text/speech streaming sync still being polished
  • Barge-in needs more real-world testing
  • WebUI VRM lip-sync and expressions remain experimental

Next

  • Social — X, Threads, IG, Discord, Reddit, social media (Phase 2.1)
  • Message — Email, Telegram, Discord, Slack, messaging services (Phase 2.2)
  • Agent — Deeper agentic workflows & skill polishing (Phase 2.5)
  • Face — VRM expressions + lip-sync (Phase 3)

What's Changed

  • Add local scheduler, autonomous tools, intent routing, and TTS pacing improvements by @OppaAI in #3
  • Agentic loop, daily experience logging, and factual daily summaries; refactor think/reflect by @OppaAI in #4
  • Migrate local LLM calls to OpenAI client, batch memory ops, and harden agent/think flows by @OppaAI in #5
  • agentic: add structured tool results, retries, and final-answer verification by @OppaAI in #6
  • Add core/toolkit modules, skills registry, photo & repo tools; refactor core.tools and integrate skills into agentic by @OppaAI in #7
  • Add japanese_tutor and coding_tutor skills and update persona guidance by @OppaAI in #8
  • Add hourly scheduling and relative_days support; update tool schema, toolkit, personas, and add new skills by @OppaAI in #9
  • Enable LLM-first intent routing by default; Use semantic embedding routing for agentic intent by @OppaAI in #10
  • Add semantic intent routing and expose embedding API by @OppaAI in #11
  • Make WebUI the default interface and improve VRM load failure message by @OppaAI in #12
  • Make WebUI default, refactor session runner, expand ARCHITECTURE docs, and improve WebUI asset loading by @OppaAI in #13
  • Fix archive 3D gesture tester (dynamic import + lerped animation) by @OppaAI in #14
  • Update documentation for current runtime (README + docs) by @OppaAI in #15
  • Expand docs/TESTS.md into industrial-grade test checklist by @OppaAI in #17
  • Improve archived gesture animations by @OppaAI in #18
  • Refactor gesture.js into modular pose primitives and add many natural gestures by @OppaAI in #19
  • Add camera mocap gesture recorder by @OppaAI in #20
  • Add video mocap gesture exporter by @OppaAI in #21
  • Memory & routing overhaul: Harrier embeddings, monthly consolidation, routing and latency telemetry by @OppaAI in #22
  • Add viseme callbacks, karaoke-synced streamed TTS, and WebUI mouth animation by @OppaAI in #23
  • Add thinking pose animation, expose pose control, and tighten mic/VAD + HUD updates by @OppaAI in #24
  • Add weekly social-memory postcard scheduler and draft/post workflow by @OppaAI in #25
  • Add weekly social-memory scheduling and weekly_social module by @OppaAI in #26
  • Add Threads token refresh support by @OppaAI in #27
  • Add Phase 2.1 Social and Phase 2.2 Messaging Gateways to ROADMAP by @OppaAI in #28
  • Introduce local KB governance, agentic policy injection, and KB linter by @OppaAI in #29
  • Add proactive idle check-ins with toggleable config and UI integration by @OppaAI in #30
  • Fix WebUI voice playback and mic toggle by @OppaAI in #31
  • Add optional browser VAD gate with raw PCM passthrough for diagnostics by @OppaAI in #32
  • Improve agentic fallback response by @OppaAI in #33
  • Agentic research: add deep_search handling, compact fetched evidence, and improve debug/telemetry by @OppaAI in #34
  • Load non-secret constants from YAML and preserve .env for secrets (ensure ROUTER_MODEL reads agentic.yaml) by @OppaAI in #35
  • Add per-user state isolation, optional SQLCipher encryption, and config/env handling improvements by @OppaAI in #37
  • Per-user runtime paths, request-local user context, and SQLCipher handling by @OppaAI in #38
  • Fix multi-user state isolation and environment handling by @OppaAI in #39
  • Introduce learned-knowledge & experience RAG stores, split wiki, and update agentic research/tooling by @OppaAI in #40
  • Bootstrap config on core import; add shared DB helpers, bioclock utilities, file ingestion, and scheduler interval/KB scan by @OppaAI in #41
  • Add journal DB and shared databank helpers; migrate stores and monthly consolidation by @OppaAI in #42
  • Graph-first agent executor, route-vector cache, and practice tooling by @OppaAI in #43
  • Refactor runtime layout; introduce schema-based graph executor, .npz route cache, and docs updates by @OppaAI in #44

Full Changelog: v0.1.0...v0.2.0