<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: prakashkumarmahato807</title>
    <description>The latest articles on DEV Community by prakashkumarmahato807 (@prakashkumarmahato807).</description>
    <link>https://dev.to/prakashkumarmahato807</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3878605%2F8b1fea12-7d68-44b2-9123-13c851620d53.png</url>
      <title>DEV Community: prakashkumarmahato807</title>
      <link>https://dev.to/prakashkumarmahato807</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/prakashkumarmahato807"/>
    <language>en</language>
    <item>
      <title>Building a Voice Controlled AI Agent with Groq and Streamlit</title>
      <dc:creator>prakashkumarmahato807</dc:creator>
      <pubDate>Tue, 14 Apr 2026 12:31:35 +0000</pubDate>
      <link>https://dev.to/prakashkumarmahato807/building-a-voice-controlled-ai-agent-with-groq-and-streamlit-28i0</link>
      <guid>https://dev.to/prakashkumarmahato807/building-a-voice-controlled-ai-agent-with-groq-and-streamlit-28i0</guid>
      <description>&lt;h2&gt;
  
  
  Introduction
&lt;/h2&gt;

&lt;p&gt;I built a Voice Controlled AI Agent for Mem0 internship &lt;br&gt;
assignment. It accepts audio input, detects user intent, &lt;br&gt;
and executes actions automatically.&lt;/p&gt;

&lt;h2&gt;
  
  
  How It Works
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;User uploads an audio file&lt;/li&gt;
&lt;li&gt;Groq Whisper converts audio to text&lt;/li&gt;
&lt;li&gt;LLaMA 3.3 70B detects the intent&lt;/li&gt;
&lt;li&gt;Tools execute the action&lt;/li&gt;
&lt;li&gt;Results shown in Streamlit UI&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Architecture
&lt;/h2&gt;

&lt;p&gt;Audio Input&lt;br&gt;
↓&lt;br&gt;
Groq Whisper Large V3 (Speech to Text)&lt;br&gt;
↓&lt;br&gt;
LLaMA 3.3 70B (Intent Detection)&lt;br&gt;
↓&lt;br&gt;
Tool Execution&lt;br&gt;
↓&lt;br&gt;
Streamlit UI&lt;/p&gt;

&lt;h2&gt;
  
  
  Models Used
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Speech to Text:&lt;/strong&gt; Groq Whisper Large V3&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Fast and accurate transcription&lt;/li&gt;
&lt;li&gt;Supports WAV and MP3 formats&lt;/li&gt;
&lt;li&gt;Free API available on Groq&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Intent Detection:&lt;/strong&gt; LLaMA 3.3 70B Versatile&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Classifies user intent accurately&lt;/li&gt;
&lt;li&gt;Fast response time&lt;/li&gt;
&lt;li&gt;Free on Groq API&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Supported Intents
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;create_file: Creates a new file automatically&lt;/li&gt;
&lt;li&gt;write_code: Generates and saves Python code&lt;/li&gt;
&lt;li&gt;summarize: Summarizes given text&lt;/li&gt;
&lt;li&gt;general_chat: General conversation&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Tech Stack
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Python 3.x&lt;/li&gt;
&lt;li&gt;Streamlit for UI&lt;/li&gt;
&lt;li&gt;Groq API for STT and LLM&lt;/li&gt;
&lt;li&gt;Python-dotenv for API key management&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Challenges I Faced
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Challenge 1: Model Decommissioned&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;llama3-8b-8192 model stopped working&lt;/li&gt;
&lt;li&gt;Solution: Switched to llama-3.3-70b-versatile&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Challenge 2: Python PATH Issue on Windows&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;python command not recognized&lt;/li&gt;
&lt;li&gt;Solution: Used py -m pip install commands&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Challenge 3: GitHub Authentication Error&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Permission denied during git push&lt;/li&gt;
&lt;li&gt;Solution: Used Personal Access Token&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  How to Run This Project
&lt;/h2&gt;

&lt;p&gt;Step 1: Clone the repository&lt;br&gt;
Step 2: Install dependencies&lt;br&gt;
pip install streamlit groq python-dotenv&lt;/p&gt;

&lt;p&gt;Step 3: Create .env file and add your key&lt;br&gt;
GROQ_API_KEY=your_key_here&lt;/p&gt;

&lt;p&gt;Step 4: Run the app&lt;br&gt;
streamlit run app.py&lt;/p&gt;

&lt;h2&gt;
  
  
  GitHub Repository
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://github.com/prakashkumarmahato807/voice-agent" rel="noopener noreferrer"&gt;https://github.com/prakashkumarmahato807/voice-agent&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;Successfully built a working voice agent that processes &lt;br&gt;
audio commands and executes actions automatically. &lt;br&gt;
This project taught me about speech to text, &lt;br&gt;
intent detection, and AI powered web applications.&lt;/p&gt;

</description>
      <category>agents</category>
      <category>ai</category>
      <category>llm</category>
      <category>showdev</category>
    </item>
  </channel>
</rss>
