Lessons Learned from Deploying 30+ GenAI Agents in Production

quic · Tech · 2023 · source Agentic: yes · promotional bias: high · 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: customer experience AI agents

Quic needed to deploy customer-facing generative AI agents that could resolve real support and commerce tasks without losing control over scope, compliance, hallucination risk, observability, model changes, or human handoff.

Constraints:

Architecture

Quic describes a production-agent operating model that combines scoped customer-experience agents, RAG over task-specific knowledge, authenticated API tools, risk-based guardrails, LLM-based regression testing, observability, hallucination detection, staged launch, and human escalation. The agent uses customer state and focused knowledge to decide which intents and APIs matter for the current task, while separate monitoring and verification models watch responses, costs, latency, drift, and goal-state outcomes.

Diagram confidence: reconstructed (reconstructed from prose).

flowchart LR
  Customer_facing_AI_agent["Customer-facing AI agent"] --> Customer_state_layer["Customer state layer"]
  Customer_facing_AI_agent --> Task_specific_RAG["Task-specific RAG"]
  Task_specific_RAG --> Knowledge_ingestion_pipeline["Knowledge ingestion pipeline"]
  Customer_facing_AI_agent --> Authenticated_API_tools["Authenticated API tools"]
  Authenticated_API_tools --> Security_guardrails["Security guardrails"]
  Security_guardrails --> Claim_verification["Claim verification"]
  Customer_facing_AI_agent --> Regression_and_evaluation_suite["Regression and evaluation suite"]
  Regression_and_evaluation_suite --> Observability_console["Observability console"]
  Observability_console --> Feedback_tooling["Feedback tooling"]
  Feedback_tooling --> Knowledge_ingestion_pipeline
  Claim_verification --> Human_escalation["Human escalation"]
  Human_escalation --> Customer_facing_AI_agent
Drag to pan · scroll or use +/− to zoom · reconstructed from the source's described component topology

Components

Component Role Interacts with
Customer-facing AI agent Conversational agent for ecommerce or customer-care tasks that represents the brand and guides customers through support flows. Customer state layer, Task-specific RAG, Authenticated API tools, Human escalation
Customer state layer Provides identity, current situation, and scoped context needed to personalize the agent's next action. Customer-facing AI agent, Task-specific RAG
Task-specific RAG Retrieves focused knowledge for the active task instead of dumping the whole knowledge base into the prompt. Customer-facing AI agent, Knowledge ingestion pipeline
Knowledge ingestion pipeline Refreshes knowledge bases, transforms content, indexes it in vector databases, and feeds updated content back to the agent. Task-specific RAG, Feedback tooling
Authenticated API tools Business APIs that let the agent complete consequential actions such as changing flights or issuing service workflows. Customer-facing AI agent, Security guardrails
Security guardrails Compliance, canned-response, bias-management, authentication, and hallucination controls around generative behavior. Customer-facing AI agent, Authenticated API tools, Claim verification
Regression and evaluation suite Mocks APIs and uses model-based judgment to evaluate generative responses against target behavior across model changes. Customer-facing AI agent, Observability console
Claim verification Non-generative confidence model that compares evidence, conversation state, user question, and generated response before allowing low-confidence answers. Security guardrails, Human escalation
Observability console Conversation and prompt debugging surface for turns, token use, inference time, replay, feedback, and drift analysis. Regression and evaluation suite, Feedback tooling
Feedback tooling Lets staff flag and tag conversations so AI engineers can inspect issues and improve prompts, knowledge, or flows. Observability console, Knowledge ingestion pipeline
Human escalation Fallback path for low-confidence answers, edge cases, internal review, and agent-facing rollout before public exposure. Customer-facing AI agent, Claim verification

Data flow

A customer interaction starts with identity and current state, such as a canceled flight or impacted travel. The agent narrows the relevant intent and retrieves task-specific knowledge rather than the whole knowledge base, then combines that context with APIs that can change flights or complete other actions. Development and operations wrap this flow with regression suites, mocked APIs, LLM-as-judge checks, claim verification, observability, feedback tagging, and staged public exposure before expanding availability.

3 supporting quotes
“the AI agent needs to understand who I am pull the current state for what I'm impacted by let's say impacted by a hurricane”transcript, stated
“we're going to give it the knowledge that's specific to the task and this really allows the large language models to generate very targeted responses”transcript, stated
“you couple that with the apis for like changing flights and you can start to see you're going to create a really great guest experience”transcript, stated

Why this architecture

The architecture keeps LLMs focused on tasks where generative behavior adds value, while using structured UI, traditional intent routing, canned responses, guardrails, APIs, and humans where speed, compliance, or trust matter more. Quic emphasizes that RAG alone is only search; the production value comes when focused knowledge, customer state, and authenticated APIs let the agent complete the customer goal.

3 supporting quotes
“large language models are not going to solve everything so pick the right model”transcript, stated
“Rag by itself is just Fancy Search I'm G to get into how you can use rag in a more intelligent way”transcript, stated
“apis are going to help your guests get things done and accomplish their goals”transcript, stated

Models used: large language models · Google Dialogflow · LLM-based regression evaluator · non-generative claim verification model · RAG over vector databases · Deepgram voice model

Scale

Alternatives considered (roads not taken)

Use the LLM for every routing and intent problem

Rejected because: Quic sometimes uses faster non-generative systems such as Dialogflow for intent analysis and quick routing.

“there's times for Speed that we use Google dialogue flow to do intent analysis to do quick routing because it's so much faster than Modge language models”transcript, stated

Expose only a blank chat box

Rejected because: The speaker argues that structured UI components still improve the user experience when made dynamic.

“there was a a lot of fascination with the blank text box you just type in and you talk to the AI agent and you get back responses that's still great but don't forget all the things we've learned along the way”transcript, stated

Use RAG only as broad Q&A over the whole knowledge base

Rejected because: Quic wants task-specific knowledge that supports customer actions rather than generic search.

“guests are not coming to your website just ask questions they're coming to get things done”transcript, stated

Let QA spend most of its time tricking the model

Rejected because: Quic recommends prioritizing real-world use cases first, then adversarial prompting near the end.

“don't have them Focus there have them focus on real world use cases make sure this thing is robust in handling real world use cases”transcript, stated

Patterns

tool-use-orchestration (architecture)

Customer-experience agents combine scoped knowledge with authenticated APIs so they can change bookings or perform other service actions rather than only answer questions.

“really pull all these together because this is how you're going to solve really meaningful problems”transcript, stated
“now you couple that with the apis for like changing flights and you can start to see you're going to create a really great guest experience”transcript, stated

rag-retrieval (retrieval)

RAG is used as the knowledge layer, but Quic narrows retrieved knowledge to the active customer task to keep responses targeted.

“rag stands for retriev augmented generation basically what it does it combines the strength of information retrieval and evx text generation”transcript, stated
“rather than pulling the whole knowledge base we're going to give it the knowledge that's specific to the task”transcript, stated

eval-driven-development (quality)

Regression testing uses many scenarios plus an LLM evaluator that decides whether generative responses are close enough to target behavior.

“you really need a robust regression suite and if you look at autonomous driving Paradigm what they will do is they will go out and they'll create hundreds and thousands of tests”transcript, stated
“you'll have a large language model looking at the responses of the large language model but trained in a different way to say this response is close enough within threshold”transcript, stated

observability-tracing (operations)

Quic treats LLM observability as a production requirement for inspecting internal states, parallel prompts, costs, token use, latency, drift, and conversation replay.

“you need the ability to monitor understand and interpret those internal States the decision-making process that your AI agent took”transcript, stated
“you also need to see the costs the token uses the inference times everything else that goes inside of this”transcript, stated

confidence-thresholding (reliability)

A separate non-generative verifier scores generated responses against evidence and conversation state; low-confidence answers are discarded or escalated.

“it takes a response from the large language model and it says with confidence knowing this evidence how close is this response to being true”transcript, stated
“low confidence responses are thrown out and then AI agent can clarify questions from the user or maybe escalate to a human agent”transcript, stated

human-in-the-loop-gate (governance)

Humans remain part of the operating model for escalation, internal agent-facing rollout, business signoff, and cases where AI should not be trusted alone.

“humans are never never going to be completely eliminated by AI the way it is they're just needed to be kept in the loop”transcript, stated
“take your AI agent and have it working with your your staff internally they'll be interacting with it it's kind of way to lower risk”transcript, stated

canary-rollout (deployment)

The public launch recommendation is a limited daily exposure window so teams can inspect unexpected production behavior before widening availability.

“once the public starts using it's going to be used in ways that you did not anticipate”transcript, stated
“you go live on a limited window maybe two hours a day you put the generative AI system into through the public and then you go back to your regular agent”transcript, stated

Tradeoffs

Use traditional intent routing where latency matters

Chose Dialogflow-style intent analysis for fast routing over LLM calls for every intent decision.

Rationale: The speaker says some routing tasks are faster and better served by non-generative systems, even inside an LLM agent architecture.

“sometimes we don't even use generative models there's different generative models out there you're going be mixing and matching the right models”transcript, stated
“there's times for Speed that we use Google dialogue flow to do intent analysis to do quick routing because it's so much faster”transcript, stated

Keep humans in the operating loop

Chose AI resolution plus human review and escalation over A fully autonomous replacement of support staff.

Rationale: The target is meaningful automation without assuming all customer support can or should be automated.

“AI is fantastic but it's not going to replace humans not all the way”transcript, stated
“make sure that everything you're doing with AI is not negatively impacting your humans”transcript, stated

Buy orchestration when the business value is elsewhere

Chose Spend innovation budget on APIs and customer tasks over Building the whole LLM orchestration layer internally.

Rationale: Quic argues many teams do not want to spend scarce budgets on stitching orchestration tools when their real differentiator is action-capable APIs.

“a lot of consumers that I've worked with want to spend this their Innovation budgets working on those apis from the previous slides”transcript, stated
“a lot of businesses don't necessarily want to focus on llm orchestration putting on the tools together but rather just getting things done”transcript, stated

Handle corner cases with escalation instead of prompt complexity

Chose Escalate edge cases to human agents over Increasing model complexity for every adversarial or rare interaction.

Rationale: The talk advises keeping initial builds simpler and routing unusual cases away from the LLM rather than overfitting the agent.

“rather than introduce the complexity into the large language model instead escalate to human agents for those chroner cases”transcript, stated
“don't over complicate the builds especially in in your Milestone one”transcript, stated

Gotchas (what bit them)

Excitement about LLM capability can outrun business-value definition.

Root cause: Stakeholders may start deployment before agreeing on a realistic scope, clear objectives, and business owner.

Resolution: Define measurable objectives, align IT and business stakeholders, and start with a specific job for the agent.

“I've seen some customers get so excited by the power of large language models they jump in and they go and only after they launch do they realize they have an articulated business value”transcript, stated
“give your AI agents a very simple and specific job don't get overwhelmed but do plan for more ambitious future”transcript, stated

Regulated responses may not be allowed to be generative.

Root cause: Compliance regimes such as transportation rules require deterministic canned content in some flows.

Resolution: Identify governance and compliance requirements early and route those flows through canned responses or strict guardrails.

“with a very large Airline and they're under the Department of Transportation regulations and so some responses have to be canned and not generative”transcript, stated

Model deprecations can break production agents.

Root cause: Provider model changes are non-trivial behavior changes for generative systems, and exact-response tests do not catch the right failures.

Resolution: Maintain robust mocked regression suites and LLM-based evaluation thresholds for recurring model-change validation.

“when they deprecate those are not trivial changes they will break your existing production AI agents”transcript, stated
“you want a really robust regression Suite not only for initial development but as model duplications occur”transcript, stated

LLM systems are opaque when something goes wrong.

Root cause: Multiple prompts, parallel calls, token usage, cost, and hidden decision paths make failed behavior hard to diagnose after the fact.

Resolution: Build observability early enough to inspect prompts, internal states, decisions, token use, inference time, and conversation replay.

“large language models are just by Nature opaque if you've used chat GPT you understand this you give it a question comes back response you have no idea what happened”transcript, stated
“if you don't build this now you're going to be struggling later when hard questions are being asked on why your AI agents are not behaving correctly”transcript, stated

Public go-live exposes requirements and failure modes that internal teams did not anticipate.

Root cause: Executives, QA, and real customers test generative agents differently, and LLM agents are held to a higher standard than human agents.

Resolution: Use early previews, SME feedback, realistic QA, limited public launch windows, and feedback tooling for rapid fixes.

“this is the first time that these people are going to be seeing your data and your processes in their hands and they're going to start to come up with user stories”transcript, stated
“I've seen llm agents held to a higher standard than human agents were 100% code um conversation review”transcript, stated

Evaluation

Quic evaluates generative agents with regression suites, mocked APIs, LLM-as-judge comparisons to target responses, goal-state analytics, drift detection, and a separate claim-verification confidence model for hallucination prevention.

Metrics: response close-enough threshold against target responses · cost, token use, and inference time · goal-state thresholds and alerts · sentiment analysis and emerging intent detection · claim-verification confidence score · CSAT, resolution rates, and agent handling time

4 supporting quotes
“you'll have a large language model looking at the responses of the large language model but trained in a different way to say this response is close enough within threshold to the Target response”transcript, stated
“make sure those are defined and then you have alerting on those things as well so if you start to exceed certain thresholds”transcript, stated
“large language models evaluate large language models is certainly a thing it's pretty cool”transcript, stated
“it takes a response from the large language model and it says with confidence knowing this evidence how close is this response to being true”transcript, stated

Outcomes

Vendor talk; outcome claims are useful but should be treated as self-reported. The strongest grounded scale facts are 30+ deployed agents, around 60% tier-one support as a possible target, two-hour go-live windows, and 24-hour ingestion cadence.

3 supporting quotes
“we've deployed over 30 different AI agents in the industry and these are General themes that I've seen pretty much every time”transcript, stated
“higher C set high resolution rates we're seeing our agent handling times drop things are looking great”transcript, stated
“these are painful lessons I've learned not just once but repeatedly otherwise I would't share them with you”transcript, stated