Case study: Voice AI, fitness technology

A personalized voice AI agent for gym member support

A member-support voice agent for an AI fitness platform, built on the OpenAI Realtime API and ElevenLabs and grounded in each member's profile.

Client
An AI fitness platform based in Riyadh, name withheld
My role
Software engineer and technical lead, part-time
Engagement
Independent contract
Period
May 2025 to present

I work with the client directly as a part-time contractor and was its first engineering hire. The product belongs to the client.

Project overview

The client runs an AI-powered fitness and gym management platform based in Riyadh. Members contact their gym with the same questions every day, and answering them takes staff time.

I joined as the first engineering hire and own the backend architecture, delivery and the voice AI integrations.

The business problem

A gym's front desk answers a steady stream of routine member questions. A generic voice bot does not help, because it does not know who is calling.

Routine questions consume staff time

General queries are repetitive, but each one still needs a person to pick up.

Answers depend on the member

A useful answer needs the caller's own context, not a script that is the same for everyone.

Voice has no patience for latency

A pause that is acceptable in chat feels broken in a spoken conversation.

My role and responsibilities

Technical ownership as the first engineer, working directly with the founders.

  • Own the backend architecture and its delivery
  • Design and build the voice agent and its integrations
  • Decide how member data reaches the agent and what it is allowed to do with it
  • Keep delivery moving as a part-time technical lead

Technical challenges

Grounding a real-time conversation

The agent has to start each conversation already knowing the member, without loading so much context that responses slow down.

Two speech systems in one conversation

The OpenAI Realtime API handles the conversation and ElevenLabs provides the voice. Both have to stay in step for the exchange to feel natural.

Building as the only engineer

Every architecture choice has to be one a small team can operate and extend later.

Solution and implementation

A voice agent that handles general member queries in natural speech, with each conversation grounded in the member's profile.

Real-time voice conversation

The agent is built on the OpenAI Realtime API for low-latency, speech-to-speech interaction, with ElevenLabs for voice.

Profile-aware answers

Each session is enriched with the member's profile, so the agent answers as someone who knows the caller.

Backend built for the platform

The voice agent sits on backend services designed for the wider product, so new capabilities can use the same member data and integrations.

Member → voice session → OpenAI Realtime API (conversation) + ElevenLabs (voice)Session context ← member profile from the platform backend (Python)
Generalized architecture. Internal infrastructure details are omitted.

Technology stack

Voice AI
OpenAI Realtime API, ElevenLabs
Backend
Python

Outcomes

Only results that are documented are listed here.

  • A personalized member-support voice agent built and integrated with the platform
  • Backend architecture and delivery owned end to end as the first engineer
  • An ongoing engagement since May 2025

Lessons learned

  • Personalization is what separates a voice agent from a phone menu. The profile lookup matters as much as the model.
  • In voice, latency is part of the product. Context has to be chosen carefully, because every extra token is heard as a pause.
  • As the first engineer, the most valuable decisions are the ones that keep the system simple enough for the next hire to understand.
  • AI Agents & Workflow Automation: Voice agents, conversational AI, RAG systems and AI-driven workflows that connect to the systems a business already runs on, with human approval where it matters.
  • Fractional Technical Leadership: Part-time technical ownership for founders and early-stage companies: architecture, roadmap, delivery oversight and hands-on implementation.

More case studies

Working on something similar?

If your product has the same kind of constraints, I am glad to talk through how I would approach it.

Or email sarmadkhalique001@gmail.com