
Socrates Voice is a voice-first Cognitive Behavioral Therapy (CBT) companion that makes evidence-based mental health support accessible through natural, real-time conversation. ## The Problem Traditional CBT apps are text-heavy and break the therapeutic flow. People in emotional distress often struggle to articulate their thoughts by typing, and access to therapists is limited by cost, stigma, and availability. ## The Solution Socrates Voice guides users through the 3-step CBT model — Catch, Challenge, Replace — entirely by voice. The user simply speaks; the system listens, understands, and responds with empathy. ## How It Works 1. Catch — AssemblyAI's real-time voice agent transcribes speech with low latency and active turn detection. Gemini identifies Automatic Negative Thoughts (ANTs) from the transcript. 2. Challenge — The agent poses analytical Socratic questions, guiding the user to evaluate evidence and recognize cognitive distortions while preserving multi-turn session history for continuity. 3. Replace — The user is guided to formulate a balanced, constructive, and objective alternative perspective. ## Safety First — MIND-SAFE Protocol Every transcript is monitored in real time. Crisis keywords trigger an immediate session pause and present international helpline information (988 Lifeline, 911/112). A user in crisis is never left without guidance. ## Architecture Microservice-based design: Vite + TypeScript frontend, Fastify + Drizzle ORM gateway backed by PostgreSQL, and a FastAPI Python service handling CBT logic and Google Gemini integration. Multi-container orchestration via Docker Compose. ## Why AssemblyAI The voice agent provides the real-time turn-taking backbone that makes conversational therapy feel natural rather than scripted — essential for building therapeutic rapport.
30 Sep 2026

SATRIA (AI-Powered Patient Triage and Queue Routing) is a digital transformation solution designed for Indonesian primary healthcare (Puskesmas and clinics). Utilizing a three-agent cooperative orchestration powered by the Band framework and AIML API (Claude-3.5-Sonnet & Gemini-2.5-Pro), SATRIA automates the intake and clinical evaluation pipeline: 1. Anamnesis Agent (@anamnesis): Guides patients in natural language (Indonesian/English) to collect demographic data (via NIK parsing) and clinical history. 2. Clinical Expert Agent (@clinical-expert): Leverages ChromaDB vector search (RAG) over official Kemenkes clinical guidelines (PNPK) to calculate patient triage priority (P1/P2/P3) and automatically book queues at the nearest facility. 3. Compliance Auditor Agent (@compliance-auditor): Conducts clinical safety checks (drug interactions, allergies) and compiles structured SOAP Electronic Medical Records (EMR) according to PMK No. 24/2022. The system connects an Astro/Tailwind frontend, a high-concurrency FastAPI gateway, and Redis caching. It reduces patient queue times, prevents clinical errors, and relieves administrative burdens from doctors.
19 Jun 2026