Scaling AI Agents to Production: A Blueprint for Autonomous Customer Service

cox_automotive · Automotive · 2024 · source Agentic: yes · promotional bias: med · source-backed · extracted with prompt 0.5.6 (schema v2)

Generated from extraction.json — do not edit by hand. Every claim cites verbatim source evidence; stated means the quote directly asserts the claim, implied means it supports it indirectly.

Problem

Domain: Automotive customer service and dealer operations

Cox Automotive needed to move agentic AI from prototypes into production customer-service and dealer workflows under an aggressive five-week deadline, while preserving safety, session isolation, evaluation, cost controls, and trust for autonomous after-hours conversations.

Constraints:

Architecture

Cox Automotive used Amazon Bedrock AgentCore and the Strands Agent Framework as the foundation for multiple agentic products. The customer-service assistant uses an orchestrator that routes incoming messages to domain sub-agents such as sales and service, gathers their outputs, and continues the conversation. The production blueprint adds AgentCore session isolation, hard and soft guardrails, continuous red teaming, LLM-as-judge evaluation, cost and turn circuit breakers, and dealer handoff when thresholds are crossed.

Diagram confidence: explicit (topology described by the source).

flowchart LR
  A["Dealership customers"] --> B["Virtual assistant"]
  B --> C["Orchestrator"]
  C --> D["Sales sub-agent"]
  C --> E["Service sub-agent"]
  F["AgentCore runtime"] --> B
  B --> G["Guardrail layer"]
  F --> H["Evaluation framework"]
  H --> G
  H --> I["Circuit breakers"]
  B --> I
  I --> J["Dealer staff"]
  J --> A
Drag to pan · scroll or use +/− to zoom · reconstructed from the source's described component topology

Components

Component Role Interacts with
Dealership customers People sending customer-service, sales, and service messages to dealerships. Virtual assistant
Virtual assistant Autonomous dealership customer-conversation product built on AgentCore and Strands. Orchestrator, Guardrail layer, Circuit breakers
Orchestrator Intent-routing layer that delegates work to domain sub-agents and composes responses. Sales sub-agent, Service sub-agent
Sales sub-agent Domain agent handling sales-related customer conversation tasks. Orchestrator
Service sub-agent Domain agent handling service-related customer conversation tasks. Orchestrator
AgentCore runtime Foundation for session isolation, framework portability, memory, identity, gateway tools, observability, browser, and code interpreter capabilities. Virtual assistant, Evaluation framework
Guardrail layer Hard Bedrock guardrails and soft prompt/workflow guardrails for safe customer-service behavior. Virtual assistant
Evaluation framework Red-team catalog and LLM-as-judge testing for relevancy, completeness, tone, and worst-case behavior. Guardrail layer, Circuit breakers
Circuit breakers Cost and turn-count hard limits that stop conversations and hand off to dealerships. Dealer staff
Dealer staff Humans who decide whether threshold-crossing conversations continue. Dealership customers

Data flow

A dealership customer sends a message. The orchestrator classifies intent, routes the request to sales, service, or other sub-agents, gathers their results, crafts a response, and repeats for the conversation length. AgentCore provides isolated sessions and framework portability; guardrails block or redirect unsafe flows; LLM-as-judge test conversations evaluate quality; circuit breakers stop high-cost or high-turn conversations and hand them to the dealership.

3 supporting quotes
“When a customer sends in a new message, the orchestrator understands that intent and routes that message down to one of several sub-agents, sales, service, and so on.”transcript, stated
“It keeps your data sessions separated, and it allows you to swap frameworks without re-architecting your entire stack.”transcript, stated
“In either case, the P99 cost or the turn, we hand off the conversation to someone at the dealership”transcript, stated

Why this architecture

Cox chose AgentCore and Strands to avoid rebuilding runtime, session, identity, tool, and observability infrastructure under a five-week launch constraint. The architecture keeps agentic product teams focused on domain behavior while standardizing safety through red teaming, guardrails, evaluation, circuit breakers, and graceful handoff.

3 supporting quotes
“We had a goal, five projects, five teams in production. We had a deadline, Labor Day, which was about five and a half weeks from that point.”transcript, stated
“We did here because we'd partnered with AWS, we saw the roadmap, we understood what was there.”transcript, stated
“With strands, all you really have to think about is what the text you write is and the tools you use are”transcript, stated

Models used: Amazon Bedrock models · LLM-as-judge · Strands agents · Bedrock AgentCore

Scale

Alternatives considered (roads not taken)

Build the agent runtime infrastructure internally

Rejected because: Cox judged it unnecessary and wasteful for each team to solve runtime, orchestration, tooling, monitoring, and cost problems themselves.

“And we knew how silly it would be for us to build it ourselves. And more silly for us to build it ourselves.”transcript, stated

Let each team pick a different framework

Rejected because: Cox wanted to learn one framework and get to market in five weeks rather than spread learning across five frameworks.

“we could have given one framework to each of the five teams, but would that, maybe we would have learned things, but we really wanted to get a market in five weeks.”transcript, stated

Hard blocking guardrails only

Rejected because: Pure blocking creates poor customer experiences in customer service, so Cox added soft guardrails that redirect conversations helpfully.

“if you only focus on blocking, you're gonna provide a poor customer experience.”transcript, stated

Manual review of every conversation

Rejected because: Manual review works for dozens or hundreds of conversations but not tens of thousands of daily transactions.

“manual review just won't scale.”transcript, stated

Patterns

multi-agent-orchestration (orchestration)

The customer-service assistant routes each message through an orchestrator to domain sub-agents, then composes their results into a customer response.

“the orchestrator understands that intent and routes that message down to one of several sub-agents, sales, service, and so on.”transcript, stated
“once all the sub-agents are complete, the orchestrator now grabs all of that resulting data and crafts a message back to the customer”transcript, stated

safety-policy-enforcement (governance)

Cox uses hard guardrails to block unsafe requests and soft guardrails to redirect risky conversations while preserving customer experience.

“We call these hard guardrails and soft guardrails.”transcript, stated
“When you use soft guardrails, you tune the system so that it responds with, "That's a great question for our finance team.”transcript, stated

eval-driven-development (evaluation)

Cox red-teams before alpha, beta, and production, catalogs exploits, and repeats after code deployments and prompt changes.

“For us, we red-teamed before our alpha phase, our beta phase, and we continue to red-team as we move to production.”transcript, stated
“And we do this after every code deployment and every prompt change.”transcript, stated

llm-as-judge (evaluation)

Cox generates test conversations, runs them through the assistant, and uses another LLM to score correctness dimensions such as relevancy, completeness, and tone.

“Just as you can use an LLM to generate these responses, you can use another LLM to judge whether or not these responses are correct.”transcript, stated
“For us, we track metrics like relevancy, completeness, and tone, things that matter for customer conversations.”transcript, stated

fallback-degradation (reliability)

Cox adds circuit breakers for P95/P99 cost and turn counts, stopping conversations and handing them to dealer staff when thresholds are crossed.

“I'm talking about the hard limits that stop the assistant when things go wrong.”transcript, stated
“In either case, the P99 cost or the turn, we hand off the conversation to someone at the dealership”transcript, stated

Tradeoffs

Runtime foundation

Chose Amazon Bedrock AgentCore over building agent runtime infrastructure internally.

Rationale: AgentCore gave product teams runtime, memory, identity, gateway, observability, browser, and code-interpreter foundations under a short launch deadline.

“So we believe this is the infrastructure that gets your agents into production.”transcript, stated
“we said we're gonna stay here. We're gonna take a risk and we're gonna dive into Agent Core.”transcript, stated

Framework focus

Chose one shared Strands direction for the five teams over letting each team use a different agent framework.

Rationale: A shared framework reduced learning dispersion and helped Cox focus on getting products to market in five weeks.

“we really wanted to get a market in five weeks. So let's focus all of our energy learning one thing and getting really good at it”transcript, stated

Safety behavior

Chose hard guardrails plus soft conversational redirection over only blocking unsafe conversations.

Rationale: Customer service often needs helpful escalation or appointment-setting instead of a hard refusal.

“Something to completely block the system, as well as something to just gently nudge the conversation into a different direction”transcript, stated

Gotchas (what bit them)

Framework churn can derail product teams mid-project.

Root cause: Agent frameworks changed during the build, including guidance shifting from Agent Squad to Strands.

Resolution: AgentCore provided a foundation that let Cox swap frameworks without re-architecting the whole stack.

“by the time we got into mid-project, the new guidance was use trans-agents. This is a more better solution.”transcript, stated
“because we had started with solid foundation, it only took us two.”transcript, stated

Blocking-only guardrails damage customer service.

Root cause: Customer-service conversations often need redirection rather than refusal.

Resolution: Cox uses hard guardrails for stops and soft guardrails to nudge conversations toward safe handoff paths.

“if you only focus on blocking, you're gonna provide a poor customer experience.”transcript, stated
“these kind of guardrails allow you to continue to be helpful while staying safe.”transcript, stated

Red teaming does not prove the assistant works.

Root cause: Red teaming finds breakage, but probabilistic LLMs still need dynamic evaluation for correctness.

Resolution: Cox adds automated LLM-as-judge evaluation after red teaming and guardrails.

“Because testing checks what works. And red-teaming actually tries to break it.”transcript, stated
“you still actually have to test that it works, right? But traditional testing can only take you so far because these LLMs are probabilistic.”transcript, stated

Autonomous conversations need hard operating boundaries.

Root cause: LLMs may run unexpectedly long or create excessive cost while no operator is around.

Resolution: Cox sets cost and turn-count circuit breakers and hands off conversations to dealerships.

“you still will have the LLM do something that you least expected. And the last thing you want is to wake up to a whopping LLM bill.”transcript, stated
“we consider two metrics as our hard limits, cost limits and turn limits.”transcript, stated

Evaluation

Cox evaluates agents through red teaming before alpha, beta, and production; exploit catalogs after deployments and prompt changes; LLM-as-judge test conversations; relevancy, completeness, and tone metrics; and circuit-breaker monitoring for cost and conversation turns.

Metrics: Red-team exploit catalog · Relevancy · Completeness · Tone · P95 and P99 cost thresholds · Turn-count threshold such as 20 turns · Conversation handoff rate

3 supporting quotes
“We catalog every exploit, and then we fix them, and then we iterate to the next thing.”transcript, stated
“For us, we track metrics like relevancy, completeness, and tone, things that matter for customer conversations.”transcript, stated
“that the conversation has hit our P95 threshold in terms of cost. At that point, the assistant will stop.”transcript, stated

Outcomes

Cox reports 5.1 trillion vehicle insights, hundreds of millions of customer interactions, about 150-plus AI models in production, five teams/projects in a five-and-a-half-week push, and AgentCore support for 100 MB payloads and eight-hour sessions.

3 supporting quotes
“Today we have three apps in production in a beta format.”transcript, stated
“We're hearing that their customers are getting the answers that they need both during the day and after hours.”transcript, stated
“let's just say one we took back to the drawing board and reimagined.”transcript, stated