<?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: Mrittiga M</title>
    <description>The latest articles on DEV Community by Mrittiga M (@mrittiga_m).</description>
    <link>https://dev.to/mrittiga_m</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.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4078628%2F4f067066-5e58-42ed-9d93-8accb84b0585.jpg</url>
      <title>DEV Community: Mrittiga M</title>
      <link>https://dev.to/mrittiga_m</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/mrittiga_m"/>
    <language>en</language>
    <item>
      <title># Building a Cloud Incident Responder Agent with TrueForge and Qodo</title>
      <dc:creator>Mrittiga M</dc:creator>
      <pubDate>Sun, 30 Aug 2026 17:13:48 +0000</pubDate>
      <link>https://dev.to/mrittiga_m/-building-a-cloud-incident-responder-agent-with-trueforge-and-qodo-2lk9</link>
      <guid>https://dev.to/mrittiga_m/-building-a-cloud-incident-responder-agent-with-trueforge-and-qodo-2lk9</guid>
      <description>&lt;h1&gt;
  
  
  Building a Cloud Incident Responder Agent with TrueForge and Qodo
&lt;/h1&gt;

&lt;p&gt;Cloud incidents can happen unexpectedly — a database connection failure, memory overload, service crash, or application timeout can quickly affect users and business operations. Traditionally, engineers need to inspect logs, identify the root cause, determine a suitable remediation, and then execute the fix manually.&lt;/p&gt;

&lt;p&gt;For this project, I explored how an AI-powered agent can assist with this process while keeping &lt;strong&gt;safety and human approval&lt;/strong&gt; at the center.&lt;/p&gt;

&lt;p&gt;I built a &lt;strong&gt;Cloud Incident Responder&lt;/strong&gt;, an autonomous DevOps agent that analyzes incident logs, diagnoses problems, proposes remediation actions, and waits for human approval before executing them.&lt;/p&gt;

&lt;p&gt;🔗 &lt;strong&gt;GitHub:&lt;/strong&gt; &lt;a href="https://github.com/mrittiga/cloud-incident-responder" rel="noopener noreferrer"&gt;https://github.com/mrittiga/cloud-incident-responder&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  🚀 What is the Cloud Incident Responder?
&lt;/h2&gt;

&lt;p&gt;The Cloud Incident Responder is an AI-assisted incident-response system designed to help DevOps and cloud engineering teams respond to infrastructure problems faster.&lt;/p&gt;

&lt;p&gt;The workflow is:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Incident → Log Analysis → Diagnosis → Remediation Proposal → Safety Validation → Human Approval → Execution → Metrics&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;For example, when an incident reports a database connectivity problem combined with high memory usage, the agent analyzes the available incident information and determines a possible root cause.&lt;/p&gt;

&lt;p&gt;Instead of immediately executing a potentially risky command, it proposes a remediation and asks for approval.&lt;/p&gt;

&lt;p&gt;This creates a balance between &lt;strong&gt;automation and operational safety&lt;/strong&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  🎯 The Problem I Wanted to Solve
&lt;/h2&gt;

&lt;p&gt;Cloud environments can generate a large number of alerts and incidents. During an incident, engineers may spend valuable time:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Reading and filtering logs&lt;/li&gt;
&lt;li&gt;Understanding the root cause&lt;/li&gt;
&lt;li&gt;Determining which action should be taken&lt;/li&gt;
&lt;li&gt;Checking whether a command is safe&lt;/li&gt;
&lt;li&gt;Executing the remediation&lt;/li&gt;
&lt;li&gt;Monitoring the result&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The goal of my project was to demonstrate how an AI agent could automate the repetitive parts of this workflow while ensuring that critical actions remain under human control.&lt;/p&gt;

&lt;p&gt;The project is particularly useful as a prototype for &lt;strong&gt;DevOps teams, cloud engineers, SRE teams, and infrastructure automation workflows&lt;/strong&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  🧠 How I Used TrueForge
&lt;/h2&gt;

&lt;p&gt;I used &lt;strong&gt;TrueForge as the agent harness&lt;/strong&gt; for the incident-response workflow.&lt;/p&gt;

&lt;p&gt;The agent is responsible for coordinating multiple stages of incident handling.&lt;/p&gt;

&lt;h3&gt;
  
  
  1. Reading the incident
&lt;/h3&gt;

&lt;p&gt;The agent first accesses the incident information and relevant logs.&lt;/p&gt;

&lt;h3&gt;
  
  
  2. Diagnosing the problem
&lt;/h3&gt;

&lt;p&gt;It analyzes the available information and identifies a likely cause of the incident.&lt;/p&gt;

&lt;h3&gt;
  
  
  3. Generating a remediation
&lt;/h3&gt;

&lt;p&gt;After diagnosing the issue, the agent proposes an action that could resolve the incident.&lt;/p&gt;

&lt;h3&gt;
  
  
  4. Safety validation
&lt;/h3&gt;

&lt;p&gt;Before execution, the proposed action is checked against safety rules.&lt;/p&gt;

&lt;p&gt;This is important because an autonomous agent should not blindly execute arbitrary commands on infrastructure.&lt;/p&gt;

&lt;h3&gt;
  
  
  5. Human approval
&lt;/h3&gt;

&lt;p&gt;The agent pauses and waits for approval before executing the remediation.&lt;/p&gt;

&lt;p&gt;This introduces a &lt;strong&gt;human-in-the-loop&lt;/strong&gt; safety mechanism.&lt;/p&gt;

&lt;h3&gt;
  
  
  6. Execution and metrics
&lt;/h3&gt;

&lt;p&gt;After approval, the remediation can be executed and the system records execution-related metrics.&lt;/p&gt;

&lt;p&gt;This architecture allowed me to experiment with autonomous incident response without giving the agent unrestricted control over infrastructure.&lt;/p&gt;

&lt;h2&gt;
  
  
  🛡️ Why Human Approval Matters
&lt;/h2&gt;

&lt;p&gt;One of the most important design decisions in this project was requiring human approval before executing a remediation.&lt;/p&gt;

&lt;p&gt;AI agents can generate useful solutions, but an incorrect infrastructure command can potentially cause additional failures.&lt;/p&gt;

&lt;p&gt;For example:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;AI Agent:&lt;/strong&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Database connectivity issue detected. Proposed remediation: restart the affected service.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Instead of immediately executing the command:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Agent → Safety Check → Human Approval → Execution&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;This makes the workflow safer and gives engineers the final decision.&lt;/p&gt;

&lt;p&gt;For a production system, I would further strengthen this approach using &lt;strong&gt;structured, allowlisted remediation actions&lt;/strong&gt; rather than allowing arbitrary shell commands.&lt;/p&gt;

&lt;h2&gt;
  
  
  🔍 How I Used Qodo
&lt;/h2&gt;

&lt;p&gt;I also integrated &lt;strong&gt;Qodo Code Review&lt;/strong&gt; into the development process.&lt;/p&gt;

&lt;p&gt;Qodo helped me review the code and identify potential problems that could be overlooked during manual development.&lt;/p&gt;

&lt;p&gt;One particularly useful finding involved the project's &lt;strong&gt;execution-latency metric&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;The review identified that the latency calculation could include the time spent waiting for human approval. That means the metric could represent:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Approval Waiting Time + Execution Time&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;instead of only:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Actual Execution Time&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;This was an important observation because accurate observability is critical for an incident-response system.&lt;/p&gt;

&lt;p&gt;It showed me that code review is not only about finding syntax errors or obvious bugs. It can also identify issues in &lt;strong&gt;metrics, system behavior, safety, and architecture&lt;/strong&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  📊 Observability and Metrics
&lt;/h2&gt;

&lt;p&gt;Another part of the project was adding metrics around the agent's behavior.&lt;/p&gt;

&lt;p&gt;Useful metrics for an incident-response agent include:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Policy checks performed&lt;/li&gt;
&lt;li&gt;Approval outcomes&lt;/li&gt;
&lt;li&gt;Remediation execution&lt;/li&gt;
&lt;li&gt;Execution latency&lt;/li&gt;
&lt;li&gt;Successful and failed actions&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;These metrics can help engineers understand how the agent behaves and identify areas for improvement.&lt;/p&gt;

&lt;p&gt;For a production implementation, I would expand this into dashboards containing:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Incident Detection → Diagnosis Time → Approval Time → Execution Time → Recovery Time&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;This would make it easier to evaluate the effectiveness of automated incident response.&lt;/p&gt;

&lt;h2&gt;
  
  
  🏗️ High-Level Architecture
&lt;/h2&gt;

&lt;p&gt;The overall architecture can be represented as:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;              ┌──────────────────┐
              │ Cloud Incident   │
              │     / Alert      │
              └────────┬─────────┘
                       │
                       ▼
              ┌──────────────────┐
              │  Incident Logs   │
              └────────┬─────────┘
                       │
                       ▼
              ┌──────────────────┐
              │   AI Diagnosis   │
              └────────┬─────────┘
                       │
                       ▼
              ┌──────────────────┐
              │   Remediation    │
              │     Proposal     │
              └────────┬─────────┘
                       │
                       ▼
              ┌──────────────────┐
              │  Safety Checks   │
              └────────┬─────────┘
                       │
                       ▼
              ┌──────────────────┐
              │ Human Approval   │
              └────────┬─────────┘
                       │
                       ▼
              ┌──────────────────┐
              │    Execute       │
              │    Remedy        │
              └────────┬─────────┘
                       │
                       ▼
              ┌──────────────────┐
              │ Metrics &amp;amp; Logs   │
              └──────────────────┘
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  💡 What I Learned
&lt;/h2&gt;

&lt;p&gt;Building this project taught me several important lessons.&lt;/p&gt;

&lt;h3&gt;
  
  
  1. AI agents need guardrails
&lt;/h3&gt;

&lt;p&gt;Giving an AI agent the ability to interact with infrastructure requires strong safety controls.&lt;/p&gt;

&lt;p&gt;An agent should have clearly defined permissions and boundaries.&lt;/p&gt;

&lt;h3&gt;
  
  
  2. Human-in-the-loop systems are valuable
&lt;/h3&gt;

&lt;p&gt;Full autonomy is not always the best solution.&lt;/p&gt;

&lt;p&gt;For sensitive operations, allowing the AI to &lt;strong&gt;recommend&lt;/strong&gt; an action while allowing a human to &lt;strong&gt;approve&lt;/strong&gt; it provides a safer architecture.&lt;/p&gt;

&lt;h3&gt;
  
  
  3. Code review can improve system design
&lt;/h3&gt;

&lt;p&gt;Qodo helped me discover an issue in the way execution latency was measured.&lt;/p&gt;

&lt;p&gt;This showed me that automated code review can provide value beyond conventional bug detection.&lt;/p&gt;

&lt;h3&gt;
  
  
  4. Observability is part of reliability
&lt;/h3&gt;

&lt;p&gt;An incident-response system needs accurate metrics to understand whether automation is actually improving the response process.&lt;/p&gt;

&lt;h3&gt;
  
  
  5. Production systems need stronger controls
&lt;/h3&gt;

&lt;p&gt;The prototype uses safety checks, but a production-ready implementation should use approaches such as:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Allowlisted remediation actions&lt;/li&gt;
&lt;li&gt;Role-based permissions&lt;/li&gt;
&lt;li&gt;Audit logs&lt;/li&gt;
&lt;li&gt;Rate limiting&lt;/li&gt;
&lt;li&gt;Approval policies&lt;/li&gt;
&lt;li&gt;Rollback mechanisms&lt;/li&gt;
&lt;li&gt;Monitoring and alerting&lt;/li&gt;
&lt;li&gt;Structured tool interfaces&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  🔮 Future Improvements
&lt;/h2&gt;

&lt;p&gt;There are several areas I would like to explore in future versions.&lt;/p&gt;

&lt;h3&gt;
  
  
  Automated incident classification
&lt;/h3&gt;

&lt;p&gt;The system could automatically classify incidents into categories such as:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Database&lt;/li&gt;
&lt;li&gt;Memory&lt;/li&gt;
&lt;li&gt;CPU&lt;/li&gt;
&lt;li&gt;Network&lt;/li&gt;
&lt;li&gt;Authentication&lt;/li&gt;
&lt;li&gt;Application failure&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Integration with cloud platforms
&lt;/h3&gt;

&lt;p&gt;The agent could be connected to cloud monitoring services and infrastructure platforms to process real-time incidents.&lt;/p&gt;

&lt;h3&gt;
  
  
  Better remediation policies
&lt;/h3&gt;

&lt;p&gt;Instead of generating arbitrary commands, the agent could select from a predefined set of safe remediation actions.&lt;/p&gt;

&lt;h3&gt;
  
  
  Incident history
&lt;/h3&gt;

&lt;p&gt;The system could maintain previous incidents and use them to improve diagnosis and remediation recommendations.&lt;/p&gt;

&lt;h3&gt;
  
  
  Dashboard
&lt;/h3&gt;

&lt;p&gt;A web dashboard could display:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Active incidents&lt;/li&gt;
&lt;li&gt;Root-cause analysis&lt;/li&gt;
&lt;li&gt;Proposed remedies&lt;/li&gt;
&lt;li&gt;Approval status&lt;/li&gt;
&lt;li&gt;Execution status&lt;/li&gt;
&lt;li&gt;Response-time metrics&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  🌱 Final Thoughts
&lt;/h2&gt;

&lt;p&gt;This project gave me hands-on experience building an &lt;strong&gt;AI-powered DevOps workflow&lt;/strong&gt; and understanding the challenges involved in safely applying AI to infrastructure operations.&lt;/p&gt;

&lt;p&gt;Using &lt;strong&gt;TrueForge&lt;/strong&gt;, I was able to structure the agent's incident-response workflow with diagnosis, remediation, safety checks, approval, and execution.&lt;/p&gt;

&lt;p&gt;Using &lt;strong&gt;Qodo&lt;/strong&gt;, I gained another layer of automated code review that helped identify an issue with execution-latency measurement and encouraged me to think more carefully about production-grade safety and observability.&lt;/p&gt;

&lt;p&gt;The biggest lesson I learned is that building an AI agent is not only about making it autonomous. It is also about making it &lt;strong&gt;predictable, observable, secure, and safe&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;The combination of &lt;strong&gt;AI agents + DevOps automation + human oversight + automated code review&lt;/strong&gt; has significant potential for improving how cloud incidents are handled.&lt;/p&gt;

&lt;p&gt;🔗 &lt;strong&gt;Project:&lt;/strong&gt; &lt;a href="https://github.com/mrittiga/cloud-incident-responder" rel="noopener noreferrer"&gt;https://github.com/mrittiga/cloud-incident-responder&lt;/a&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  AI #AIAgents #DevOps #CloudComputing #TrueForge #Qodo #CloudEngineering #SRE #Automation #GenerativeAI #SoftwareEngineering
&lt;/h1&gt;

</description>
      <category>ai</category>
      <category>devops</category>
      <category>opensource</category>
      <category>automation</category>
    </item>
    <item>
      <title>SmartForm AI — Building Forms with AI in Seconds</title>
      <dc:creator>Mrittiga M</dc:creator>
      <pubDate>Mon, 24 Aug 2026 07:23:13 +0000</pubDate>
      <link>https://dev.to/mrittiga_m/smartform-ai-building-forms-with-ai-in-seconds-2c20</link>
      <guid>https://dev.to/mrittiga_m/smartform-ai-building-forms-with-ai-in-seconds-2c20</guid>
      <description>&lt;p&gt;Hey DEV Community! 👋&lt;br&gt;
​For the past 72 hours, our team has been heads-down in an intensive building sprint for DoraHack 2.0 as part of the Dora Fellowship. Today, we are excited to give you an exclusive First Look at what we’ve been working on!&lt;br&gt;
​Meet SmartForm AI 🧠⚡&lt;br&gt;
​💡 What is SmartForm AI?&lt;br&gt;
​Building web forms shouldn't mean spending hours setting up schema validations, state management, and UI fields. SmartForm AI turns natural language prompts into live, ready-to-use forms instantly.&lt;br&gt;
​🎥 Sneak Peek &amp;amp; Key Highlights&lt;br&gt;
​We’re putting the final polish on our production build, but here’s a preview of what’s coming:&lt;br&gt;
​🧠 Prompt-to-Form Generation: Type what data you need, and let AI build the schema and layout automatically.&lt;br&gt;
​⚡ Instant Field Logic: Dynamic validation rules created on the fly.&lt;br&gt;
​🚀 One-Click Deployment: Go from an idea to a live shareable URL in seconds.&lt;br&gt;
​⏰ Full Launch Coming Tonight!&lt;br&gt;
​We are running our final test suite and will be dropping the live demo link, walkthrough video, and project breakdown tonight.&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fjv5cnpa540pw9me3a0ps.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fjv5cnpa540pw9me3a0ps.png" alt=" " width="799" height="436"&gt;&lt;/a&gt;&lt;br&gt;
​Stay tuned for the official drop. In the meantime, what's your biggest pain point when handling forms in web apps? Drop your thoughts in the comments below! 👇&lt;/p&gt;

</description>
      <category>doradao</category>
      <category>dorahacks</category>
      <category>productlaunch</category>
      <category>ai</category>
    </item>
    <item>
      <title>🚀 Building Asha AI: A Vernacular Multi-Agent Voice Platform for Kirana Retail (#VoiceForBharat)</title>
      <dc:creator>Mrittiga M</dc:creator>
      <pubDate>Sat, 15 Aug 2026 07:57:32 +0000</pubDate>
      <link>https://dev.to/mrittiga_m/building-asha-ai-a-vernacular-multi-agent-voice-platform-for-kirana-retail-voiceforbharat-2c6g</link>
      <guid>https://dev.to/mrittiga_m/building-asha-ai-a-vernacular-multi-agent-voice-platform-for-kirana-retail-voiceforbharat-2c6g</guid>
      <description>&lt;p&gt;📌 &lt;strong&gt;1. Introduction &amp;amp; The Problem Statement&lt;/strong&gt;&lt;br&gt;
In India's fast-evolving retail ecosystem, millions of local Kirana store owners and everyday consumers face digital barriers due to complex application interfaces, text-heavy steps, and language differences.&lt;br&gt;
During the 10 Days of Voice Agents — VoiceForBharat Edition challenge hosted by Murf AI, I chose the Local Retail &amp;amp; Kirana Commerce Track to build Asha AI.&lt;br&gt;
Asha AI is a voice-first Kirana assistant designed to bridge this gap. By enabling real-time, hands-free voice interactions in Indian languages (English, Hindi, and Tamil), Asha AI allows customers to inquire about product prices, check stock availability, request returns/refunds, and automatically escalate complex queries.&lt;br&gt;
🛠️ &lt;strong&gt;2. The 10-Day Building Journey&lt;/strong&gt;&lt;br&gt;
Here is how Asha AI evolved step-by-step over the 10-day sprint:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Days 1–2 (Foundation &amp;amp; Voice Setup): Configured real-time Web Speech Speech-to-Text (STT) and integrated low-latency Indian voice synthesis (en-IN-aarav) powered by the Murf Falcon TTS API.&lt;/li&gt;
&lt;li&gt;Days 3–4 (Personality, Objectives &amp;amp; Guardrails): Defined system prompts, safety guardrails, and customer interaction objectives for regional Indian retail.&lt;/li&gt;
&lt;li&gt;Days 5–6 (Multilingual Support &amp;amp; Live UI): Added language switching for English, Hindi (हिंदी), and Tamil (தமிழ்), paired with a glassmorphism frontend dashboard displaying active state and live call metrics.&lt;/li&gt;
&lt;li&gt;Days 7–8 (Memory, Tools &amp;amp; Outbound / Escalation Systems): Integrated SQLite for database lookups (stock, pricing, customer history), structured call logging, and automated store manager escalation tickets (#HUM-XXXX).&lt;/li&gt;
&lt;li&gt;Day 9 (Multi-Agent Handoff): Implemented sub-agent orchestration where the Asha Main Agent hands off refund/damaged goods queries to a specialized Returns &amp;amp; Refunds Agent.&lt;/li&gt;
&lt;li&gt;Day 10 (Documentation &amp;amp; Showcase): Consolidated architecture, code, performance metrics, and build learnings into this public guide.
⚙️** 3. Complete Architecture &amp;amp; Workflow Diagram**
Here is how audio, user text, backend logic, database queries, and voice output flow through Asha AI:
┌─────────────────────────────────────────────────────────────┐
│                      USER INTERFACE                         │
│     [ Browser Mic Input / Text Chat / Button Triggers ]      │
└──────────────────────────────┬──────────────────────────────┘
                            │
                            ▼
┌─────────────────────────────────────────────────────────────┐
│               ASHA AI CORE PROCESSING ENGINE                │
│                (python: day9_asha_full_dashboard.py)         │
└───────┬──────────────────────┬──────────────────────┬───────┘
     │                      │                      │
     ▼                      ▼                      ▼
┌──────────────────┐  ┌──────────────────┐  ┌──────────────────┐
│ SQLite Inventory │  │ Sentiment Engine │  │ Session Manager  │
│  &amp;amp; Call Logging  │  │ &amp;amp; Escalation     │  │ &amp;amp; Agent Handoff  │
└────────┬─────────┘  └────────┬─────────┘  └────────┬─────────┘
     │                      │                      │
     └──────────────────────┼──────────────────────┘
                            │
                            ▼
┌─────────────────────────────────────────────────────────────┐
│                   MURF FALCON TTS API                       │
│      (Low-Latency Speech Generation via en-IN-aarav)        │
└──────────────────────────────┬──────────────────────────────┘
                            │
                            ▼
┌─────────────────────────────────────────────────────────────┐
│                    AUDIO &amp;amp; UI FEEDBACK                      │
│    [ Real-Time Voice Output &amp;amp; Glassmorphism Dashboard ]     │
└─────────────────────────────────────────────────────────────┘&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;📋 Detailed Step-by-Step Workflow:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;User Voice Input: The user clicks the Voice Mic button or types a query in English, Hindi, or Tamil.&lt;/li&gt;
&lt;li&gt;Intent Parsing &amp;amp; Sentiment Engine: Asha's backend analyzes input keywords (e.g., "price", "honey", "damaged", "human") and logs tone sentiment (Positive, Neutral, Negative).&lt;/li&gt;
&lt;li&gt;Database &amp;amp; Multi-Agent Routing:

&lt;ul&gt;
&lt;li&gt;Inventory Enquiries: Queries the local SQLite inventory table.&lt;/li&gt;
&lt;li&gt;Returns &amp;amp; Refunds: Hands context over to the specialized Returns Agent.&lt;/li&gt;
&lt;li&gt;Frustration / Human Help: Triggers an explicit Human Escalation event.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;TTS Generation &amp;amp; UI Feedback: Transformed text is rendered into speech via the Murf Falcon TTS API, while live metrics update instantly on the glassmorphism dashboard.
🎯 &lt;strong&gt;4. Key Project Features Highlight&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;Murf Falcon TTS Integration: Lightning-fast text-to-speech audio rendering using Murf AI's conversational voice endpoints.&lt;/li&gt;
&lt;li&gt;Sub-Agent Handoff: Seamless transition between main agent conversation and specialized sub-agents while retaining session context.&lt;/li&gt;
&lt;li&gt;SQLite Live Inventory Engine: Direct database lookups for product stock and order logs.&lt;/li&gt;
&lt;li&gt;Real-time Glassmorphism Analytics: Displays live audio visualizer state, call success rates, customer sentiment metrics, and stock updates.
💥** 5. Challenges Faced &amp;amp; Solutions**
❌ Challenge 1: Latency &amp;amp; Audio Buffering on Fast Responses&lt;/li&gt;
&lt;li&gt;Root Cause: Generating audio responses in real-time caused small playback buffers when processing long strings or switching languages quickly.&lt;/li&gt;
&lt;li&gt;Solution: Priority queuing with direct streaming from the Murf Falcon API while implementing a fallback browser Web Speech audio pipeline to guarantee uninterrupted voice response fallback.
❌ Challenge 2: Context Retention During Sub-Agent Handoffs&lt;/li&gt;
&lt;li&gt;Root Cause: Session context (user details, prior items mentioned) was clearing when transitioning between Asha Main Agent and Returns Specialist Agent.&lt;/li&gt;
&lt;li&gt;Solution: Created a global Python session state manager (session_state) that preserves conversational context, order history, and sentiment logs across agent boundaries.
❌ Challenge 3: Vernacular Code-Mixed Speech Processing&lt;/li&gt;
&lt;li&gt;Root Cause: Handling Hinglish/Tanglish mixed phrases (e.g., "Honey oda price enna?") resulted in misclassified database queries.&lt;/li&gt;
&lt;li&gt;Solution: Normalized incoming transcripts into target item keywords using a dictionary mapper before executing SQLite queries.
💻** 6. How Readers Can Setup &amp;amp; Run Asha AI**
Follow these steps to test the project locally:
Step 1: Clone the Repository
git clone &lt;a href="https://github.com/mrittiga/voice-for-bharat-challenge-2026.git" rel="noopener noreferrer"&gt;https://github.com/mrittiga/voice-for-bharat-challenge-2026.git&lt;/a&gt;
cd voice-for-bharat-challenge-2026&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Step 2: Configure Environment Variables&lt;br&gt;
Create a .env file in your root folder (never commit API keys publicly!):&lt;br&gt;
MURF_API_KEY=your_actual_murf_api_key_here&lt;/p&gt;

&lt;p&gt;Step 3: Run the Application&lt;br&gt;
python day9_asha_full_dashboard.py&lt;/p&gt;

&lt;p&gt;Open your browser and navigate to &lt;a href="http://127.0.0.1:8000" rel="noopener noreferrer"&gt;http://127.0.0.1:8000&lt;/a&gt; to interact with the voice agent interface.&lt;br&gt;
🔮 &lt;strong&gt;7. Future Enhancements&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Adding WebSocket streaming audio transport for near zero-latency full duplex voice communication.&lt;/li&gt;
&lt;li&gt;Expanding voice support to additional Indian regional languages (Telugu, Kannada, Marathi).&lt;/li&gt;
&lt;li&gt;WhatsApp Business API integration for sending instant invoice receipts.
🔗** 8. Links &amp;amp; References**&lt;/li&gt;
&lt;li&gt;GitHub Repository: mrittiga/voice-for-bharat-challenge-2026&lt;/li&gt;
&lt;li&gt;Murf AI Falcon Documentation: Falcon API Docs&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F10q3w3xxbk3mn5s5loqo.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F10q3w3xxbk3mn5s5loqo.jpg" alt=" " width="800" height="400"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>murfai</category>
      <category>voiceforbharat</category>
      <category>10daysofvoiceagents</category>
      <category>murffalcon</category>
    </item>
  </channel>
</rss>
