AIToday
Audio & SpeechHacker NewsPublished: Jul 15, 2026, 22:00 JST3 min read

Telnyx launches AI phone agent for real-time price quotes

Telnyx launches AI phone agent for real-time price quotes

Key takeaway

  • Telnyx has published a working example of an AI phone agent that handles price-quote calls end-to-end without a human.

  • The agent answers, asks 3–4 qualifying questions, and delivers a structured JSON quote with line items and a monthly total before the caller hangs up.

  • The quote is then extracted from the conversation and stored, making it immediately available via API for downstream billing or CRM systems.

3 Key Points

  1. What happened

    Telnyx released an open-source Python application (102 lines) that uses Telnyx Call Control and Llama 3.3 70B AI to answer incoming calls, ask qualifying questions, and generate structured price quotes in real time without human intervention. Callers hear text-to-speech greetings, speak naturally, and receive a quote with line items and monthly total before hanging up.

  2. Why it matters

    Traditional quote flows require web forms, email delays, or sales handoffs. This agent eliminates friction by conducting a conversational interview on the phone and extracting clean JSON quotes (with product, quantity, unit price, and subtotal) that are immediately accessible via API — ready to pipe into CRM systems or billing platforms. Businesses can customize the product catalog and questioning style by editing the system prompt.

  3. What to watch

    The app stores quotes in memory by default; production deployments will need a database (PostgreSQL or Redis), multi-worker concurrency (gunicorn), timeout handling, webhook signature verification, and integration with CRM systems like Salesforce or HubSpot. Code is available to clone and deploy locally with ngrok in minutes.

Ask the AI about this article →

Context & Analysis

The article presents a working end-to-end example of an AI phone agent designed to eliminate friction from the price-quote sales process. Traditional flows require callers to fill out forms, wait for sales emails, or be transferred to a human — all friction points that reduce conversion. This agent runs a real-time voice conversation, adapts its questions based on the caller's responses (e.g., asking about SMS volume only if the caller mentioned SMS), and delivers a quote on the call itself.

The technical architecture is simple: incoming calls trigger Telnyx webhooks, which drive a state machine in a Flask app. Each event (call initiated, call answered, speech gathered, call ended) triggers the next action. The AI model (Llama 3.3 70B) handles two distinct tasks — conducting the conversation and extracting structured data from it afterward. The post-call extraction is the key innovation: rather than relying on the AI to produce structured JSON during the conversation (which could be error-prone), the app replays the transcript with a specific extraction prompt, yielding a clean, machine-readable quote object ready for integration with billing systems or CRMs.

For production, the article notes that in-memory storage must be replaced with a database, concurrency needs to be managed with a WSGI server (gunicorn), and error recovery and monitoring are essential. The customization surface — the system prompt and pricing catalog — is explicit, allowing businesses to adapt the agent to different product catalogs (consulting, SaaS, manufacturing) and questioning strategies without touching the core logic.

FAQ

How does the AI extract a quote from the conversation?
When the call ends, the app sends the full conversation transcript back to the AI model with a separate prompt: 'Extract the price quote. Return JSON: line_items (list of {product, quantity, unit_price, subtotal}), monthly_total (number), notes (string).' The AI parses the conversation and returns clean JSON with line items, quantities, unit prices, subtotals, and a monthly total.
What AI model does the agent use?
The agent uses Llama 3.3 70B via Telnyx AI Inference, configured with a temperature of 0.5 for consistency so quotes are predictable rather than creative.
Can I customize the pricing and questions?
Yes. The pricing catalog and system prompt are the control surface. You can swap the product list (e.g., from communication services to consulting hours), change the questioning style, add discount logic for volume, or adjust how many questions the AI asks before summarizing the quote.

Get the latest Audio & Speech news every morning

For example, today's edition would include:

  • Mitsubishi Electric develops task-general sound separation AITop Companies AI · 12h ago
  • Musician Detectives Hunt AI Music GriftersThe Verge AI · 2d ago
  • Beatport bans AI-generated music from DJ marketplaceTHE DECODER · 3d ago

AI-summarized, only the topics you pick — one digest a day via Email, Slack, or Discord.

Free · takes 30 seconds · unsubscribe anytimeWhat is AIToday? →

Ask AI

Ask AI anything about this article. Q&As are published on this page for other readers too.

Related Articles

Next articleSports prediction model shows edge vs closing lines—but edge may vanish in real betting