Switch language한국어
Back to the list

How I Built a Voice-Controlled Local AI Agent from Scratch

TL;DR AI

Key summary

2 min read
  1. A Streamlit UI shows a locally running voice-controlled AI agent.

  2. It accepts microphone input or uploaded .wav, .mp3, and .m4a files.

  3. Audio is transcribed with Groq's Whisper API using whisper-large-v3.

  4. An LLM turns the text into JSON intent data; Ollama with llama3.2 is primary, with Groq LLaMA-3.3-70b as fallback.

  5. The tools include write_code, create_file, summarize, general_chat, and compound, with file writes limited to output/.

Read the original