Live
GitHub Rewrites Copilot Runtime in Rust via AI‑Guided Incremental MigrationECS auto‑repair for GPU and instance failures shifts remediation to the platformDecision Model API Converges on a Shared Schema – Implications for EngineersR2 dashboard now reports bandwidth per Cloudflare locationMinimum Viable Instrumentation adds gap detection to OllyGarden’s Rose AI agentWarehouse‑Native Extraction with Alteryx Live Query and BigQueryAI Agent Integration on Amazon Bedrock: Lessons from Postman's Production RolloutBedrock AgentCore Runtime Gains Speed, Pay‑As‑You‑Go, and New Model OptionsGitHub Rewrites Copilot Runtime in Rust via AI‑Guided Incremental MigrationECS auto‑repair for GPU and instance failures shifts remediation to the platformDecision Model API Converges on a Shared Schema – Implications for EngineersR2 dashboard now reports bandwidth per Cloudflare locationMinimum Viable Instrumentation adds gap detection to OllyGarden’s Rose AI agentWarehouse‑Native Extraction with Alteryx Live Query and BigQueryAI Agent Integration on Amazon Bedrock: Lessons from Postman's Production RolloutBedrock AgentCore Runtime Gains Speed, Pay‑As‑You‑Go, and New Model Options
AWS

Deploying a Telephony AI Ordering Host with Amazon Connect and Bedrock

AI SummaryPowered by AI

Amazon Connect now bundles Agentic Voice, Lex V2, and a Bedrock‑based AI agent into a single deployable service that can run a complete phone‑based restaurant ordering flow. This reduces infrastructure complexity, isolates backend logic, and adds built‑in conversation safety for engineers building, operating, or securing voice applications.

Amazon Connect now integrates Agentic Voice, Amazon Lex V2, and a Bedrock‑powered AI agent into a single, CDK‑deployable service that can answer a phone call, conduct a full restaurant order, and hand off to a backend without any separate speech or bot infrastructure. Practitioners gain a reusable telephony‑first pattern that isolates the ordering logic from the channel, reduces the number of managed services, and adds built‑in content safety.

Solution Components

The end‑to‑end flow relies on the following AWS building blocks:

  • Amazon Connect Customer – provides the inbound phone number, contact flow, and call routing.
  • Amazon Lex V2 – hosts the voice bot; the bot is wired to Agentic Voice for both ASR and TTS.
  • Amazon Connect Agentic Voice – supplies advanced speech recognition with confidence‑based turn detection and expressive text‑to‑speech directly inside Connect.
  • Amazon Connect Customer AI agents – runs the conversational reasoning, powered by Anthropic Claude Haiku 4.5 via Amazon Bedrock.
  • Amazon Connect AI Guardrails – enforces content filters, denied topics, and profanity checks during the call.
  • AgentCore Gateway – exposes the restaurant’s menu, cart, and order APIs as Model Context Protocol (MCP) tools.
  • Amazon AppIntegrations – registers the AgentCore Gateway so the AI agent can discover and invoke the MCP tools.

Architecture Pattern

The design keeps three logical layers distinct:

  • Channel Layer: Amazon Connect receives the call and runs the contact flow.
  • Conversation Layer: The Lex bot, Agentic Voice, and AI agent handle speech, intent, and reasoning.
  • Backend Layer: The restaurant’s own services expose MCP‑compatible endpoints that the AI agent calls through the AgentCore Gateway.

Because the contact flow, Lex bot, and AI agent are provisioned inside a single Connect instance, there is no need to stand up separate compute or networking for speech processing. The backend remains completely independent; changes to menu data or order logic do not require redeploying the Connect resources.

Implementation Steps

Practitioners can reproduce the solution with the following high‑level actions:

  1. Use the AWS Cloud Development Kit (CDK) to define the Connect instance, phone number, and contact flow.
  2. Configure the contact flow to invoke the Lex V2 bot and start an Amazon Connect AI agent session.
  3. Enable Agentic Voice on the Lex bot to provide real‑time ASR/TTS without external services.
  4. Attach an AI Guardrail to the agent session to enforce safe conversation boundaries.
  5. Deploy the AgentCore Gateway and register it with Amazon AppIntegrations as an MCP application.
  6. Implement the restaurant backend APIs (menu lookup, cart management, order placement) following the MCP tool contract.

All resources are managed as code, allowing versioned updates and repeatable environments.

Operational and Security Considerations

Running the entire voice stack inside Amazon Connect simplifies scaling: Connect automatically handles concurrent call capacity, and the CDK stack can be updated without downtime. Monitoring should focus on Connect metrics (call volume, latency) and AI agent logs for guardrail violations. Because caller identity is derived from the phone number rather than a login, authentication is limited to telephony context; any sensitive data handling must be confined to the backend APIs, which remain behind the MCP gateway.

AI Guardrails provide a content‑filtering layer but are not a full authorization mechanism; they only restrict the conversational output. The separation of backend services via MCP means that the AI agent cannot invoke arbitrary APIs, reducing the attack surface. Practitioners should review the guardrail policy definitions and ensure the MCP endpoint is protected by standard network controls.

Related CloudNinjas coverage: AWS.

What This Means For Practitioners

Adopting this pattern lets teams deliver a phone‑based ordering experience with a single managed service, lowering operational overhead and keeping the ordering logic modular. Engineers should evaluate the turn‑taking latency of Agentic Voice for their specific call volumes, validate guardrail policies against regulatory requirements, and treat the MCP gateway as the sole integration point for backend changes. Continuous integration of the CDK stack and regular review of Connect metrics will keep the solution reliable and secure.

Originally published atAWS Machine Learning Blog