Deblo.ai
AI tutoring for 250 million African students
Educational platform for CP to Terminale with a Pro tier offering 101 specialized AI advisors across 14 business functions (finance, IT, HR, marketing, legal, ops, and more). French-first. Phone + WhatsApp OTP authentication.
Building Deblo
AI Memory and Context Compression
Fire-and-forget conversation summarization, the save_memory tool, and context compression at 150K tokens. How the AI remembers across sessions for $0.00005 per summary.
Building a React Native K12 App in 7 Days
20 sessions in 7 days: Expo SDK 54 monorepo, Zustand stores, SSE streaming, voice calls via LiveKit, biometric auth, and a custom tab bar.
The Agentic Loop: 24 AI Tools in a Single Chat
Up to 10 iterations of LLM calls, 24 tools from file generation to code execution, background jobs for 30-minute tasks. The agentic heart of Deblo.ai.
System Prompts That Teach: Anti-Cheating, Socratic Method, and Grade-Level Adaptation
Six-layer prompt assembly: root identity, school hours detection, grade overlays from CP to Terminale, subject expertise, and exam mode. How we taught the AI to teach.
WhatsApp OTP and the African Authentication Problem
Email does not work. SMS is expensive. WhatsApp is universal. How we built authentication for Africa with WhatsApp OTP, Google OAuth, and student access codes.
Credits, FCFA, and 6 African Payment Gateways
USD-cent pricing, 13 currencies, Orange Money and M-Pesa, 3 payment gateways, webhook-driven confirmation, and a background poller. Monetizing an African SaaS.
SSE Streaming: Real-Time AI Responses in SvelteKit
20+ event types, inline quizzes, file downloads, credit deductions, and tool progress -- all streamed in real-time via Server-Sent Events.
Voice Calls With AI: Ultravox, LiveKit, and WebRTC
Real-time voice conversations with the AI tutor: Ultravox sessions, LiveKit WebRTC, photo analysis mid-call, and per-minute credit billing.