Design and development of the MaoCodes AI backend, in FastAPI on a Clean Architecture/DDD foundation. At its core sits a real-time voice conversation pipeline combining Groq for inference, Deepgram for transcription and ElevenLabs for synthesis. On top of that: a user and collective memory system, plus a dynamic prompt engine with behavioural correction applied before and after LLM generation.