Avilo | Engineering Real-Time AI Voice Experiences for Mobile

How GeekyAnts built a real-time AI voice app experience for Avilo, MA&S Group’s multilingual AI companion, with flexible interaction modes and resilient session handling.
A visual representation of the multifunctional AI companion Avilo, featuring conversational AI, voice interaction, personalized AI assistants, content generation, translation, and image creation tools within a unified mobile experience.
Project typeAI-Powered Conversational Mobile Application
IndustryMedia and Entertainment
Tech stack
  • React Native
  • TypeScript
  • Python
  • React Navigation
  • Zustand
  • Redux
  • LiveKit
  • REST APIs
  • Websockets
  • Azure
  • Firebase
  • Sentry
  • New Relic

About the Client

Avilo is a multilingual AI companion developed for a multinational conglomerate MA&S Group. It combines AI conversations, specialized assistants, image generation and editing, email writing, translation, and personalized interactions within one mobile application.
Avilo AI companion app showing AI assistants, image creation, email writing and translation in one mobile experience.
About the project

Overview

GeekyAnts partnered with MA&S Group to develop real-time AI voice interactions for a multilingual AI companion app called Avilo across iOS and Android. The application brings together AI conversations, specialized assistants, image generation and editing, email writing, translation, and personalized experiences across seven languages. We engineered hands-free and push-to-talk voice modes, integrated real-time communication with AI agents, and optimized session reliability and responsiveness.

7

Supported Languages

4

Featured AI Personas

10

Voice interruption and session scenarios handled
Conversational AI mobile application showing real-time voice interaction, hands-free controls, and AI chat features.

Business Requirement

MA&S Group's conversational AI application needed GeekyAnts to engineer real-time voice interactions for a multilingual AI companion Avilo across iOS and Android. The application combines AI chat, specialized assistants, content generation, and productivity tools. Our focus was building a responsive voice experience with low-latency communication, flexible interaction modes, and reliable session handling across devices and network conditions.
Key Requirements
  • Implement real-time voice communication between the mobile application and the AI voice agent
  • Support hands-free and push-to-talk interactions through a consistent mobile interface
  • Coordinate voice-session events across frontend components, backend APIs, and LiveKit
  • Maintain synchronized voice states for connection status, microphone activity, and session changes
  • Handle interruptions involving device permissions, phone calls, network connectivity, and application lifecycle changes
  • Reduce connection delays when users initiate voice sessions

Challenges We Solved

Building Voice Mode required coordinating real-time audio, application state, and backend communication while accounting for the unpredictable conditions of mobile usage.
GeekyAnts addressed these challenges through a centralized voice architecture, LiveKit event integration, shared interaction controls, and session-level fallback handling. We also optimized connection initialization to improve the responsiveness of voice interactions.
  • 1. Real-Time Audio Coordination: Integrated LiveKit room connections, tokens, audio streams, participant events, and data-channel messaging to support communication with the AI voice agent
  • 2. Consistent Voice Interaction States: Used Zustand and Context API to centralize session state and synchronize interface components with voice events
  • 3. Multiple Voice Interaction Modes: Implemented hands-free and push-to-talk functionality within a shared interface, with mode changes communicated through LiveKit
  • 4. Device and Network Interruptions: Introduced handling for permissions, calls, audio conflicts, connection failures, and application state transitions
  • 5. Voice Connection Latency: Optimized session initialization to reduce the time required to establish voice communication
Real-Time Audio Coordination
Consistent Voice Interaction States
Multiple Voice Interaction Modes
Device and Network Interruptions
Voice Connection Latency

Solution

GeekyAnts developed Voice Mode using React Native and LiveKit, connecting the mobile application, Python backend, and AI voice agent for real-time communication. We implemented end-to-end session management, centralized state synchronization, and hands-free and push-to-talk modes. The solution also handles device and network interruptions, optimizes connection latency, and supports real-time messaging.

Highlights

Real-Time AI Voice Communication

GeekyAnts integrated LiveKit to establish and manage real-time audio communication between the mobile application and an AI voice agent.
The implementation coordinated several components of the voice experience:

Real-Time Connectivity

  • LiveKit room creation and connection lifecycle
  • Token-based connection setup
  • Audio publishing and subscription
  • Data-channel message events

Voice Interaction

  • Hands-free and push-to-talk modes
  • Microphone audio publishing
  • Incoming text and audio responses
  • Shared voice interaction interface

Session Management

  • Connection and disconnection handling
  • Centralized voice-state updates
  • Error handling and recovery
  • Resource cleanup and session closure
AI voice communication architecture connecting a React Native mobile application to a Python backend and an AI voice agent using LiveKit.

Our Approach

GeekyAnts owned the Voice Mode feature from initial planning and architecture through implementation, testing, and debugging.
The engineering work involved coordinating frontend components, Python backend APIs, and LiveKit communication services. Our team established the session architecture, implemented real-time audio interactions, introduced centralized state management, and strengthened recovery handling for common mobile interruptions.
The work can be organized into five engineering stages.
  • We designed the Voice Mode architecture around the complete session lifecycle, from initialization through termination.
    The React Native application communicates with the Python backend using REST APIs to obtain conversation information and LiveKit connection credentials. LiveKit then manages the real-time communication channel with the AI voice agent.
    We also established centralized voice-state management using Zustand and Context API, allowing different frontend components to respond consistently to connection events and session changes.
  • We implemented LiveKit integration to manage audio communication and session events between the mobile application and the AI voice agent.
    The implementation covered room creation, token management, connection establishment, microphone audio publishing, incoming audio subscriptions, and event handling.
    We also integrated participant events and data-channel communication to support voice-session updates and message exchange.
  • We developed two voice interaction modes using a shared frontend screen.
    Hands-free mode supports continuous interaction, while push-to-talk mode allows users to control voice input by pressing and holding the microphone button.
    Both modes communicate interaction changes through LiveKit events, allowing the backend and frontend to remain synchronized without requiring separate voice interfaces.
  • We implemented handling for critical session and device scenarios that could interrupt live voice communication.
    These included microphone permission denial, active phone calls, external audio playback, internet disconnections, LiveKit connection failures, unexpected disconnections, AI agent non-responsiveness, audio publishing or playback failures, manual session closure, and application background or foreground transitions.
    The implementation also included connection cleanup and reconnection handling to manage session resources and recovery when communication was disrupted.
  • We tested and debugged the voice feature across its interaction flows, session states, and interruption scenarios.
    A key optimization focused on reducing connection time when starting Voice Mode, improving the responsiveness of the initial voice interaction.
    We also coordinated frontend-backend communication and LiveKit events to support consistent session behavior across the mobile application.
    Alongside this work, GeekyAnts contributed to the Chat module through REST API integration for data retrieval and Socket-based communication for real-time messaging.
React Native AI voice architecture with REST API integration, LiveKit connectivity, and centralized session state management.

Result

GeekyAnts delivered Voice Mode for Avilo, expanding its capabilities across Android and iOS.
  • Real-Time AI Conversations: Enabled live voice interactions with AI agents through LiveKit audio streaming
  • Flexible Voice Controls: Supported hands-free and push-to-talk conversations within a unified interface
  • Reliable Session Recovery: Implemented handling for 10 device, network, audio, and connection interruption scenarios
  • Faster Voice Initialization: Reduced connection latency for more responsive voice-session startup
  • Integrated Chat Functionality: Supported real-time messaging through REST APIs and Socket-based communication

8

AI integrations handled

2

Voice Interaction Modes - Push-to-Talk and Hands-Free

6

AI-Powered Capabilities

Contact

The Right Conversation Can Save You Six Months

Contact us

Work

More from our engineering work

View all
DIGITAL ENTERTAINMENT COMPETITION PLATFORM

DIGITAL ENTERTAINMENT COMPETITION PLATFORM

GeekyAnts built a video-based talent competition platform for a media and entertainment company and took it live on iOS and Android with 100% automated content moderation.
Read case study
LEGACY PLATFORM MODERNIZATION

LEGACY PLATFORM MODERNIZATION

We built a production-grade offline HLS video We built a production-grade offline HLS video streaming solution for React Native on iOS. This in-house solution overcomes strict iOS media and storage constraints to provide true cross-platform parity for secure, network-independent video playback.
Read case study

Next-Gen Dating and Social App

We developed a scalable cross-platform social and dating app using Flutter, GraphQL, and Firebase, enabling real-time interactions and seamless user experiences.
Read case study

Social Media App For Liviit

The Man behind Liviit employed GeekyAnts to shift a social media web-app to a mobile app in React Native.
Read case study

Blending Technology, UX, and Accountability in Real-Time Music Practice

We built an iOS and web music learning app that lets students record, track goals, and stay accountable, while teachers and parents monitor progress through smart dashboards.
Read case study

Audio Editing App For Nimikry

Providing upkeep to enhance the music experience for Nimikry, an experimental music organisation
Read case study

Looking to Integrate Real-Time AI Voice Into Your Application?

Book a Discovery Session

Start a project

The Right Conversation Can Save You Six Months.