The motivation behind building 'Socra' was simple: the creator wanted to be able to explain their coding decisions out loud, because verbalizing forces you to articulate your understanding in a way that mere typing doesn't. If you can't explain why you made a certain decision in your own project while someone (even an AI) listens, it suggests you don't fully grasp the concept yet. This system uses free and open-source voice technologies like 'Piper TTS' for the agent to speak, and 'faster-whisper STT' to listen to your responses. All this happens via a simple web page that displays only what the conversation needs, like a code snippet or a diagram, with the option to switch to typing whenever you prefer.
One of the most significant advantages of this solution is that it runs entirely locally on your machine. This ensures complete privacy; nothing leaves your device except what the agent itself sends. There's also no cost for the voice interaction, as all the speech tools are free and open-source. The only paid component is the underlying agent model you might already be using. Furthermore, there are no network round trips for speech processing, making interactions fast and seamless.
The project started last October as a simple 'oral exam' but has since evolved to offer two distinct modes: a 'Mentor' mode where the agent explains your own project to you and checks understanding without grading, and an 'Exam' mode featuring spoken questions, answers, and feedback. 'Socra' currently works with agents like 'Claude Code' and 'Pi', with the goal of expanding support to any agent that uses 'MCP' tools. This highlights how adding a voice interface can fundamentally change how we interact with and learn from smart programming tools.