To build an AI voice agent, you connect five pieces: a phone number (telephony), speech-to-text, a language model that decides the reply, text-to-speech for the voice, and tools the agent can use, such as your calendar or CRM. You can assemble these yourself or use a hosted voice AI platform that bundles most of them, then spend most of your effort on the script, testing and integrations.
This guide walks through each step in the order we would do it, with choices that matter for Indian callers. If you would rather have it built and run for you, see our AI voice agents and WhatsApp bots service.
Step 0: Decide what the agent is for
Pick one job. Good first jobs are narrow and high-volume:
| First use case | Why it works |
|---|---|
| Calling new ad leads within a minute | Clear goal, measurable, high volume |
| Confirming appointments or site visits | Short calls, simple yes/no/reschedule |
| Answering inbound "timings and fees" calls | Repetitive questions |
| Re-engaging old leads | Large list, low cost of trying |
Avoid starting with complaints, collections disputes or anything emotional. For more ideas ranked by payback, see outbound vs inbound AI voice agents.
Step 1: Choose build vs platform
| Approach | Good for | Trade-off |
|---|---|---|
| Hosted voice AI platform | Most SMEs, fast launch | Per-minute markup, less control |
| Open-source framework + your own stack | Tech teams, high volume | Engineering time, you own uptime |
| Agency-built on a platform | Teams without tech staff | Setup fee plus monthly |
We compare popular platforms in best AI voice agent platforms. Check current pricing on each vendor's site before deciding.
Step 2: Get telephony sorted
You need numbers that can make or receive calls in India. Options include Indian cloud telephony providers and global CPaaS players with Indian partners. Points to check:
- Whether the provider supports the number series you need for your use case
- SIP or WebSocket connection to your voice AI platform
- Call recording and storage location
- Per-minute rates for outbound mobile calls
Our post on AI calling platforms in India goes deeper. Outbound calling has rules on consent, DND and calling hours; read is AI calling legal in India and take legal advice for your case.
Step 3: Pick speech-to-text and voice
For Indian callers, test with real recordings, not demos:
- Speech-to-text: must handle Hinglish, background noise and Indian accents. Test numbers, names and addresses specifically.
- Text-to-speech: choose a voice that sounds natural in both Hindi and English. Check how it says rupee amounts, dates and local place names.
- Latency: the total gap between the caller finishing and the agent replying should feel like a normal pause. Long silences make people hang up.
Step 4: Write the system prompt
The prompt is the agent's job description. A structure that works:
ROLE: You are Priya, calling on behalf of [Business] about the enquiry
the caller made for [Project/Course/Service].
GOAL: Confirm interest, collect budget, timeline and location,
and book a site visit or callback.
STYLE: Short sentences. One question at a time. Match the caller's
language: Hindi, English or Hinglish. Never argue.
RULES:
- If the caller asks for a human, transfer.
- If the caller says not interested, thank them and end.
- Do not quote prices not in the knowledge base.
- Do not make promises about discounts or approvals.
DATA TO COLLECT: budget_band, timeline, preferred_visit_slot.
Our voice bot script guide has before/after examples of how to make this sound human.
Step 5: Add tools (the "agent" part)
Tools are functions the model can call mid-conversation:
check_slots(date)returns free appointment or visit slotsbook_slot(lead_id, slot)confirms a bookingtransfer_call(team)warm-transfers to a personsend_whatsapp(lead_id, template)sends location or brochureupdate_crm(lead_id, fields)writes results back
Start with two or three tools. Each extra tool is another thing to test.
Step 6: Add a knowledge base
Load approved facts: prices or price ranges, timings, addresses, eligibility rules, top 30 FAQs. Keep it short and current. Assign one person to update it when anything changes.
Step 7: Test properly
| Test | What to check |
|---|---|
| 50 scripted test calls | Every branch: yes, no, later, wrong number, asks for human |
| Language switching | Caller starts in English, moves to Hindi mid-call |
| Noise | Calls from a road, a car, a crowded shop |
| Interruptions | Caller talks over the agent |
| Edge facts | Unusual questions not in the knowledge base |
| Write-back | Every outcome lands correctly in the CRM |
Listen to recordings, not just transcripts. Tone problems only show up in audio.
Step 8: Launch small, then scale
- Week 1: 10–20% of new leads, with a human reviewing every hot lead
- Week 2: fix the top five failure patterns from recordings
- Week 3+: increase volume, add retries and new tools
Worked cost example (illustrative)
| Item | Estimate |
|---|---|
| Calls per month | 3,000 |
| Connect rate | 50% (assumption) |
| Average minutes per connected call | 2 |
| Connected minutes | 3,000 |
| Running cost at ₹4–₹8/min | ₹12,000–₹24,000 |
| Unanswered attempts | Small extra telephony cost, varies by provider |
Add setup and maintenance time on top. For a full breakdown, see AI voice agent cost in India.
Mistakes that kill first builds
- Trying to handle every scenario in version one
- Long, formal opening lines (people hang up in the first five seconds)
- No hand-off to a human
- No owner reviewing recordings every week
- Testing only with the team's own clear, quiet voices
Step 9: Measure what matters
Once live, track a short list every day. Vanity numbers like "calls made" hide problems.
| Metric | What it tells you | Rough target to aim for (assumption) |
|---|---|---|
| Connect rate | Are people picking up? | Depends on lead source; track the trend |
| Completion rate | Do callers stay to the end? | Rising week on week |
| Qualified rate | Share of connected calls that meet your criteria | Compare with your human team |
| Booking rate | Visits, demos or appointments booked | The number you report upward |
| Human transfer rate | How often the bot gives up | Falling as the script improves |
| Cost per qualified lead | Total running cost / qualified leads | Lower than your current cost |
If connect rate is low, the problem is usually the number, timing or caller ID, not the bot. If completion is low, the first 15 seconds of the script need work. If bookings are low despite good qualification, check what happens after the call: does a salesperson follow up the same day?
Who should own the agent
A voice agent is not a one-time project. Give one person, usually from sales ops or marketing, these weekly jobs:
- Listen to 20 random recordings and five failed ones
- Update the knowledge base when prices, offers or timings change
- Review the top reasons for "not interested" and human transfers
- Share a one-line summary with the sales head
Without an owner, quality drifts within a month as offers change and nobody updates the prompt.
Next step
Write down the one call your team makes most often and what a "good outcome" looks like. That is your first agent's spec. If you want help scoping it, book a free teardown call at /#talk.
Frequently asked questions
Can I build an AI voice agent without coding?
Yes, for a basic agent. Hosted voice AI platforms let you write a prompt, pick a voice and attach a phone number from a dashboard. Connecting to a CRM, calendars and custom logic usually needs some no-code automation or developer work.
What are the parts of an AI voice agent?
Telephony (the phone number and call routing), speech-to-text, a language model that decides what to say, text-to-speech for the voice, and tools or APIs the agent can call, such as a calendar or CRM.
How long does it take to build an AI voice agent?
A working prototype can take a day. A production agent with testing, Hindi and English handling, CRM integration and compliance checks typically takes two to six weeks, depending on complexity.
What does it cost to run an AI voice agent in India?
As a rough estimate, running costs fall around ₹4–₹8 per connected minute, covering telephony, speech and model usage. Check current vendor pricing, as rates change often.