Skip to content
Aryan Panwar monogram

Mithivoices - Case Study

An open-source, local voice AI platform: text-to-speech, speech-to-text and a swappable LLM, so small teams can prototype voice features without per-minute API fees.

By Aryan Panwar, Business Analyst on Salesforce projects at Cloud Ingenious

Role

Product Manager & Contributor

Platform

Open Source · Python · Web

Timeline

Dec 2025 – Jan 2026

Status

Shipped

ResultOpen source · v0.2.0 released
Mithivoices

TL;DR

  • ·Small teams building voice features had two options: pay per-minute to closed APIs like Deepgram or ElevenLabs, or dig through research code that never ships.
  • ·I built Mithivoices and open-sourced it under MIT: text-to-speech with downloadable Piper voices, a speech-to-text endpoint, and an LLM layer that can switch between Gemini and Ollama.
  • ·v0.2.0 shipped in January 2026 with a README-first quickstart. Real-time voice agents and telephony are not built yet.

Overview

Mithivoices is an opinionated open-source voice platform that runs locally. It optimises for swap-ability and a simple setup over completeness.

What I Cut, and Why

  • ·Hosted SaaS layer
  • ·Voice cloning
  • ·Custom model training

Problem Statement

The gap between a voice demo and a production voice agent is measured in months. Latency, interruption handling, and cost per minute kill most builds.

Market Need

The closed-API problem was getting worse, not better. Builders who could afford hosted providers were fine. Everyone else was building on top of things that could change terms at any time. An open, swappable stack felt like infrastructure that was missing.

Target Users

Indie hackers, small SaaS teams, and researchers who want to ship, not train.

Research

Read through open-source voice projects that had stalled, looking for where they broke. Setup pain and single-provider lock-in came up again and again, so those became the two things to design against.

Insights

  • ·Builders don't want more models - they want opinionated defaults that let them skip the research phase entirely.
  • ·Working belief: sub-500ms end-to-end latency is the line between a demo and something usable. This version doesn't measure it yet.
  • ·Swap-ability of STT/LLM/TTS is a hard requirement. Projects built on single-provider stacks break the moment pricing changes.

Opportunity

Ship the fastest, most swappable OSS voice stack - and let community modules cover the long tail.

Scope

  • ·Text-to-speech with downloadable Piper voices
  • ·Speech-to-text endpoint
  • ·Pluggable LLM providers (Gemini, Ollama) behind one interface

Assumptions

The biggest bet was that contributors would show up if the core was opinionated enough. Open-source projects that try to please everyone often end up serving no one. I picked a default stack and was prepared to be wrong about the choices.

Success Criteria

  • ·Target: first voice agent shipped by a stranger within 30 days of v1 - if someone outside the project can install and run it, the quickstart is good enough.
  • ·Target: median end-to-end latency under 500ms in the reference agent.
  • ·Kill condition: if the quickstart takes longer than 15 minutes for a developer who reads the README once, the defaults are not sane enough.

Expected Behaviour

Clone the repo → download the voices → start the backend and web app → generate speech or transcribe audio → switch the LLM provider in config.

North Star Metric

Voice Agents Shipped by External Users

Supporting Metrics

  • ·Median E2E Latency
  • ·External Contributors
  • ·GitHub Stars-to-Fork Ratio

Prioritization

Every roadmap item was scored against 'does this reduce time-to-first-agent?' Anything that didn't was closed without ceremony.

Wireframes

The README was the prototype. I wrote it before I wrote any code - describing how a developer would install and run it in an afternoon. If the README made it sound easy, the API needed to make it easy. Everything I built was measured against whether the quickstart stayed honest.

PRD

A PRD and design notes in the repo's docs folder, written alongside the code: what each part exposes, what it doesn't do, and the open questions.

Prototype

A local web app on a FastAPI backend: pick a voice, generate audio, transcribe a clip. Everything had to run on one laptop, so a stranger could try it without cloud keys.

Final Solution

An MIT-licensed platform with provider adapters for the LLM, Piper voices for speech, and a README-first quickstart.

Reflection

I built Mithivoices myself and then open-sourced it - which changed the design from day one. When you open-source something, every part has to work on its own. You can't have a messy monolith if strangers are going to use it. That's a product decision as much as an engineering one. The thing I didn't expect about OSS PM: contributors take the project in directions you didn't plan, and some of those directions are better than yours. I ran the module backlog through a RICE score and thought I had the reach estimates right. A contributor working on a deprioritised STT adapter pointed out I'd undercounted how many downstream modules depended on it - I'd scored from the roadmap, not the dependency graph, and he was right. I revised the score, shipped v0.2.0 on the adjusted priorities, and he stayed active on the project afterward. The framework didn't make me right. It made my reasoning visible enough for someone else to catch what I'd missed.

Lessons Learned

  • ·The quickstart is the marketing site for developer tools. If setup takes more than a few minutes, most people don't get to the product.
  • ·I was tempted to build a hosted tier early. Not doing it was the right call - but it was a harder call than I expected, because the hosted tier would have made the demo much easier to show.