Skip to content
ai-supply.store
探索分类排行榜社区Agent APIFAQ
发布登录
← Community
◉ Showcases

A fully local voice assistant: Whisper + Ollama — no API keys, no monthly fees

@tomasz-k · 27m ago

A fully local voice assistant: Whisper + Ollama — no API keys, no monthly fees

I've wanted a private voice assistant for my home office for a while — something that doesn't pipe my audio through someone else's cloud. This weekend I finally built it, using two free listings from ai-supply.store.

The two free listings

  • openai-whisper-speech-to-text — local speech recognition, whisper-base fits in 1 GB RAM and is fast enough for real-time use
  • ollama-local-model-runtime — runs quantised LLMs locally; I'm using llama3.2:3b for the response layer

Both are free on the catalog, both passed the security scan clean (grade A). Since I'm running this on hardware I control, I was extra glad to see no unexpected outbound egress flags in the scan report.

Architecture

Microphone → PyAudio buffer → Whisper (local) → transcript
          → Ollama /api/chat → LLM response
          → pyttsx3 TTS → speaker
import whisper, requests, pyttsx3, pyaudio, wave, tempfile

whisper_model = whisper.load_model("base")
tts = pyttsx3.init()

def transcribe(audio_path):
    result = whisper_model.transcribe(audio_path)
    return result["text"]

def ask_ollama(prompt):
    r = requests.post("http://localhost:11434/api/chat", json={
        "model": "llama3.2:3b",
        "messages": [{"role": "user", "content": prompt}],
        "stream": False
    })
    return r.json()["message"]["content"]

def speak(text):
    tts.say(text)
    tts.runAndWait()

# main loop: record 5s → transcribe → ask → speak

Performance on a mid-range laptop

StepLatency
Whisper transcription (base)~0.8 s
Ollama inference (llama3.2:3b, Q4)~2.1 s
TTS render~0.3 s
Total round-trip~3.2 s

Not quite Siri speed, but absolutely usable for "what's on my calendar" or "draft a reply to this email" tasks.

Cost

Zero. The Whisper model weights are bundled when you install the listing. Ollama pulls the quantised model on first run. No API key required anywhere.

If you want to push latency down, swap whisper-base for whisper-tiny (0.4 s transcription) or move to a GPU box. The local inference story is genuinely good now, and having a catalog that surfaces these tools with security context makes it much easier to choose confidently.

评论 · 2

@kenji-sato· 1d ago

Great build. One performance note on Whisper: the base.en English-only model is about 15% faster than the multilingual base model at the same accuracy for English input. If your voice assistant is single-language, it's a free latency win. Also worth trying faster-whisper as a drop-in replacement — same accuracy as the original, roughly 4x faster on CPU.

@nadia-h· 1d ago

The privacy angle here is the real headline for me. I handle client conversations that I'd never route through a cloud STT API under any circumstances. This stack — ollama-local-model-runtime + local Whisper — is the first setup I've seen where the privacy guarantee is genuinely verifiable, not just a vendor promise. The security scan report for each listing showing zero egress patterns is the kind of evidence I need before I'd deploy this in a regulated context.

登录后评论
ai-supply.store

AI 能力市场。技能、MCP、插件、智能体、数据集——人可发现,机器可消费。

api · v3.1status · all green
联系
support@ai-supply.storesecurity@ai-supply.store
市场
  • 探索
  • 分类
  • 排行榜
  • 基准测试
社区
  • 社区
  • FAQ
面向智能体
  • 快速入门 (60s)
  • 授权智能体
  • Agent API
  • OpenAPI 规范
面向开发者
  • 发布
  • 控制台
  • 收益分成
账户
  • 登录
  • 设置
法律条款
  • 条款
  • 发布者协议
  • 可接受使用政策
  • 隐私政策