ElevenLabs Pushes Live Diagnostics to Cut Voice Agent Errors

The Loop, Not the Launch: Building Agents That Get Better With You with ElevenLabs — Ai4

Ai4

Deploying voice agents to live traffic with quantitative benchmarks and human review resolves performance bottlenecks that synthetic testing and endless prompt tinkering fail to catch.

AI-assisted summary of The Loop, Not the Launch: Building Agents That Get Better With You with ElevenLabs — original source. Check the original for full context.

Source published:

Detailed notes

## Background Published by the Ai4 channel on YouTube on August 21, 2026, this conference presentation features Amanda Milberg, an Enterprise Solution Engineer at ElevenLabs. According to the description, the session provides a practical framework for moving past aimless tinkering in agent development, guiding teams on how to know when an agent is "done enough" and why human review remains indispensable over full automation.

## TL;DR Milberg argues that successful voice agents rely on structured human instruction and continuous iteration rather than black-box AI "magic." She breaks down the primary obstacles in agent development—unconstrained autonomy, shifting business realities, and elusive failure evaluation—and presents practical remedies anchored by retrieval and strict baseline metrics. To structure improvement, she introduces the "Define, Deploy, Diagnose" (DDD) framework, demonstrating how canary deployments and diagnostic tools like ElevenLabs Architect allow teams to review actionable configuration diffs. The session culminates with an ElevenLabs voice agent delivering the final takeaway: sustainable agent design is an iterative feedback loop with humans firmly in control.

## Atmosphere & style The presentation is pragmatic, engineering-grounded, and refreshingly candid, stripping away AI conference hype in favor of operational reality. Milberg speaks with the direct, approachable demeanor of a forward-deployed engineer who has personally navigated messy production edge cases. An unexpected on-stage moment—when her cell phone rings live because a deployed test agent routes calls directly to her—injects authentic, relatable humor that reinforces her battle-tested credibility.

## Key takeaways - [00:04](https://www.youtube.com/watch?v=PE6XNvO3tNA&t=4s) True business value from voice agents comes from deliberate human instruction and operational guidance rather than standalone AI capabilities. - [00:04](https://www.youtube.com/watch?v=PE6XNvO3tNA&t=4s) Voice agent architecture requires synchronizing LLM reasoning, knowledge bases, and tools with speech orchestration layers like Voice Activity Detection, STT, TTS, and turn-taking. - [05:23](https://www.youtube.com/watch?v=PE6XNvO3tNA&t=323s) Production voice agents face three core hurdles: balancing autonomy against control, tracking shifting real-world business policies, and diagnosing conversational failure root causes. - [08:15](https://www.youtube.com/watch?v=PE6XNvO3tNA&t=495s) Autonomy should be scoped methodically by collaborating with internal teams to convert tacit institutional knowledge into concrete Standard Operating Procedures (SOPs). - [08:15](https://www.youtube.com/watch?v=PE6XNvO3tNA&t=495s) Dynamic enterprise information should be integrated via live retrieval and external APIs rather than hardcoded into static system prompts. - [08:15](https://www.youtube.com/watch?v=PE6XNvO3tNA&t=495s) Baseline performance metrics must be established before modifying prompts to avoid making unverified changes that cause regressions. - [11:50](https://www.youtube.com/watch?v=PE6XNvO3tNA&t=710s) The Define, Deploy, Diagnose (DDD) framework establishes a continuous cycle to replace vibes-based agent evaluation with structured iteration. - [11:50](https://www.youtube.com/watch?v=PE6XNvO3tNA&t=710s) Setting explicit quantitative targets upfront prevents endless tinkering by defining exactly when an agent is 'done enough'. - [11:50](https://www.youtube.com/watch?v=PE6XNvO3tNA&t=710s) Routing a small portion of live traffic (such as 10% for 2–4 weeks) surfaces authentic conversational edge cases that synthetic testing suites fail to capture. - [15:42](https://www.youtube.com/watch?v=PE6XNvO3tNA&t=942s) Automated diagnostic tools like ElevenLabs Architect evaluate call transcripts and agent configurations via natural language queries to pinpoint latency and quality bottlenecks. - [15:42](https://www.youtube.com/watch?v=PE6XNvO3tNA&t=942s) Diagnostic workflows should incorporate Git-style diff interfaces so human operators can inspect, refine, or reject automated recommendations before deployment. - [17:24](https://www.youtube.com/watch?v=PE6XNvO3tNA&t=1044s) Full automation is not the final objective; ongoing human review is necessary to verify that agent iterations genuinely improve performance rather than simply running continuously.

## Detailed walkthrough ### [00:04](https://www.youtube.com/watch?v=PE6XNvO3tNA&t=4s) Introduction: The Role of Humans in Agent Building

Amanda Milberg introduces herself as a Solutions Engineer on the forward-deployed engineering team at ElevenLabs. Acknowledging the conference theme where AI often feels like "magic," she argues that true business value from voice agents does not come from magic, but from the human beings who instruct and guide the agent. ElevenLabs is a research-first AI company recognized for frontier models across speech, music, and audio, and provides an enterprise platform called Eleven Agents to help organizations build, test, deploy, and monitor voice agents in production.

Milberg defines a voice agent as an AI system that conducts live spoken conversations with a person by understanding what they say and responding in natural speech to complete a task. To contrast this with legacy interactive voice response (IVR) phone trees, she presents the example of a customer calling to reschedule a delivery: the voice agent listens to the request, queries the live delivery database in real time, offers reschedule windows, and confirms the new appointment—all without human agent intervention. Technically, this combines a traditional LLM agent architecture (system prompt, agentic tools, knowledge bases/SOPs) with ElevenLabs' speech engine orchestration (speech-to-text, text-to-speech, voice activity detection, and turn taking).

```mermaid flowchart TD accTitle: ElevenLabs Voice Agent Technical Architecture subgraph SpeechEngine["Speech Engine Orchestration"] STT["Speech-to-Text (STT)"] VAD["Voice Activity Detection & Turn Taking"] TTS["Text-to-Speech (TTS)"] end subgraph AgentCore["Agent Reasoning Core"] LLM["LLM & System Prompt"] KB["Knowledge Base & SOPs"] Tools["Real-Time Tools & APIs"] end

User["User Voice Input"] --> VAD VAD --> STT STT --> LLM LLM <--> KB LLM <--> Tools LLM --> TTS TTS --> VoiceOut["Natural Voice Response"] ```

[05:23](https://www.youtube.com/watch?v=PE6XNvO3tNA&t=323s) The Three Core Challenges in Building Agents

Building production-ready voice agents presents unique difficulties, which Milberg groups into three primary friction points:

1. **Agency cuts both ways:** The ability for an agent to reason autonomously makes conversations fluid and adaptable, but that same autonomy allows it to stray off-script, invoke tools unexpectedly, or resolve customer issues in unintended ways. Teams must deliberately balance autonomy against step-by-step restrictions. 2. **Reality keeps moving:** Enterprise policies, documentation, and internal workflows shift continuously. Agents risk operating on outdated guidance unless memory structures and underlying data integrations are continuously kept fresh. 3. **Evaluation is hard:** While identifying an outright failure is straightforward, pinpointing the root cause is difficult. Failures can stem from conflicting system prompt instructions, stale knowledge retrieval, or an inappropriate vocal tone that frustrates the user despite technically accurate answers.

[08:15](https://www.youtube.com/watch?v=PE6XNvO3tNA&t=495s) Three Practical Mitigation Strategies

To counter these core challenges, Milberg provides three practical countermeasures:

- **Scope autonomy deliberately:** Treat agent onboarding like human onboarding. Instead of expecting a "two-day immersive onboarding program in Florida," collaborate directly with internal enablement and contact center teams to translate tacit operational knowledge into clear Standard Operating Procedures (SOPs) delineating allowed and prohibited behaviors. - **Prioritize retrieval over memorization:** Avoid hardcoding company knowledge directly into prompt text. Ground the agent in live database queries and connected knowledge bases, while maintaining a scheduled cadence outside the prompt to purge stale source documentation. - **Establish baseline metrics before changing prompts:** Pushing prompt fixes without a benchmark makes it impossible to know whether changes represent progress or "one step forward and two steps back." Quantitative metrics must be tracked continuously over time.

[11:50](https://www.youtube.com/watch?v=PE6XNvO3tNA&t=710s) The "Define, Deploy, Diagnose" (DDD) Framework

To give teams an actionable workflow, Milberg introduces the "Triple D" framework: **Define**, **Deploy**, and **Diagnose**.

```mermaid flowchart LR accTitle: Define Deploy Diagnose Iteration Loop subgraph Loop["The Iteration Loop"] direction LR D1["1. DEFINE<br/>• North-star metrics<br/>• Guardrails & SOPs<br/>• Reporting setup"] D2["2. DEPLOY<br/>• Low-risk live traffic (e.g. 10%)<br/>• Run 2–4 weeks<br/>• Surface real edge cases"] D3["3. DIAGNOSE<br/>• Analyze failures<br/>• Expand agent scope<br/>• Update success criteria"] D1 --> D2 D2 --> D3 D3 --> D1 end ```

- **Define:** Explicitly establish quantitative success criteria upfront to prevent "vibes-based" evaluation. Rather than vague goals like "make the agent better at support," set clear targets: *"Reduce 70% of Tier-1 support tickets with less than 5% negative sentiment detected across 500 live calls."* - **Deploy:** Deploy early to capture real conversational edge cases that synthetic test suites miss. A standard deployment strategy routes 10% of production traffic to the voice agent for 2 to 4 weeks—statistically significant for data collection while limiting blast radius for minor bugs. - **Diagnose:** Analyze what worked and what failed to set the criteria for the next iteration loop. This might involve expanding agent autonomy (such as granting refund processing capabilities instead of pure routing) or shifting optimization targets (such as optimizing for first-contact resolution rather than basic deflection).

During the discussion on live deployments, Milberg's phone rings on stage—revealing that the live production transfer number for an agent currently being tested is routed to her personal cell phone.

[15:42](https://www.youtube.com/watch?v=PE6XNvO3tNA&t=942s) ElevenLabs Architect: Automated Diagnostics with Human-in-the-Loop

ElevenLabs built this iterative diagnostic workflow directly into their platform through a feature called **Architect**. Instead of manually parsing thousands of call transcripts, teams can query Architect in natural language (e.g., *"Tell me why my agent is slow"*).

Architect evaluates the entire agent JSON configuration alongside workspace conversation logs to pinpoint latency bottlenecks and surface recommendations, such as switching to a lighter LLM or adjusting the text-to-speech model. Changes can be inspected through a Git-like diff interface where human operators approve, modify, or reject recommendations before deploying updates into production.

[17:24](https://www.youtube.com/watch?v=PE6XNvO3tNA&t=1044s) Summary Delivered by an ElevenLabs Voice Agent

To conclude the presentation, Milberg has an ElevenLabs voice agent deliver the four main takeaways:

1. **Define success criteria:** Vague goals create endless iteration; know what "done" looks like to prevent aimless tinkering. 2. **Run the Define-Deploy-Diagnose loop:** Iteration is an ongoing cycle feeding diagnostic data back into future deployments. 3. **Use self-improving tooling:** Use tools like Architect to cluster failure modes across conversations and triage with evidence rather than guesswork. 4. **Keep humans in the loop:** Automation provides scale, but human review confirms whether an update genuinely improved performance.

## Notable quotes > [05:23](https://www.youtube.com/watch?v=PE6XNvO3tNA&t=323s) Agency cuts both ways — Amanda Milberg

> [05:23](https://www.youtube.com/watch?v=PE6XNvO3tNA&t=323s) Reality keeps moving — Amanda Milberg

> [05:23](https://www.youtube.com/watch?v=PE6XNvO3tNA&t=323s) Evaluation is hard — Amanda Milberg

> [08:15](https://www.youtube.com/watch?v=PE6XNvO3tNA&t=495s) Scope autonomy deliberately — Amanda Milberg

> [08:15](https://www.youtube.com/watch?v=PE6XNvO3tNA&t=495s) two-day immersive onboarding program in Florida — Amanda Milberg

> [08:15](https://www.youtube.com/watch?v=PE6XNvO3tNA&t=495s) Prioritize retrieval over memorization — Amanda Milberg

> [08:15](https://www.youtube.com/watch?v=PE6XNvO3tNA&t=495s) Establish baseline metrics before changing prompts — Amanda Milberg

> [08:15](https://www.youtube.com/watch?v=PE6XNvO3tNA&t=495s) one step forward and two steps back — Amanda Milberg

> [11:50](https://www.youtube.com/watch?v=PE6XNvO3tNA&t=710s) Reduce 70% of Tier-1 support tickets with less than 5% negative sentiment detected across 500 live calls. — Amanda Milberg

> [15:42](https://www.youtube.com/watch?v=PE6XNvO3tNA&t=942s) Tell me why my agent is slow — Amanda Milberg

## Mentioned Amanda Milberg, ElevenLabs, Eleven Agents, Architect, Ai4

## Video description Amanda Milberg - Enterprise Solution Engineer, ElevenLabs

Agent building is a constant process of iteration, which raises two questions most teams don't have good answers to: how do you know when to stop, and how do you know what to improve next? In this talk, we'll share practical ways to identify what actually needs improving in an agent and how to prioritize those changes, plus techniques for building self-improving agents that can surface their own weak points. We'll also make the case for why full automation isn't the end goal, and where human review is what actually tells you the iteration is working, not just running. Attendees will leave with a framework for knowing when their agent is "done enough" and a concrete process for deciding what to fix next. If you've ever wondered whether you're improving your agent or just tinkering with it, this talk will give you the answer.

[Source](https://www.youtube.com/watch?v=PE6XNvO3tNA)

中文简报

ElevenLabs推进实时诊断以减少语音智能体错误 通过量化基准与人工审核将语音智能体部署至实际流量中,能够解决合成测试和无休止的提示词微调所无法捕捉的性能瓶颈。 Milberg指出,成功的语音智能体依赖于结构化的人工指导和持续迭代,而非黑盒式的AI“魔法”。她剖析了智能体开发中的主要障碍——不受约束的自主性、不断变化的业务实际情况以及难以捉摸的故障评估,并提出了以检索和严格基线指标为依托的实用解决方案。为了构建改进流程,她引入了“定义、部署、诊断”(DDD)框架,展示了金丝雀部署以及像ElevenLabs Architect这样的诊断工具如何让团队能够审查可执行的配置差异。本次分享以一个ElevenLabs语音智能体传达最终结论作为高潮:可持续的智能体设计是一个由人类牢牢掌控的迭代反馈循环。 语音智能体带来的真正商业价值源于审慎的人工指令和操作引导,而非孤立的AI能力。 (0:04) 语音智能体架构需要将LLM推理、知识库和工具与语音活动检测(VAD)、STT、TTS和话轮转换等语音编排层保持同步。 (0:04) 生产环境中的语音智能体面临三大核心障碍:平衡自主性与控制力、跟踪现实中不断变化的业务策略,以及诊断对话失败的根本原因。 (5:23) 应通过与内部团队协作,将隐性组织知识转化为具体标准作业程序(SOP),从而有条理地界定自主性范围。 (8:15) 动态的企业信息应通过实时检索和外部API接入,而非硬编码到静态系统提示词中。 (8:15)

Reading summary

Amanda Milberg of ElevenLabs argues that enterprise voice agents deliver real business value not through autonomous AI breakthroughs, but through continuous human instruction, structured operational guardrails, and disciplined iteration. Voice Agent Architecture and Human Direction (0:04) A voice agent conducts live, bidirectional spoken conversations to complete tasks, distinguishing itself from legacy interactive voice response (IVR) phone trees through dynamic execution—such as querying a live database in real time to reschedule a delivery appointment without human intervention. Technically, this system integrates an LLM reasoning core (system prompts, agentic tools, knowledge bases, and standard operating procedures) with speech orchestration covering speech-to-text, text-to-speech, voice activity detection, and turn-taking. Milberg notes that despite perceptions of AI as self-contained or magical, voice agents depend directly on human operators for direction. Without deliberate human configuration and monitoring, systems lack the context needed to navigate organizational workflows and handle complex customer interactions properly. Core Friction Points in Production Deployments (5:23) Building production-grade voice agents introduces three primary challenges. First, autonomous reasoning introduces unpredictability: the flexibility that enables natural dialogue also allows agents to veer off-script, invoke tools inappropriately, or resolve inquiries in unapproved ways. Teams must balance open-ended autonomy against strict operational constraints. Second, enterprise realities shift constantly as policies, documentation, and workflows update, threatening to leave agents relying on stale data. Third, failure evaluation is complex; pinpointing whether an error stems from conflicting prompt instructions, outdated knowledge retrieval, or an inappropriate vocal tone that frustrates callers requires deeper analysis than merely detecting that a call went poorly. Mitigation Through the Define, Deploy, Diagnose Loop (8:15) To counter these operational risks, Milberg recommends treating agent onboarding like employee enablement: translating tacit knowledge into explicit Standard Operating Procedures (SOPs) and prioritizing live database retrieval over hardcoded prompt memorization. Prompt changes should never occur without established quantitative baselines to prevent untracked regressions. Teams apply these safeguards through the 'Define, Deploy, Diagnose' (DDD) framework. Operators first define concrete, non-subjective metrics (such as deflecting 70% of Tier-1 support tickets with less than 5% negative sentiment across 500 calls). Next, they deploy early to a low-risk slice of live traffic—typically routing 10% of calls over two to four weeks—to capture real-world edge cases. Finally, operators diagnose failure modes to recalibrate success metrics or gradually expand permissions, such as enabling direct refund processing. Automated Diagnostics and Human Verification (15:42) To accelerate root-cause analysis across thousands of call transcripts, ElevenLabs developed Architect, an internal diagnostic tool. Operators query the tool in natural language to identify performance issues, such as high latency. Architect inspects the agent's JSON configuration and conversation history to recommend specific adjustments, such as switching to a lighter LLM or altering the speech synthesis model. Rather than applying automatic updates, the system presents changes through a Git-like visual diff interface. Human operators inspect, alter, or reject the proposed modifications before pushing them to production, ensuring that diagnostic automation assists analysis without removing human accountability. Milberg concludes that sustainable voice agent performance relies on treating deployment as an ongoing learning cycle rather than a single release event. While automated tooling can pinpoint failure patterns across large call volumes, human operators remain essential for setting boundaries, defining success, and verifying that configuration updates actually improve customer outcomes.

精炼阅读摘要

ElevenLabs解决方案工程师Amanda Milberg指出,语音智能体的商业价值并非源于技术“魔法”,而是取决于人类建立的持续迭代流程;企业必须通过反复的评估与调优循环,才能构建出在实际生产环境中稳定演进的系统。 架构整合与三大核心落地挑战 (0:04) 在技术实现上,ElevenLabs将包含系统提示词、工具与知识库的标准LLM架构,同自有的语音引擎编排技术(涵盖语音转文字STT、文本转语音TTS、语音活动检测VAD及轮替机制)深度整合,使智能体能够完成类似改签配送窗口等实时且免人工介入的任务。然而,Milberg强调构建生产级语音智能体面临三大现实阻力:其一,智能体的自主推理能力是一把双刃剑,它虽带来自然的会话体验,却也增加了偏离脚本或异常调用外部工具的风险;其二,企业的业务规则和知识库处于动态变更中,硬编码的指导信息极易迅速过时;其三,语音交互的评估异常复杂,除了事实准确性之外,语音语调不当或多指令冲突等细微问题同样可能直接导致交互失败。 划定边界与优先依赖动态检索的缓解策略 (8:15) 针对落地过程中的上述摩擦,Milberg给出了三项具体的工程对策。首先,企业应像对待真实员工入职一样审慎划定智能体的自主权范围,通过与内部业务及呼叫中心团队合作,将隐性业务流程转化为清晰的标准作业程序(SOP),明确区分允许和禁止的动作行为。其次,应优先采用外部数据库与动态知识库检索,避免把企业知识直接硬编码在提示词内,同时在提示词之外建立定期清理陈旧文档的维护机制。最后,在对提示词进行任何修改前必须确立量化基准指标,防止在缺乏度量的情况下盲目调整而导致系统表现倒退。 Define-Deploy-Diagnose迭代工作流 (11:50) 为使优化过程标准化,Milberg提出了“定义(Define)、部署(Deploy)、诊断(Diagnose)”的DDD框架。在“定义”阶段,团队必须设定具体的量化目标(例如“在500次通话中将一线支持工单减少70%,且负面情绪检测率低于5%”),彻底摒弃凭感觉评估的做法;在“部署”阶段,团队应尽早将低比例的实际生产流量(如10%)分配给智能体并运行2至4周,以低风险暴露合成测试无法复现的边界案例;在“诊断”阶段,团队需系统性分析失败归因,以此为依据进一步扩展操作权限或调整后续的优化指标。 自动化诊断平台与人机协同把关 (15:42) 针对人工排查海量通话记录耗时费力的问题,ElevenLabs在其平台中开发了名为Architect的诊断功能。运维团队可以通过自然语言直接提问排查系统延迟瓶颈;Architect会结合智能体的JSON配置与全局对话日志进行分析,并输出针对性的调整建议,例如切换轻量级LLM或优化TTS模型。此外,所有建议变更均以类似Git的代码差异(diff)形式呈现,最终必须由人类技术人员手动审核、修改或批准后才能发布至生产环境,从而确保自动化规模效益与人工质量把关相辅相成。 该演讲的核心结论在于,语音智能体的建设重点在于“循环”(Loop)而非单一的“发布上线”(Launch)。尽管自动化工具能够加速错误排查与配置生成,但企业若要确保智能体持续稳定地提供价值,依然需要明确量化的指标体系以及人工对配置变更的最终把关。

Detailed notes — zh

## Background 本视频由 Ai4 于 2026 年 8 月 21 日发布在 YouTube 平台。内容为 ElevenLabs 企业解决方案工程师 Amanda Milberg 的主题演讲,探讨了如何打破“一锤子发布”的思维定式,通过构建自我发现弱点与持续迭代的闭环,打造能随业务共同进化的企业级语音智能体。 ## TL;DR 演讲深入剖析了语音 Agent 落地过程中面临的自主权失控、现实环境变动以及评估归因困难三大核心痛点。针对这些挑战,ElevenLabs 提出了“定义-部署-诊断”(Define-Deploy-Diagnose)的 3D 迭代框架,强调必须建立量化北极星指标,并通过小规模灰度部署捕获真实环境下的边缘用例。此外,演讲介绍了内置工具 Architect 基于全量会话分析与配置比对的自动化诊断能力,并指出全自动化并非终极目标,保持“人在回路”的审慎审核才是确保 Agent 持续产生业务价值的关键。 ## Atmosphere & style 整场分享风格务实、极具极客亲和力与现场感,Amanda 以前线部署工程师的视角,用去魅且平实的语言化解了关于 AI 的神秘主义。演讲过程中既有测试手机被真实客户打进电话的幽默插曲,也有结尾处直接由逼真 AI 语音做总结的惊艳互动,在严谨的方法论推演中充满了轻松活跃的气氛。 ## Key takeaways - [00:04](https://www.youtube.com/watch?v=PE6XNvO3tNA&t=4s) 人是构建优秀 Agent 的核心决定因素,算法并非神秘黑盒,关键在于由人类团队明确指导智能体在业务中的行为边界。 - [02:10](https://www.youtube.com/watch?v=PE6XNvO3tNA&t=130s) 语音 Agent 是大语言模型决策大脑(提示词、工具与 SOP)与实时语音引擎(STT、TTS、VAD 及轮次控制)深度融合的系统。 - [05:23](https://www.youtube.com/watch?v=PE6XNvO3tNA&t=323s) 智能体开发面临三大核心困境:自主性双刃剑导致的越轨风险、现实业务环境与文档的动态演变,以及因果归因极难的评估黑洞。 - [08:15](https://www.youtube.com/watch?v=PE6XNvO3tNA&t=495s) 必须与一线业务团队深度协作,将实战经验沉淀为结构化 SOP,深思熟虑地划定 Agent 自主权边界与操作红线。 - [08:15](https://www.youtube.com/watch?v=PE6XNvO3tNA&t=495s) 践行“检索优先于硬记忆”原则,避免在 Prompt 中硬编码业务事实,依托动态知识库与 API 进行实时拉取并定期维护。 - [08:15](https://www.youtube.com/watch?v=PE6XNvO3tNA&t=495s) 建立 3D 落地方法论框架(Define 定义、Deploy 部署、Diagnose 诊断),以闭环驱动智能体全生命周期的持续演进。 - [12:08](https://www.youtube.com/watch?v=PE6XNvO3tNA&t=728s) 告别“凭感觉”(Vibes-based)的模糊目标,在动手构建前必须确立具备统计意义且可精确量化的北极星成功标准。 - [13:31](https://www.youtube.com/watch?v=PE6XNvO3tNA&t=811s) 尽早开展小规模灰度部署(如分配 10% 真实流量运行 2 至 4 周),以可控风险捕获实验室无法预料的真实人机交互边缘用例。 - [13:31](https://www.youtube.com/watch?v=PE6XNvO3tNA&t=811s) 诊断复盘不仅用于修复问题,更驱动智能体能力进阶,推动其从被动意图分流向调用工具自主处理业务闭环演变。 - [15:42](https://www.youtube.com/watch?v=PE6XNvO3tNA&t=942s) ElevenLabs Architect 能够自动解析底层 JSON 配置并全量扫描会话,突破人工抽检上限以自动化聚类故障模式。 - [15:42](https://www.youtube.com/watch?v=PE6XNvO3tNA&t=942s) 系统优化坚持 Git Diff 风格的人在回路(Human-in-the-loop)确认机制,确保所有配置与模型变更透明受控。 - [17:24](https://www.youtube.com/watch?v=PE6XNvO3tNA&t=1044s) 全自动化并非终极目标,人类的持续审查与评估才是验证智能体真正变优秀而非仅仅机械运转的关键标准。 ## Detailed walkthrough ### [00:04](https://www.youtube.com/watch?v=PE6XNvO3tNA&t=4s) 循环而非发布:人才是构建优秀 Agent 的核心 在主持人热情洋溢的介绍下,ElevenLabs 的企业解决方案工程师 Amanda Milberg 登上了 Ai4 大会的演讲台。登台伊始,她便幽默地调试起音响,笑称作为一家顶尖的音频公司,要是今天的演示不先给观众放几段逼真的语音示例,那实在说不过去。Amanda 开门见山地抛出了本次演讲的核心主题——“打造与你一同进化的智能体”(Building agents that get better with you)。虽然当前的生成式 AI 在大众眼中宛如魔法,而且在许多层面上确实令人惊叹,但她坚定地指出,要想构建出一个能够带来切切实实商业价值的 Agent,最根本的决定因素并不在于神秘的算法黑盒,而是在于背后指导它“该做什么、不该做什么”的那些具体的人。 Amanda 随后梳理了整场分享的脉络:首先介绍 ElevenLabs 的技术积淀与业务范畴,并统一“语音 Agent”(Voice Agent)的准确定义;接着切入一线构建者最切身痛点的剖析——究竟是什么让 Agent 的落地如此艰难,团队又该如何去化解这些阻碍;随后,她将公布一套在 ElevenLabs 内部与客户合作时反复验证的落地框架;最后,她还将展示 ElevenLabs 平台近期推出的全新功能,分享如何在保持“人在回路”(Human-in-the-loop)的前提下,实现 Agent 发现自身薄弱点并持续自迭代的良性循环。作为 Forward Deployed Engineering(前线部署工程)团队的核心成员,Amanda 每天都在协助企业客户将他们的第一个乃至后续许多个语音 Agent 送入生产环境,亲眼见证了无数迭代策略的成败得失。 ### [02:10](https://www.youtube.com/watch?v=PE6XNvO3tNA&t=130s) 重新定义语音 Agent:大模型大脑与语音引擎的交融 ElevenLabs 作为一家以研究为先导的前沿 AI 公司,最广为人知的是其横跨语音合成、音乐以及音频领域的领先模型,并以提供市面上“最拟人化”的逼真语音而著称。在企业级平台 Eleven Agents 的支撑下,企业可以完成生产级语音 Agent 的构建、测试、部署与全生命周期监控。为了避免行业中对术语的滥用和泛化,Amanda 明确给出了语音 Agent 的标准定义:“语音 Agent 是一种能够与人类进行实时语音对话、理解对方所表达内容,并通过自然语音响应以完成特定任务的 AI 系统。” 为了更直观地展现这种技术形态,她举了一个典型的客服场景:当客户来电希望重新安排送货时间时,传统方案往往会将用户丢给死板繁琐的电话树(Phone Tree)或交互式语音应答系统(IVR);而语音 Agent 则会实时倾听诉求、调取后台物流系统、给出可选的时间窗口,并在核对无误后直接确认新日期,整个业务流甚至完全不需要人工客服介入。从底层架构来看,这相当于将成熟的 Agent 架构(包含大语言模型 LLM、系统提示词 System Prompt、可调用的工具 Tools 以及知识库或 SOP)与 ElevenLabs 强大的“语音引擎”(Speech Engine)紧密编织在一起。人类天然倾向于使用声音交流,而不是冰冷的文字聊天框,正是这种多模型协同让系统迸发出了巨大的商业生产力。 ```mermaid flowchart TD accTitle: 语音 Agent 核心技术架构图 subgraph BRAIN["智能决策大脑 (Agent Core)"] LLM["大语言模型 (LLM)"] PROMPT["系统提示词 (System Prompt)"] TOOLS["执行工具与接口 (Tools/APIs)"] KB["知识库与标准操作程序 (KB & SOPs)"] LLM --- PROMPT LLM --- TOOLS LLM --- KB end subgraph ENGINE["ElevenLabs 语音引擎 (Speech Engine)"] STT["语音转文字 (STT)"] VAD["语音活动检测 (VAD)"] TURN["轮次交替控制 (Turn Taking)"] TTS["文字转语音 (TTS)"] end USER(["用户 (实时语音交互)"]) <--> STT STT --> LLM LLM --> TTS TTS <--> USER VAD -. 控制交互节奏.- TURN TURN -. 协调断句与插话.- ENGINE ``` - **传统呼叫系统对比**:传统的 IVR 电话树需要用户反复按键且极易走入死胡同;语音 Agent 则通过自然口语直接理解复杂意图。 - **语音引擎协同组件**:包含语音转文字(STT)、文字转语音(TTS)、语音活动检测(VAD)以及精确的对话轮次控制(Turn Taking),以此保障对话不会产生尴尬的延迟或无礼的打断。 ### [05:23](https://www.youtube.com/watch?v=PE6XNvO3tNA&t=323s) 智能体构建的三大困境:自主权、变动现实与评估黑洞 在以客户成功(Customer Success)Agent 的开发为例时,Amanda 总结了构建过程中最常遭遇的三大核心痛点。第一大痛点是“自主性是一把双刃剑”(Agency cuts both ways)。赋予 Agent 自主推理与行动的能力,是它区别于传统死板脚本的魅力所在,它能够灵活变通、理解上下文并在知识库中权衡答案。然而,这种自主性也是风险之源:它可能在对话半途中突然“脱稿”(go off script)、在不合时宜的节点调用未曾预料的外部工具,或者给出一个在纯技术逻辑上正确却完全背离企业业务初衷的解决方案。在自由发挥与严格约束之间寻找平衡,是开发者面临的恒久考验。 第二个现实挑战在于“现实环境永远在动态演变”(Reality keeps moving)。企业的业务政策几乎每天都在调整,产品文档与服务条款不断更新。如果底层连接的数据源滞后,Agent 表现出的业务水准就会大打折扣,因为“Agent 的强大程度上限完全取决于你喂给它的信息质量”。第三个、也是最具欺骗性的难题,是“评估极其困难”(Evaluation is hard)。在实际业务中,揪出一个糟糕的回答很容易,但要对事故进行归因(Triage)却极其复杂:究竟是因为提示词中存在互相矛盾的指令?还是系统检索到了陈旧的过时数据?抑或是回答内容本身挑不出毛病,但由于语气(Tone)过于生硬冷漠而引发了客户的强烈反感?这些隐性因素交织在一起,常常让排查陷入僵局。 ### [08:15](https://www.youtube.com/watch?v=PE6XNvO3tNA&t=495s) 破局之道与 3D 落地方法论框架 针对上述三大棘手问题,ElevenLabs 在实战中提炼出了三套针对性的化解策略。首先,必须“深思熟虑地限定自主权边界”(Scope the autonomy deliberately)。Amanda 强调,这正是需要人类深度参与的核心环节。Agent 的行为习惯必须像培养真实员工一样去悉心打磨:工程团队不能闭门造车,而应当坐下来与一线的业务赋能团队(Enablement team)和呼叫中心客服面对面,将日常实战经验沉淀为清晰的标准操作程序(SOP),明确划定权限红线——“哪些事情你能全权处理,哪些动作你绝对不可逾越”。 ```mermaid flowchart LR accTitle: Agent 构建痛点与对策映射 subgraph PAINS["开发痛点"] P1["自主性双刃剑<br/>(越轨、误调用)"] P2["现实动态变化<br/>(政策更新、文档陈旧)"] P3["评估排障困难<br/>(因果难以归因)"] end subgraph MITIGATIONS["应对策略"] M1["明确限定自主权边界<br/>(业务 SOP 规范红线)"] M2["检索优先于硬记忆<br/>(挂接动态知识库与刷新机制)"] M3["建立基准评估指标<br/>(可量化追踪,避免负向迭代)"] end P1 ==> M1 P2 ==> M2 P3 ==> M3 ``` 其次,“优先采用检索而非死记硬背”(Prioritize retrieval over memorization)。Prompt 是用来指导 Agent“如何行动”的行为准则,绝不能当作堆砌事实知识的底层数据库。开发团队必须将 Agent 挂接至动态数据库和实时知识库,并建立知识库周期的更新机制,主动清理过期的废弃数据;同时降低业务团队调试 Prompt 的门槛,使非技术人员也能便捷地修改测试。最后,面对评估困境,团队必须在推行任何修复补丁前建立清晰的量化基线指标(Baseline metrics)。如果没有可靠的客观衡量标尺,你永远无法确定一次改动究竟是“向前迈进了一步”,还是“前进一步却倒退了两步”。 在总结了这一整套逻辑后,Amanda 风趣地引入了由她提炼的落地闭环方法论——“3D 框架”。她开玩笑说,这可不是美食节目里的“Diners, Drive-ins, and Dives”,而是专属于 Agent 构建的三个黄金步骤:**Define(定义)、Deploy(部署)与 Diagnose(诊断)**,并以此带领全场观众正式步入如何具体落实第一步“Define”的深度探讨中。 - **SOP 赋能**:无需经历冗长的线下两日集中入职培训,只要梳理出结构化的 SOP,就能迅速在 Agent 提示词与工具链中建立起边界。 - **动态检索设计**:杜绝将产品价格、政策条款硬编码在 Prompt 中,一律通过实时 RAG 或 API 接口按需抓取。 - **指标基准底线**:严密跟踪关键指标随时间变化的趋势,以此作为验证改动是否真正生效的“地面真值”(Ground Truth)。 ### [12:08](https://www.youtube.com/watch?v=PE6XNvO3tNA&t=728s) 明确成功标准:告别“凭感觉”(Vibes-based)的模糊目标 构建智能体时,首先必须清晰定义“何为良好”(what does good look like)。确立一个北极星指标(North Star Metric)能够作为强有力的约束机制,将安全护栏(Guardrails)、数据源接入以及智能体的自主权限范围全部对齐到统一的目标上。成功标准必须具备极高的具体性与可衡量性,绝对不能停留在模糊的直觉层面。 在实际业务中,“糟糕的标准”往往表述为“让智能体更擅长处理客服工单”;而“优秀且合格的标准”则必须精确量化,例如“在 500 场真实通话场景中,成功分流并解决 70% 的 Tier 1 级工单,且通话中检测到的负面情绪占比低于 5%”。一旦确立了标准,团队必须立即搭建稳健的数据报告系统来持续跟踪,而不是仅靠“凭感觉”(vibes-based)拍脑袋判断。如果定义随着感觉不断漂移,开发就会陷入追逐动态目标的泥潭。“在动手构建智能体之前,先在‘要造什么’和‘如何衡量’上达成共识”,这是整个构建流程中最核心的前提。 - **糟糕的指标示例**:“提升客服工单处理质量”(缺乏量化指标,无法作为验收终点)。 - **优秀的指标示例**:“分流 70% 的 Tier 1 工单,且 500 次真实通话中负面情绪比例低于 5%”。 - **核心原则**:尽早搭建稳健的数据报表监控,杜绝凭直觉判断,防止陷入“边造边猜”的困境。 --- ### [13:31](https://www.youtube.com/watch?v=PE6XNvO3tNA&t=811s) 尽早灰度部署与闭环诊断(Define-Deploy-Diagnose 循环) 在设定好指标并完成基础测试后,团队不应害怕过早部署。虽然完备的自动化测试框架(Test Harness)必不可少,但在语音 AI(Voice AI)领域,真实环境中的人机互动总会带来实验室里无法预料的边缘案例(Edge cases)。因此,合理的部署计划应当以“获取足够的验证信号”为核心。例如,将 10% 的真实流量路由给 ElevenLabs Agent,持续观察 2 至 4 周;这既能保证统计学上的显著性,又能将潜在系统瑕疵的负面影响控制在可承受范围内。 部署完成后即进入“诊断”(Diagnose)阶段。团队需要全面复盘 V1 版本的得与失,将提炼出的洞察转化为新一轮迭代的输入。这种迭代可能表现为赋予智能体更多权限(例如从最初的“智能路由分流”升级为“调用工具自主处理退款”),也可能是优化指标的升级(例如从“偏转率/分流率 Deflection”转向“最终问题解决率 Resolution”)。诊断不仅是为了排查故障,更是在为下一个循环重新定义“何为良好”。在分享这个循环时,现场发生了一段幽默的插曲:演讲者的手机突然响起,她笑着向观众解释,团队正在生产环境中测试一个新智能体,而智能体的转接号码恰好绑定了她的个人手机,导致她每天都会接到客户打进来的真实转接电话。 ```mermaid flowchart TD accTitle: Agent 持续迭代循环 (Define-Deploy-Diagnose) subgraph DefineStage["1. 定义 (Define)"] A["设定北极星指标与成功标准<br/>(如分流率、情绪阈值)"] end subgraph DeployStage["2. 部署 (Deploy)"] B["小规模灰度发布<br/>(如路由 10% 流量持续 2-4 周)"] C["捕获真实语音交互边界用例"] end subgraph DiagnoseStage["3. 诊断 (Diagnose)"] D["复盘成功与失败案例"] E["升级权限与优化目标<br/>(如路由转向自主退款)"] end A --> B B --> C C --> D D --> E E -->|"反哺下一轮迭代"| A ``` - **灰度部署策略**:将 10% 流量分配给智能体并运行 2 至 4 周,在低风险前提下获取具有统计学意义的反馈信号。 - **演进路径**:功能从被动路由向主动执行(如集成退款 Tool)拓展;评估维度从单纯“防守型分流”向“端到端解决”演进。 --- ### [15:42](https://www.youtube.com/watch?v=PE6XNvO3tNA&t=942s) ElevenLabs Architect:基于配置与对话规模化诊断的智能助手 为了将这套迭代框架产品化,ElevenLabs 推出了名为 **Architect** 的内置诊断与优化工具。开发者可以直接向 Architect 提问,例如输入“为什么我的智能体响应延迟变慢了?”,Architect 会全面读取该智能体的整个 JSON 配置文件,并结合具体业务场景给出针对性建议——例如建议更换更低延迟的文本转语音(TTS)模型,或是将底层的 LLM 换成更轻量级、响应更迅速的模型。 更关键的是,Architect 坚持“人在回路”(Human-in-the-loop)的协作方式。当开发者指示其执行优化建议时,Architect 会生成具体的参数修改方案,并以类似 Git Diff 的版本对比界面呈现给人类工程师审核。只有在工程师确认无误并点击“改善(Improve)”后,变更才会正式生效。此外,单个工程师精力有限,无法人工听取所有通话录音,而 Architect 能够全量分析工作区内的每一场对话,快速提炼薄弱环节并聚类故障模式,使团队能够基于真实证据而非主观猜测来进行系统分诊。 - **上下文感知诊断**:自动解析智能体底层 JSON 配置,针对延迟、回答偏离等问题提供具体技术调整建议(如调整 TTS 参数或切换轻量 LLM)。 - **Git 风格差异对比**:所有修改以 Diff 形式供人工核对与确认(Confirm/Deny),确保系统变更透明可控。 - **全量会话归因分析**:突破人工抽检上限,实现对工作区内海量对话的自动化弱点扫描与聚类。 --- ### [17:24](https://www.youtube.com/watch?v=PE6XNvO3tNA&t=1044s) 语音 Agent 现场总结与四个核心法则 在演讲尾声,Amanda 并没有亲自念结语,而是请出了一位由 ElevenLabs 驱动的 AI 语音智能体代为做全场总结。该语音智能体用生动的口吻盘点了本次分享的四大核心支柱: 1. **确立清晰的成功标准**:模糊的目标只会带来无休止的内耗与挫败。如果不知道何为成功,你永远不知道何时该交付,最终只会陷入漫无目的的盲目修补。 2. **践行“定义-部署-诊断”(Define-Deploy-Diagnose)闭环**:智能体构建不是一锤子买卖,而是一个严密的循环——制定标准、带护栏灰度部署、诊断得失,并将结论反哺回下一轮定义。 3. **善用自审诊断工具**:借助 Architect 这类平台工具快速定位系统的薄弱环节。无需逐一通读录音文本,让工具聚类错误模式并找出根本原因,实现基于数据事实而非主观臆测的分诊。 4. **保持人类审核的审慎**:全自动并不等于终极成功,人类审核才是判断智能体真正“变优秀”还是“仅仅在机械运转”的关键标准。自动化负责规模化执行,而人类审核负责确认修复真正生效。 语音智能体汇报完毕后幽默地向全场发问:“嘿,我表现得还不错吧?”,引发现场笑声。演讲者最后向与会者发出邀请,欢迎大家前往 507 展位与 ElevenLabs 团队交流具体的业务落地场景与 Agent 构建方案。 ## Notable quotes > [00:04](https://www.youtube.com/watch?v=PE6XNvO3tNA&t=4s) 打造与你一同进化的智能体 — Amanda Milberg > [02:10](https://www.youtube.com/watch?v=PE6XNvO3tNA&t=130s) 语音 Agent 是一种能够与人类进行实时语音对话、理解对方所表达内容,并通过自然语音响应以完成特定任务的 AI 系统。 — Amanda Milberg > [05:23](https://www.youtube.com/watch?v=PE6XNvO3tNA&t=323s) 自主性是一把双刃剑 — Amanda Milberg > [05:23](https://www.youtube.com/watch?v=PE6XNvO3tNA&t=323s) 现实环境永远在动态演变 — Amanda Milberg > [05:23](https://www.youtube.com/watch?v=PE6XNvO3tNA&t=323s) Agent 的强大程度上限完全取决于你喂给它的信息质量 — Amanda Milberg > [05:23](https://www.youtube.com/watch?v=PE6XNvO3tNA&t=323s) 评估极其困难 — Amanda Milberg > [08:15](https://www.youtube.com/watch?v=PE6XNvO3tNA&t=495s) 深思熟虑地限定自主权边界 — Amanda Milberg > [08:15](https://www.youtube.com/watch?v=PE6XNvO3tNA&t=495s) 优先采用检索而非死记硬背 — Amanda Milberg > [12:08](https://www.youtube.com/watch?v=PE6XNvO3tNA&t=728s) 在动手构建智能体之前,先在‘要造什么’和‘如何衡量’上达成共识 — Amanda Milberg > [17:24](https://www.youtube.com/watch?v=PE6XNvO3tNA&t=1044s) 全自动并不等于终极成功,人类审核才是判断智能体真正“变优秀”还是“仅仅在机械运转”的关键标准。 — AI 语音智能体 ## Mentioned Amanda Milberg, ElevenLabs, Ai4, Eleven Agents, Architect, LLM, STT, TTS, VAD, IVR, Git Diff, RAG ## Video description Amanda Milberg - Enterprise Solution Engineer, ElevenLabs Agent building is a constant process of iteration, which raises two questions most teams don't have good answers to: how do you know when to stop, and how do you know what to improve next? In this talk, we'll share practical ways to identify what actually needs improving in an agent and how to prioritize those changes, plus techniques for building self-improving agents that can surface their own weak points. We'll also make the case for why full automation isn't the end goal, and where human review is what actually tells you the iteration is working, not just running. Attendees will leave with a framework for knowing when their agent is "done enough" and a concrete process for deciding what to fix next. If you've ever wondered whether you're improving your agent or just tinkering with it, this talk will give you the answer. [Source](https://www.youtube.com/watch?v=PE6XNvO3tNA)

Source quotes

[0:04] Amanda Milberg: 打造与你一同进化的智能体 [2:10] Amanda Milberg: 语音 Agent 是一种能够与人类进行实时语音对话、理解对方所表达内容,并通过自然语音响应以完成特定任务的 AI 系统。 [5:23] Amanda Milberg: 自主性是一把双刃剑 [5:23] Amanda Milberg: 现实环境永远在动态演变 [5:23] Amanda Milberg: Agent 的强大程度上限完全取决于你喂给它的信息质量 [5:23] Amanda Milberg: 评估极其困难 [8:15] Amanda Milberg: 深思熟虑地限定自主权边界 [8:15] Amanda Milberg: 优先采用检索而非死记硬背 [12:08] Amanda Milberg: 在动手构建智能体之前,先在‘要造什么’和‘如何衡量’上达成共识 [17:24] AI 语音智能体: 全自动并不等于终极成功,人类审核才是判断智能体真正“变优秀”还是“仅仅在机械运转”的关键标准。

Source quotes

[5:23] Amanda Milberg: Agency cuts both ways [5:23] Amanda Milberg: Reality keeps moving [5:23] Amanda Milberg: Evaluation is hard [8:15] Amanda Milberg: Scope autonomy deliberately [8:15] Amanda Milberg: two-day immersive onboarding program in Florida [8:15] Amanda Milberg: Prioritize retrieval over memorization [8:15] Amanda Milberg: Establish baseline metrics before changing prompts [8:15] Amanda Milberg: one step forward and two steps back [11:50] Amanda Milberg: Reduce 70% of Tier-1 support tickets with less than 5% negative sentiment detected across 500 live calls. [15:42] Amanda Milberg: Tell me why my agent is slow

Original transcript

[0:04] And now at the stage we have Amanda presenting  to you the loop, not the launch. Building agents [0:12] that get better with you. Put your  hands together for her. [applause] [0:20] Thank you everyone. And obviously I had to  test the audio. I mean we're an audio company. [0:25] What kind of demo would it be today if I didn't  play some voices for you? Um, but thanks for [0:31] having me. Um, my name is Amanda Milberg. I'm a  solutions engineer at 11 Labs. And today I'm going [0:38] to talk about building agents that get better with  you. And I think that this is a really interesting [0:45] topic and a theme that we even heard in the  keynote this morning. AI often feels like magic, [0:52] right? And in a lot of ways, it truly is. But I  want to make the case that building a successful [0:58] agent, one that delivers genuine business value,  comes down to the people that instruct it what [1:05] to do. So, what are we going to talk about today?  Well, I'm going to start by walking you through a [1:12] quick background of what 11 Labs is if you haven't  heard of us before. Um, and then kind of settle on [1:18] a definition of voice agents. Then we're going  to talk about why agent building is hard, right? [1:24] I'm sure we've all built agents. What are the  common challenges that we see and then how can [1:28] we mitigate those challenges? Then I'm going  to walk through a framework that we use with [1:33] our customers internally to build effective  agents. How do we define them correctly and [1:38] then launch them into production successfully. Um  focusing as I mentioned about how the people are [1:44] the key factor here of making this work. And then  I'll talk a little bit about new features that we [1:50] actually have in the product um in 11 labs for  building these self-improving agent loops while [1:56] keeping the human in the loop as part of that.  And then finally we'll end with a little wrap-up [2:02] and if we have any questions um I'll be able to  answer them live or after. So to start with a [2:10] little background about what is 11 labs. Um we  are a research first AI company most known for [2:17] building frontier models across speech, music and  audio and we deliver them in enterprise platforms [2:25] so folks and companies like you see on the screen  can build real world workflows. And we're most [2:33] known for having the most humanlike voices on the  market. And like I mentioned having a platform [2:39] called 11 agents um where we help companies build,  test, deploy and monitor agents in production. [2:47] And what I do as part of our forward deployed  engineering team here is help those c customers [2:53] build their first of hopefully many voice agents  that they launch in the production. So it's [2:58] safe to say I've seen firsthand what iteration  tactics work and which ones don't. And that's [3:03] the information that I'm going to share with you  today. And so now that you know a little bit about [3:08] what 11 Labs is and what 11 agents are, let's talk  about what is a voice agent. So I'm going to say [3:17] with confidence that I'm not the first person that  has talked about agents today at this conference [3:23] and I probably won't be the last, but I always  find it helpful to start with the definition [3:28] uh that we can all settle to make sure that we're  agreeing on the same term here when we talk about [3:32] a voice agent. out. I'm defining that right now as  a voice agent is an AI system that conducts live [3:39] spoken conversation with a person, understanding  what they say and then responding in natural [3:45] speech to complete a task. And let's illustrate  this point with an example. So, let's imagine a [3:52] customer calls in um to reschedule a delivery and  instead of a phone tree or traditional IVR system, [4:00] that voice agent will listen to their request,  maybe it checks the delivery system in real time, [4:06] um offers available windows to reschedule that  delivery and then confirms the new date without [4:13] potentially even a human being a part of that  call workflow. And so to get into kind of like [4:20] the technical details of what this looks  like is if you've built an agent before, [4:24] you're probably familiar with this concept  of you have an LLM, you have a system prompt, [4:30] um you have tools that you give that LLM access  to to become agentic or to take action, maybe [4:35] you have knowledge bases or SOPs that you put into  this agent. So we take that agent architecture and [4:41] we unite it with what we call our speech engine.  And a speech engine has a it's an orchestration [4:47] of various models like text to speech, speech to  text, voice activity detection, turn taking. And [4:53] putting those two concepts together, we we get  something really powerful, right? Because us as [4:58] humans, we like to communicate in a modality  that we prefer, voice, right? That's how I'm [5:03] communicating to you right now. I'm not giving  this presentation chatbot style. And so when [5:09] we have the ability of of doing something like  that, we it really makes things super powerful, [5:15] right? And so now that we understand what a voice  agent is, let's take this example of building a [5:23] customer success agent and talk about why are  building agents hard? And so I've boiled this [5:31] down to to three things that we'll go through. Um  but you know there's many more but this is kind [5:37] of just what what I constantly encounter as as the  as the tough thing. So the first concept is agency [5:45] cuts both ways right when we build an agentic  workflow we give this agent the ability to reason [5:51] and act on its own. And that's the exact value of  why we like agents right we're using this agentic [5:58] approach over this rigid call structure. It sounds  more natural. The agent is able to pivot. It can [6:06] reason effectively and giving its knowledge come  up with an answer. But that same autonomy means [6:13] that it can also decide to do things that maybe we  didn't intend for it to do. It can go off script [6:19] mid-con conversation. It can unexpectedly call  a tool that we didn't want it to. It could maybe [6:24] solve a problem in a way that is technically  right, but not in the way that we imagined. [6:29] And so part of building this agent is deciding how  much room we want to give it and then when do we [6:35] want to restrict it down to a more concrete  step-by-step action. The second thing that [6:41] I notice is that reality keeps moving. I mean  think of all of us in our day-to-day jobs today. [6:46] How much we have to just keep up with policies  are changing documentation is changing. And so [6:52] we must think about how we can design our agents  and its underlying data sources. That way, we're [6:58] connecting to the most live and up-to-date data.  Our agent is only as powerful as the information [7:05] that we give it. And so, we want to think about  how we can easily add memories to our agent or [7:10] make sure it's constantly being updated with the  most up-to-date and relevant information. And then [7:17] the last thing that I find of why building  agents really hard, especially voice agent, [7:23] is that evaluation is hard. Right at the  surface, it's easy to spot a bad answer, [7:31] but we it's harder to triage what exactly what  went what went wrong in that conversation. So, [7:38] I'll give you some examples. Did the agent  misspeak based on conflicting guidance in [7:42] the prompt? Did the agent pull stale data to  answer a question where it then provided the [7:49] wrong guidance? Did the agent simply deliver  the message correctly but in a tone that wasn't [7:57] really right that made the user frustrated? And so  these are all reasons why I find sometimes agent [8:04] building is hard. Um and like I said only some of  them but I wanted to call out these as the ones [8:10] that I see coming up the most often. Um but luck  luckily we've developed some general strategies [8:15] to to mitigate uh these challenges. So the first  is scope the autonomy deliberately. This is the [8:25] integral part of kind of why I named this session.  It starts with with you, right? This is where you [8:30] come in. You have to design your agent to act like  you would in a conversation or on a call. You have [8:38] to train them just like you train your internal  employees. And what this often means is pra in [8:44] practice is sitting down with your enablement team  with your call center agents um with folks that [8:51] are doing this day-to-day and defining a clear  standard operating procedure or SOPs of what [8:56] this agent can do and how what this agent should  behave and then what the agent cannot do, right? [9:03] And luckily, you know, training these agents isn't  the same as what we're used to of like a two-day [9:08] immersive onboarding program in Florida  or something. But if we have these SOPs, [9:13] we can give that information to the agent and we  can make scope that autonomy, deliberately to say [9:18] you can do this and you can't do that. The second  thing that we should keep in mind um to work [9:25] through these challenges is prioritize retrieval  over memorization. So connect your agents to live [9:32] data sources instead of having that source of  truth baked into the prompt. A prompt is a great [9:39] way to give guidance to the agent on how it should  perform, what it should do and shouldn't do, but [9:45] you need to find a way that your agent is always  up to date with the latest information, right? [9:50] The agent is only as good as the information that  you supply it. And so this includes things like [9:56] connecting to databases, connecting to live  knowledge basis sources, but it also conclues [10:03] having a structure of how do I refresh that  knowledgebased cadence in general? How do I [10:08] get rid of the stale data that is even outside of  the agent design itself? And then if you do need [10:14] to make these prompt changes, how do you do so in  a way that you keep the human in the loop and make [10:20] it really easy for your business team to change,  update that prompt, test to see if it worked, [10:26] etc. And then lastly, when we're talking about  how evaluation is hard, I think what makes it [10:34] even harder is when you don't have a metric to  test against. So let's say we've identified the [10:40] fix. Now, we're going to push a fix, but we need a  baseline metric to prove that it actually worked, [10:47] not just that something changed. And this means  that you need to define the key metrics that [10:53] you care about in this agent build. And track  them over time. You need that ground truth to [11:01] isolate whether this change was one step forward  and not one step forward and two steps back. [11:09] And so three problems, three solutions, but I hope  you notice the common theme that kind of unites [11:17] all of these is that you have to be a part of this  definition. And I want you to almost think about [11:25] any challenging business problem that you faced,  right? Was it easier to face that challenge when [11:31] you had a definition or an metric that you were  optimizing for in the beginning? Right? I I feel [11:37] like this isn't new to agent design in general.  This is why we have product documents, scope, [11:42] etc. So now that we understand kind of this common  problem, um let's talk about the framework that I [11:50] use to put this in practice. So I wanted to  kind of make it something easy to remember. [11:56] And so I came up with like triple D, the agent  version of not Diners, Drive-ins, and Dives, [12:01] but define, deploy, and diagnose. Right? So the  first thing that I want you to do is define your [12:08] success criteria and specifically define what does  good look like. If you have a northstar metric [12:16] you're optimizing for it's a forcing function to  align everything else your guard rails your data [12:22] sources how you scope the autonomy to achieving  that and this criteria should be specific. Okay, [12:30] so bad criteria, make the agent better at  handling support tickets. Good criteria, [12:37] reduce 70% of tier one tickets. Make sure  that those tickets have less than 5% negative [12:45] sentiment detected in the call for 500 live  calls scenario type of thing. And then once [12:54] you've aligned on that criteria, make sure you  have reporting in place so that it's really easy [13:00] to track that criteria. In general, you want  to have something reporting that's robust, [13:07] not just a gut check. The less vibes based, as we  say, the definition of your success criteria is, [13:14] the easier to make sure that you're not building  to a moving target. And so I generally feel like [13:19] if you take one thing away from this conversation,  it's that you should align on what you want to [13:25] build and how you build it before you even start  building it. Now the second thing I want to say [13:31] is is don't be afraid to deploy early. Obviously  I want to make sure that you have a robust test [13:37] harness that's testing edge criteria that you know  and that you are aware of. But I also want to tell [13:44] you that live conversations, especially in the  voice AI space, are going to bring edge cases [13:48] that you never even thought existed. It's part of  the fun. And so I want you to define a deployment [13:54] plan that gives you enough signal to validate that  success criteria. Okay? So a deployment plan might [14:01] look something like route 10% of traffic to an 11  agent as an example for 2 to four weeks. Right? [14:09] That's large enough traffic to be statistically  significant with a small enough population where [14:16] if you have some small glitches along the way,  which you will, um, it won't cost you much, [14:21] right? This deployment is meant to be a learning  experience. It's meant to be iterative. And then [14:27] the last phase is diagnose. See what worked in  that B1 deployment and then see what didn't. Those [14:35] learnings define your updated criteria that you'll  want to bring in and reloop to the next phase of [14:41] iteration. This might mean letting your agent  handle more of the workflow. So instead of maybe [14:47] just being that intelligent router, we're now  processing refunds via tools. This may be changing [14:53] your optimization metric from something like  optimizing for resolution instead of deflection. [15:00] Whatever it is, diagnose doesn't just necessarily  in that phase, you're not just finding out what's [15:06] broken, but you're defining what good looks like  for the next loop. And so this is the loop that [15:12] we use to set our customers up for success.  Someone is calling me. Sorry. [laughter] Um, [15:21] it's actually pretty funny. I'm we're testing an  agent right now in production and the transfer [15:26] number is my number just to see that it works.  So I get calls like every day from this customer. [15:30] Cool. [gasps] So this is the loop that we use to  set our customers up for success. I'm not lying. [15:36] This is what I use. Um and so whether you're  building in 11 agents or not, um I encourage [15:42] you to use this framework. But if you are building  in 11 agents, I have some good news for you. So [15:49] we introduced this concept called architect. Um,  and essentially what architect is is it has all [15:56] of these concepts built into the platform.  So for example, I can just ask architect, [16:01] sorry it's a little small, tell me why my agent  is slow and architect has awareness of this entire [16:08] agent JSON config to provide me recommendations  specific to my use case. So in my example, it says [16:16] maybe try changing the text to speech model, maybe  tweaking the LLM to something a little smaller, [16:21] less heavyweight. And the nice thing is is that  I can work in real time human in the loop to [16:27] tell architect to make these changes. Um, in my  case, you know, change the LLM to a smaller LLM. [16:33] Let's see how this works. Um, change some other  parameters. And architect will actually propose [16:38] that fix and let me confirm or deny it. And  once I approve it, once everything looks good, [16:47] there we go. Um, I can kind of review the  changes in this gitlike version, select improve, [16:53] and continue to iterate. And what's nice about  architect is that you can use it to analyze your [16:58] entire agent configuration. You can use it to zoom  into specific conversation points. And so at the [17:05] end of the day, um, what architect can do is it  can help surface these weak points at scale. So [17:11] I can only look through so many conversations at  once. Architects can analyze every conversation in [17:15] my workspace and help define a solution. So with  that um we can go up we can go and quickly wrap up [17:24] but I thought as part of the fun I won't wrap up.  I'll let my little agent pal wrap us up for us. [17:30] So let's hear [clears throat] Tom four things I  want you to include. One, define success criteria [17:39] for your goods. Debate goals create endless  depression. If you don't know what good looks [17:44] like, well, that don't know when you're done.  It'll just keep tinkering. Two, run the define, [17:50] deploy, diagnose. This isn't a one-time note.  It's a cycle. You define your criteria. You [17:55] deploy with the right guard connections.  You diagnose what worked, what didn't, [18:00] and then that diagnosis being straight back into  the shepherd of time. Three, use self reviewing [18:06] tools. Let architect define big twins faster.  You don't have to read every transfer by hand to [18:12] figure out where a is going down. Let the tooling  cost to failures and you win the likely cause. So [18:17] you're triaging with evidence instead of action.  And four, keep your humility. Review is what [18:23] actually tells you you're improvement, not just  running. Automation is succeeding scale with the [18:28] human review step that confirms the fix actually  worked. That's the whole talk in Coral Banks. [18:33] Define it on the loop. Use your tools, control  the automation, and place it down all at once. [18:41] Hey, did I do a good job or what? [laughter]  So, that's the end of of the presentation. Um, [18:48] that was obviously one of our voice  agents speaking speaking for us. But, [18:52] um, if this sounds if this sounds interesting, [18:55] if this sounds something like you want to  talk further about, you have some use cases, [18:59] come talk to us. I'll be around. We're at booth  507 and we would love to chat with you. Thank you.