文字记录 · CC BY 3.0

云原生直播炉边谈话:在 Kubernetes 上大规模构建 AI 代理

本页标题、字幕、摘要和阅读笔记为已保存的 AI 译文,可能有误。时间戳与来源一致,可展开查看原始字幕,并对照原视频核对。

Intuit 如何在其 Kubernetes 平台之上的 GenOS 上运行 100+ 个 AI 代理:与普通服务有何不同、代理如何被评估,以及其 SRE 代理。

CNCF [云原生计算基金会] · 发布于 · 24 分钟 · 英语 · 许可证:CC BY 3.0 · 来源:在 YouTube 上观看

转录来源:Vidleaf上的自动语音识别(可能包含错误)。AI标点由Vidleaf添加;保留原始措辞和时间戳锚点。原始转录可在下方获取。

AI生成的摘要

这场炉边谈话邀请了 Intuit 的嘉宾,介绍该公司如何从云原生转向 AI 原生开发,并构建了一个用于大规模开发代理的平台。它解释了工作流与 AI 代理之间的区别、代理的组成部分,以及 GenOS 如何构建在 Intuit 的核心开发平台之上,以处理治理、安全和可观测性。对话追溯了 Intuit 的平台历程:从 2011 公有云的直接迁移,到其 2018 云原生平台以及捐赠 Argo,再到其 2022 向 AI 原生开发的转变,包括内环和外环中的 AI,以及 NUMA Flow 的开源。它对比了构建代理与构建常规服务的差异,强调了非确定性的大语言模型、作为最难部分的评估,以及 Agent Starter Kit,然后分享了采用数据以及 QuickBooks 和 Intuit Enterprise Suite 的成果。它还涵盖了其他代理实验,包括异步代理,用于修复安全缺陷、升级技术(如 Java 版本)、分诊值班警报,以及处理构建和部署失败,此外还有事件恢复代理,它已经能够找到超过 50% 的事件的根本原因,并且不断用真实事件数据进行评估。演讲者讨论了 Kubernetes 角色、一百万以上的核心数指的是整个平台而非仅代理、衡量答案准确性和 ROI,以及建议先在自己的机器上构建一个代理,然后再在现有基础设施上构建。

根据文字记录生成。请对照原始视频检查链接段落。

带时间戳的章节摘要

Intuit 从云原生到 AI 原生的历程

  • [0:01] State Shift 的创始人兼 CEO John O'Bacon 主持了首场云原生直播炉边谈话。
  • [0:21] 本次会议邀请了来自 Intuit 的嘉宾,Intuit 是 CNCF 的长期最终用户成员。
  • [0:27] Intuit 在 CNCF 社区中最广为人知的身份是 Argo 的创造者,他们将其捐赠给了 CNCF,并且一直参与 AIOps 和 MLOps 社区。
  • [0:46] Intuit 一直在将其所有产品(包括 TurboTax 和 QuickBooks)转变为 AI 原生产品。
  • [0:46] 讨论将涵盖 Intuit 如何构建其平台以大规模构建代理,从云原生扩展到 AI 原生。
  • [0:46] 嘉宾是 Intuit 产品管理总监 Mukulika Kapas 和 Intuit 杰出工程师 Marin Kurian。

Intuit 的工作流与 AI 代理

  • [1:31] 工作流是按顺序执行的一组预定义步骤,不同于用于开放式问题的代理,后者的步骤顺序或数量无法预测或硬编码。
  • [1:54] 在 Intuit,代理通常在处理非结构化数据(如文本、图像、文档和语音)时取得成功。
  • [2:10] 代理的关键组件包括 GenAI 模型,它可以是从大到小的各种模型的集合或组合。
  • [2:20] 代理拥有工具——即服务和 API——它们提供数据以加载到上下文中,以及用于执行操作的 API 和服务。
  • [2:24] 编排器管理状态,利用记忆和过去的交互,并借助可用的工具和 LLM 进行推理,以制定计划并执行目标。
  • [2:36] AI 代理需要部署在安全可靠的运行时上,并由用户请求或其他环境触发器激活。
  • [3:06] Intuit 让其所有工程师都能开发代理,并在推出首批代理的同时发布了其平台 GenOS(生成式 AI 操作系统)的第一个版本。
  • [3:36] GenOS 负责责任、数据治理、安全、合规、隐私和可观测性,使团队能够专注于客户问题;它构建在 Intuit 的核心开发平台之上,该平台提供了铺好的道路和运行时保障。

Intuit 从云原生到 AI 原生的平台历程

  • [4:17] Intuit 于 2011 开始了其公有云之旅,主要是从数据中心直接迁移到 AWS。
  • [4:17] 在2018,Intuit 推出了一个全公司范围的云原生开发平台,用于后端微服务和前端微应用。
  • [4:47] 该平台提供标准化、可重复且安全的基于容器的部署,并将运营数据发送到中央运营数据湖。
  • [5:17] 该平台与 GitHub Artifactory 等供应商解决方案以及关键 AWS 云服务集成,并且 Intuit 开源了 Argo,两次赢得 CNCF 最终用户奖。
  • [5:56] 该平台在内部被称为 Modern SaaS Platform,它促成了运营卓越标准,使服务可用性达到五个九。
  • [5:56] 从2022开始,Intuit 从云原生开发平台转向 AI 原生开发平台,以大规模支持智能体和 AI。
  • [6:26] AI 被用于内环的代码辅助,平均使编码速度提高约40%,并被用于外环的自动扩缩容、异常检测、可观测性和 SRE 智能体。
  • [6:56] 该平台包括服务 API PaveRoad 和名为 GenOS 的智能体开发 PaveRoad,提供标准化代码模板、CICD 和开箱即用的可观测性。
  • [7:17] Intuit 最近开源了 NUMA Flow,以简化事件驱动或异步智能体及服务的开发。
  • [7:28] 在大规模运行方面,Intuit 运行着350多个 Kubernetes 集群,拥有超过一百万 CPU 核心、约3000多个服务、数百个应用、数万条数据管道以及100多个生产环境中的智能体。
  • [7:58] 该平台的价值在于利用 AI 驱动更多“为你完成”的产品体验,加速开发速度并实现运营卓越。

构建智能体与常规服务

  • [8:44] 智能体本质上是一个应用或服务,因此身份访问管理、运行时基础设施、追踪、可观测性和集成保持不变。
  • [9:07] 额外的工作来自智能体需要大语言模型,而大语言模型大多是非确定性的,需要提示工程、优化和评估。
  • [9:34] 智能体需要以自然语言描述且互不重叠的工具,以及经过优化的上下文,以免产生幻觉或失去同步。
  • [10:13] 开发智能体最难的部分是评估步骤。
  • [10:15] 由于智能体的结果是非确定性的,而且并非所有人编写了全部代码,调试和测试更加困难,测试标准也极其主观。
  • [10:41] 创建客观的测试标准和系统化的结构化评估是额外的步骤,同时还需要持续迭代和端到端的数据管道。
  • [11:21] 评估和数据管理对许多软件工程师来说是新的领域,这标志着从优秀软件工程师到优秀 AI 工程师的巨大跨越。
  • [11:47] 今年春天,他们推出了 Agent Starter Kit,内置了起始代码、CI/CD 流程和最佳实践。
  • [12:20] 他们投资于教程、培训和标准化管道,使团队更快地走完生命周期并进入生产环境,而不是卡在 POC 阶段。

Intuit 的 GenOS 智能体采用情况和成果

  • [13:13] Intuit 拥有约8,000名工程师,其中超过1,200人现在使用 GenOS 开发智能体,成熟度各不相同。
  • [13:21] Intuit 已在生产环境中启动了3,500多个实验,在典型的一天里 GenOS 收到约50,000次请求,仅八月份 GenOS 上的智能体就使用了4万亿个 token。
  • [13:51] Agent Starter Kit 在一周内获得了900次下载,100多个团队在五天内于演示日进行了演示,降低了学习曲线和入门门槛。
  • [14:10] 在 Agent Starter Kit 的支持下,QuickBooks 今年夏天推出了一套下一代智能体,其中包括一个会计智能体,每月为小企业节省约12小时。
  • [14:40] 截图转估算功能帮助企业提前五天收到付款,全额收款的可能性提高了10%。
  • [14:54] Intuit Enterprise Suite 被定位为现代 AI 原生 ERP,内置多实体管理自动化、AI 驱动的洞察以及由 AI 智能体组成的虚拟团队。
  • [15:00] 78%的客户表示他们获得了更多时间来发展业务,并且对自己的财务状况有了更好的了解,这显示了这些智能体带来的价值和投资回报。

Intuit 的智能体开发与事件恢复

  • [16:01] Intuit 最初在开发内环推出了 AI 驱动的代码和测试生成,但智能体开发现在正在改变整个产品开发生命周期。
  • [16:01] 开发者超过30%的时间花在外环的故障排查、基础设施管理和事件管理上。
  • [16:31] 即使在 Intuit 内部,变更引发的事件仍然很高,恢复时间也不一致。
  • [16:31] Intuit 专注于以客户为中心的可观测性,使用黄金信号、真实用户监控和中央运营数据湖上的分布式追踪,因为智能体首先需要干净的数据。
  • [16:58] 他们在进入智能体领域之前,为可观测性和渐进式交付实现了近实时异常检测。
  • [17:15] 借助成熟的运营数据和端到端可观测性,他们推出了事件恢复智能体,该智能体遍历资产依赖关系,因为事件可能由影响多个资产的下游资产引起。
  • [17:45] 该智能体通过开发者反馈循环逐步识别根本原因,已经能够找到超过50%事件的根本原因;它不断用真实事件数据进行评估。
  • [18:15] 其他智能体实验包括异步智能体修复安全缺陷、升级 Java 版本等技术、分诊值班警报以及处理构建和部署失败。
  • [18:44] 他们的目标是在升级到二级支持之前,用对话式智能体回答大多数开发者问题。

Kubernetes AI 智能体与平台 ROI

  • [19:18] 有人提问如何将 AI 智能体加入 Kubernetes 集群以帮助解决问题。
  • [19:24] 平台工程师维护 Kubernetes 集群,而服务开发者使用这些集群来构建自己的智能体或服务。
  • [19:24] 平台工程团队正在首先试验用智能体来分诊问题,要求在 Kubernetes 集群中进行确定性的生产变更之前,达到 100% 的准确率并有人工参与。
  • [20:16] 一百万以上核心指的是运行服务、API、数据管道、Web 应用和智能体的整体平台,而不是仅指智能体。
  • [20:16] 对于每个在生产环境中运行的智能体,首先要衡量的是给客户所提供答案的准确性。
  • [20:46] ROI 被描述为客户更快拿回资金,并拿回时间投资于自己的业务。
  • [21:16] 他们鼓励大量实验,但仍然严格优先考虑哪些必须获得投资,以便为客户带来提升效益。
  • [21:23] 对于 SRE 智能体,人工查找根本原因需要 20 分钟,而智能体不到五分钟;到目前为止,在 50% 的情况下,智能体能在不到五分钟内找到原因。

在 Kubernetes 上构建 AI 智能体

  • [22:02] 这个问题是关于 Kubernetes 之上的通用智能体,而不是基础设施智能体。
  • [22:10] 像构建任何智能体一样开发智能体:不要先担心基础设施和云;先在你的机器上有效地构建一个智能体,然后在你组织拥有的任何基础设施上构建起来。
  • [22:26] 对许多软件工程师来说,这是他们第一次接触 AI,因此这是提升技能和加大投入的地方。
  • [22:26] 基础设施和工具会随之而来,而且根据过去两年的情况,工具会变得更好,并大幅简化。
  • [22:26] 你必须自己投资的技能是如何有效地利用 AI。

炉边谈话闭幕与致谢

  • [22:55] 演讲者感谢 Mukulika 和 Mehran 参加首届 Cloud Native Live 炉边谈话。
  • [22:55] 观众被引导至 LinkedIn 上的 Intuit 开源页面,链接显示在屏幕上,也可能发布在聊天中。
  • [23:25] 鼓励观众继续关注未来的场次。

[0:00] 谢谢。好的,欢迎大家参加我们的首场云原生炉边谈话直播。我叫 John O'Bacon,是 State Shift 的创始人兼 CEO。今天能进行这个活动我非常兴奋。本次会议我们邀请了一些很棒的嘉宾。请务必在聊天中回复并积极参与,让活动尽可能有趣和精彩。今天,我们将与 Intuit 的一些朋友交谈。如果你不熟悉 Intuit,Intuit 长期以来一直是 CNCF 的稳定最终用户成员。在 CNCF 社区中,它可能最为人所知的是 Argo 的创造者,他们将 Argo 捐赠给了 CNCF,并且长期以来深度参与 AIOps 和 MLOps 社区。真正有趣的是,Intuit 一直在进行这一旅程,将其所有产品(TurboTax、QuickBooks 等)转变为 AI 原生产品。今天我们将深入探讨 Intuit 如何构建其平台以大规模构建代理,从云原生扩展到 AI 原生。好的,今天有两位嘉宾将向大家发言。我们有 Mukulika Kapas,她是 Intuit 的产品管理总监。你好吗,Mukulika?过得不错?

[1:09] 太棒了。很好。谢谢。很高兴有你。我们还有 Marin Kurian,他也是 Intuit 的杰出工程师。很高兴见到你,Marin。你好吗?谢谢你,先生。好的,那我们为什么不直接深入探讨呢?让我们开始吧。就像我们在谈论 AI 代理,但你们如何定义 AI 代理?Intuit 在这个领域的经验到目前为止是怎样的?是的,我可以回答这个问题。所以在我们进入代理之前,我想快速指出工作流和代理之间的区别。工作流是指你有一组预定义的步骤。这些步骤按顺序执行。而 AI 代理可用于解决开放式问题,在这些问题中,预测步骤顺序甚至所需步骤数量更加困难甚至不可能。你无法硬编码固定路径。

[1:54] 这就是我们在 Intuit 看到的代理通常成功的例子。它涉及处理非结构化数据,如文本、图像、文档、语音。回到我如何定义代理,代理有关键组件。主要它们有一个 GNI 模型。它可以是一个集合或多种模型,从大到小。它们有工具,即服务或 API,为这些代理提供加载到上下文的数据,以及执行操作的 API 和服务。代理中的关键组件是编排器,它管理状态、利用记忆、过去的交互,并利用代理可用的工具和 LLM 本身来制定计划并执行,以实现目标。最后,这些 AI 代理需要部署在安全可靠的运行时上,并由用户请求或环境中的其他触发器激活。所以在 Intuit,我们开发代理已经大约两年了。我们的第一代代理是对话助手,所以它会进行数据获取,回答你的问题。

[3:06] 我们称之为“为你完成”的体验,所以这些代理可以代表你行动,在允许时执行任务。嗯,我认为在行业中不同的是,我们使所有工程师都能够开发代理。所以这是我们转型的一部分。因此,除了第一组代理,我们还推出了平台的第一版,我们称之为 genos,是生成式 AI 操作系统的缩写,这样团队可以专注于解决客户问题,而不是处理责任、数据治理、安全、合规、隐私和可观测性等事项。所有这些都由平台处理。现在,我们不是从零开始。非常感谢 Mukulika 和团队。所有这些都构建在 Intuit 的核心开发平台之上,该平台为我们提供了铺好的道路和运行时保证。这就是我们能够以所需的规模速度推出这个平台的原因。

[4:00] 太棒了。谢谢。说到 Mukulika,她是这项工作的传奇人物,我想讨论一下你们在 Intuit 所经历的发展历程。Mukulika,你能分享一下你们使用的技术、规模吗?比如,你们为什么构建它?当然。那么,带你们了解 Intuit 的云原生之旅,然后是 AI 原生之旅,在 2011 年,Intuit 开始了其公有云之旅。他们是最早迁移到 AWS 的公司之一,主要是从数据中心进行 lift and shift。在 2018 年,我们推出了一个 Intuit 范围的云原生开发平台,用于构建和运行后端微服务和前端微应用。

[4:47] 这为我们提供了基础基础设施,以标准、可重复和安全的方式使用容器构建和部署应用和服务,同时将所有运营数据发送到中央运营数据湖。对于微前端应用。该平台与供应商解决方案(例如 GitHub Artifactory)以及关键 AWS 云服务集成。如你所知,我们在这段旅程中开源了 Argo,因此凭借我们的使用和贡献两次获得 CNCF 最终用户奖。这并不奇怪,因为它还促成了 Merin 谈到的运营卓越标准和最佳实践的推广。

[5:56] 从而实现全公司五个九的服务可用性。在内部,我们称这个开发平台为 Modern SaaS Platform。为了进一步提高开发生产力,并在我们的产品体验中大规模启用智能体和 AI,从 2022 开始,我们从更加云原生的平台转向了 AI 原生开发平台。不仅在内部循环中使用 AI,比如代码助手,平均编码速度提升约 40%,还在外部循环中使用 AI,比如用于我们服务和智能体的自动扩缩容。我们在运维中使用 AI,比如异常检测和可观测性,以及我们很快会讨论的 SRE 智能体。

[6:56] 服务 API PaveRoad,以及现在的智能体开发 PaveRoad,称为 GenOS,它提供标准化代码模板、CICD、开箱即用的可观测性、关键集成等等。例如,对于智能体,它与评估和 LLM 集成。对于常规服务,比如它只与数据库集成。我们最近开源了另一个新项目 NUMA Flow,以简化事件驱动或异步智能体及服务的开发,这也是一个非常酷的项目。

[7:28] 现在让我们谈谈规模。所有后端微服务和应用都在 350 个以上 Kubernetes 集群上大规模构建和运行,拥有超过百万个 CPU 核心。今天我们拥有大约 3000 个以上服务、数百个应用、数万条数据管道,以及现在 100 个以上生产环境中的智能体,运行在这个通用平台上。处理平台、批处理平台,以及现在这个通用开发平台上的智能体开发平台。总结一下,该平台提供的价值在于:利用 AI 驱动更多“为你完成”的产品体验,加速开发速度,最终实现全公司的卓越运营。

[8:22] 太棒了。太棒了。我喜欢的是,很多人在谈论智能体以及如何在线构建智能体,但你们是在亲身实践,你们在呼吸它,你们在大规模地做。Maren,我很好奇,作为杰出工程师,在你看来,构建智能体与在你们的开发平台上构建另一个应用或服务有何不同?是的,好问题。从根本上说,它就是一个应用或服务。正是在构建服务之上需要做的额外工作,才使智能体更有效、用户体验更好。那么共同点是所有身份访问管理、运行时基础设施、端到端追踪、可观测性、与用户体验的集成、分析,所有这些。

[9:07] 都是必需的。它们需要安全、合规且可靠。所有这些都保持不变。所以我谈到的额外工作是智能体需要大型语言模型。所以现在我们进入了与 AI 合作的领域,事情大多是非确定性的。因此,取决于你需要处理的元素数量和提示数量,你就进入了提示工程、优化、评估。智能体需要不重叠的工具才能有效做出决策。所以这些是为智能体上下文优化的服务的自然语言描述。你最近可能会经常听到上下文工程。所以智能体还需要优化它们工作所需的上下文,以免产生幻觉,不会越界、不同步。所以所有这些都是各自独立的工作流。因此,这是在开发常规服务和应用之上需要做的很多额外工作。这只是编码部分。现在,开发智能体最难和最困难的是

[10:13] 评估步骤。因为智能体有非确定性的结果,而且你并没有编写所有代码。对。没有人真正编写了所有代码。所以调试测试更难。甚至智能体的测试标准也极其主观,因为当时你使用的是自然语言,比如英语。对。所以以前你会听到,哦,它在我机器上能运行。现在我听到的是,它对我的数据能运行。它对我的问题能运行。所以创建客观的测试标准并进行系统化、结构化的评估,这是你需要做的另一步,除了让你的智能体像常规软件一样工作之外。而且 AI 解决方案关乎持续迭代来解决问题,所以我们需要端到端的数据管道,将数据从用户集成体验、追踪、日志移回这些地方,以随时间改进。所以评估和数据管理的这个特定方面对许多软件工程师来说是新的。所以我认为

[11:21] 这是从优秀软件工程师到优秀 AI 工程师的巨大飞跃。对。这是大量的工作。我们知道这一点。对。这就是我们构建 GenOS 的原因。对。我们想要简化并帮助人们。呃,快速走过开发智能体、测试它们、部署它们、持续监控它们并改进它们的端到端生命周期,基于我们头两年的自身学习。今年春天,我们推出了 Agent Starter Kit,它进一步优化了整个 CI/CD 或管理智能体开发生命周期。所以我们提出了起始代码、CI/CD 流程以及所有内置的最佳实践和能力。

[12:03] 所以你不必阅读数百份文档,与 10 个不同团队交谈。一切都可以以你可以参考的方式获得,然后构建你自己的智能体。而且,鉴于这个领域的重要性,我们也在投资教程、培训等等。提供标准管道。所以再次,我们的目标是帮助团队更快地走过生命周期,以便他们真正进入生产环境,而不是卡在 POC 阶段。是的,我喜欢。顺便说一句,大家,我想在继续之前花点时间。

[12:36] 领英上有很多人在谈论如何构建智能体。说实话,很多人根本不知道自己在说什么。而 Mookalika 和 Merin 是真正在做这件事的人,他们亲身实践、全身心投入。对吧。所以把你们的问题提出来。这是一个绝佳的机会,可以深入了解那些真正在一家重要公司大规模做这件事的人的想法。所以,如果你有问题,就提出来。你的问题是什么都无所谓。可以是极其简单的问题,也可以是极其复杂的问题。尽管提出来。这样我们就能借鉴他们的经验。好的。那么你提到了 Gen OS,也提到了 agent starter kit,但它是如何促成这一点的?比如,你会说其中一些成果是什么?

[13:13] 是的,我可以先开始,然后 Mugli 可以补充更多。所以请记住,Induit 只有大约 8000 名工程师,其中超过 1200 人现在正在使用 genos 开发智能体,成熟度各不相同,到目前为止我们已经能够推出 3 个 500 以上的生产实验,我们的客户已经测试并给出了反馈,我们平均每天在 genoa's 上收到 50 000 个请求,仅八月份,genos 上的智能体就使用了 4 万亿个 token,所以我们一直在这条路上前行,嗯,正如我所说,我们在那一周推出了 agent,仅那一周我们就获得了 900 次下载。

[13:54] 并且 100 多个团队能够在演示日期间进行演示,仅用了五天时间。因此我们大幅降低了学习曲线和入门门槛,让人们能够真正开始上手。如果你有一个想法,你就能开始行动。因此,在 agent starter kit 的支持下,QuickBooks 今年夏天推出了一系列为体验而打造的下一代智能体。所以我们在 QuickBooks 平台上有整套智能体为客户服务。我只想特别指出其中两个。我们的会计智能体每月为小企业节省约 12 小时,帮助他们保持账簿井然有序。

[14:40] 截图,你已经把所有这些都拍下来并转换成估算值,企业随后可以据此向我们发送发票,这帮助他们提前五天收到付款,全额收款的可能性提高了 10%。补充一下 Marin 所说的,Intuit 还通过 Intuit Enterprise Suite 重新定义中端市场 ERP 格局,这是一款现代化的 AI 原生 ERP 解决方案,内置自动化功能,例如多实体管理、即时 AI 驱动的洞察以及虚拟 AI 智能体团队。我们已经从客户那里听到,78% 的客户表示他们获得了更多时间来发展业务。他们可以更多地专注于业务本身,而不是忙于管理,他们对自身的财务状况有了更清晰的了解。所以我们已经在这些智能体上看到了价值和投资回报。

[15:39] 太棒了。作为一个希望更快收到付款的 QuickBooks 用户,我完全支持这一点。那么,你知道,在我们进入一些观众提问之前,还有最后一个问题。我们已经看到智能体在基础设施领域的兴起,比如 SRE 智能体。但你们是如何考虑将智能体纳入平台工程方面的?所以像其他人一样,我们首先推出了多个 AI 驱动的代码辅助工具,用于开发内循环中的代码生成、测试生成。但现在,智能体式开发正在改变整个产品开发生命周期。如今,开发者超过 30% 的时间花在外循环上,排查问题、管理基础设施、管理事件。

[16:31] 尽管取得了进展,变更引发的事件仍然居高不下,即使在 Intuit 内部也是如此,而且恢复时间也不一致。所以过去几年,我们专注于以客户为中心的可观测性,使用黄金信号、真实用户监控和分布式追踪,建立在我们中央运营数据湖之上。因为你必须记住,智能体首先需要干净的数据才能工作,就像任何其他 AI 一样。我们首先在该数据之上实现了近实时异常检测,用于可观测性和渐进式交付,然后才进入智能体领域。

[17:15] 现在我们已经有了成熟的运营数据和数据管道以及端到端可观测性,我们首先推出了事件恢复智能体,它在事件发生期间遍历我们的资产依赖关系,因为事件不仅仅由一个软件资产引起。它可能由影响多个资产的下游资产引起。通过开发者反馈循环逐步确定事件根本原因非常重要,以实现更快的事件恢复。如今,该智能体已经能够找到我们超过 50% 的事件根本原因。正如 Merin 所说,我们不断用真实事件数据对智能体进行评估。我们在平台中试验智能体的其他领域包括:智能体异步执行任务,尝试修复我们安全团队在全公司范围内提出的任何安全缺陷。或者升级,比如说,一个技术日期,比如升级 Java 版本。异步智能体进入你的代码仓库,查找依赖关系,并执行升级。我们正在做值班警报分诊。值班工程师收到大量警报,需要分诊并弄清楚哪些需要采取行动,哪些不需要。

[18:44] 构建和部署失败。我们在支持 Slack 中最大的开发者问题是为什么我的构建失败了,以及为什么我的部署出现崩溃回退。好的,我喜欢分诊和洞察,然后是开发者支持。我们正试图通过对话式智能体回答我们大多数开发者的问题,然后再将他们转给第二层支持。是的。太棒了。那么我们这里有一个来自某位神秘人士的问题。他们没有留下名字。所以我假设这显然是布拉德·皮特。

[19:18] 谁说如何将 AI 代理添加到 Kubernetes 集群以帮助我解决问题?我们有维护 Kubernetes 集群的平台工程师,显然还有使用 Kubernetes 集群构建自己的代理或服务的服务开发者。因此,我们的平台工程团队首先在试验代理来分诊问题,因为在做出确定性的生产变更之前,我们需要在人工参与的情况下达到 100% 的分诊准确率。

[19:54] 在 Kubernetes 集群中。太棒了。然后我们收到了 Larry 的一个问题。我喜欢这个问题。他说,我很想了解这个平台的经济效益。一百万以上的核心是巨大的。无论是字面上还是比喻上,投资回报率必须存在,才能让考虑采用代理的公司觉得可行。你如何平衡投资与结果?谢谢。我先来回答,然后 Merin 可以补充。所以澄清一下,一百万以上的核心是我们运行服务、API、数据管道、Web 应用和代理的整体平台。我们还没有在代理上运行一百万以上的核心,因为对于我们在生产环境中运行的每个代理,我们首先衡量的是它们给客户提供的答案的准确性。

[20:46] 非常小心地在生产环境中运行它们,尤其是给我们的客户提供答案。投资回报率,我们已经提到过我们的客户如何更快地收回资金,他们如何说他们获得了时间回来投资于他们的业务。Merin,你想补充什么吗?是的,就像 Mukulika 说的那样,对吧?我们鼓励大量实验。这并不意味着总是无情地优先考虑必须获得投资的部分,即为我们的客户提供提升效益的部分。

[21:23] 喜欢它。渐进式完美。例如,我们的 SRE 代理,我们正在跟踪的是,如果人类找到问题根本原因需要 20 分钟,代理则不到五分钟。到目前为止,在 50% 的案例中,代理在不到五分钟内就找到了。太棒了。太棒了。然后我认为这可能是我们的最后一个问题,因为这里时间不多了。这个问题来自 Jan Harvey。我希望我正确发音你的名字。对于个人开发者来说,开始构建和部署 AI 代理在 Kubernetes 上的第一个实际步骤是什么,特别是如果他们不熟悉云原生工具和编排。

[22:00] Mary,你想回答吗?是的,我假设这不是关于构建基础设施代理,而是一般的代理,但是在 Kubernetes 之上。这就像你开发任何代理一样。首先不要担心基础设施和云。弄清楚如何在你自己的机器上有效地构建一个代理,然后慢慢地在你的组织可用的任何基础设施上构建。再见。我认为根本的区别,就像我指出的,这是许多软件工程师第一次接触 AI。所以这是你需要提升技能并投入更多的地方。基础设施会跟上。工具会跟上。如果过去两年有任何迹象,事情会变得更好。工具会变得更好。会有更多的简化。但你需要投资于自己的技能是如何有效地利用 AI。这你必须自己做。

[22:55] 太棒了。好的,Mukulika、Mehran,非常感谢你们今天加入我们。这是首届 Cloud Native Live 炉边谈话。感谢你们今天加入我们。大家,去 LinkedIn 上查看 Intuit 开源页面。你可以在屏幕上看到链接,我们希望在后台有人可能把链接放到聊天中。YouTube,然后请继续关注未来的会议。所以谢谢大家。祝你们一周愉快,我们下次见。

查看英文原始字幕

[0:00] Thank you. Alrighty, welcome everybody to our inaugural cloud native live fireside chat. My name is John O'Bacon. I'm the founder and CEO of State Shift. I'm really excited to do this today. We've got some amazing guests on this session. Make sure you are responding in the chat and engaging to make this as fun and as interesting as possible. Now, Today, we're going to be talking to some friends of ours at Intuit. Now, if you're not familiar with Intuit, Intuit has been consistent end-user members of the CNCF for a long period of time. Probably best known within the CNCF community as the creators of Argo, who donated Argo to the CNCF, and have been very involved in the AIOps and the MLOps communities for quite some time. What's really interesting here is that Intuit, has been on this journey to move all of their products, TurboTax, QuickBooks, etc., to become AI-native products. And what we're going to be digging into today is how Intuit has built its platform to build agents at scale, expanding from cloud-native into AI-native. OK, we've got two guests who are going to be speaking to you today. We've got Mukulika Kapas, who's director of product management at Intuit. How are you doing, Mukulika? Doing well?

[1:09] Awesome. Great. Thank you. Great to have you. And we've also got Marin Kurian, who's the distinguished engineer into it as well. Great to see you, Marin. How are you doing? Thank you, sir. Alrighty, so why don't we dig right into this? So let's get started. Like we're talking about AI agents, but how do you define an AI agent? What has been into its experience in this space so far? Yeah, I can take that. So before we go into agents, I want to quickly call out the difference between a workflow and an agent. So a workflow is when you have a predefined set of steps. These steps are executed in a sequence. Whereas AI agents can be used for solving open-ended problems where it's more difficult or even impossible to predict the sequence of steps or the required number of steps even. And you can't hard code a fixed path.

[1:54] So this is where we have seen in examples at Intuit where agents are usually successful. It's about working with unstructured data such as text, images, documents, speech. And going back to how do I define an agent, agent has key components. Primarily they have a GNI model. It can be a collection or variety of models, large to small. They have tools which are services or APIs which provide these agents both the data to load into the context and also the APIs and services to perform actions. The key component in the agent is then an orchestrator which manages states, leverages memory, past interactions, and resends with the tools available at the agent's disposal and the LLMs themselves to develop plans and execute so that they can achieve the goals. And finally, these AI agents need to be deployed on a safe and secure runtime and is activated either by a user request or through some other triggers in the environment. So at Intuit, we have been developing agents for the last two years or so. Our first generation agents were conversational assistants, so it will do data fetching, answer a question you have.

[3:06] what we are calling done for you experiences so these agents can act on your behalf execute tasks when permitted um what is different i think in industry is that we have enabled all of our engineers to develop agents so this is part of a transformation for us so along with the first set of agents we also launched our first version of the platform which we call genos short for generative ai operating system so teams can focus on solving customer problems rather than handling talks like responsibility, data governance, security, compliance, privacy, and observability. All of these are taken care of by the platform. Now, we didn't start from scratch. Huge thanks to Mukulika and team. All of these were developed on top of into its core development platform, which provided us the paved roads and the runtime guarantees. And that's how we were able to launch this for the velocity we need to scale.

[4:00] Amazing. Well, thank you. And speaking of Mukulika, who is a legend in this work, I'd like to kind of discuss a little bit about the development journey that you've been on at Intuit. Mukulika, could you share a bit about kind of the technologies you use, the scale? Like, why did you build it? Sure. So to take you through Intuit's cloud native journey and then AI native journey, in 2011, Intuit began its public cloud journey. They were one of the first companies to move to AWS, mainly doing lift and shift from data center. In 2018, we rolled out an Intuit-wide cloud native development platform for building and running backend microservices and frontend micro apps.

[4:47] This gave us the base infrastructure for building and deploying applications and services in a standard, repeatable and secured way using containers while sending all the operational data to a central operational data lake. for micro front-end app. The platform integrates with vendor solutions like, say, GitHub Artifactory, as well as key AWS cloud services. As you know, we open sourced Argo as a part of this journey and hence won the CNCF End User Award twice for our usage as well as contribution. It's no surprise as well as it enabled rolling out operational excellence standards and best practices that Merin talked about.

[5:56] leading to five nines of service availability across the company. Internally, we call this development platform Modern SaaS Platform. To increase our development productivity even further and to enable agents and AI at scale within our product experiences, starting 2022, we went from more cloud-native platform to AI-native development platform. Not only use AI for, say, code assistant in the inner loop leading to, say, 40 percent faster coding on average, but also use AI in the outer loop, say, for auto scaling of our services and agents. We use AI in operations like anomaly detection and observability and now SRE agents that we'll talk about soon.

[6:56] service API PaveRoad, as well as now agent development PaveRoad called GenOS, which provides standardized code templates, CICD, out-of-the-box observability, key integration, etc., etc. For example, for agent, it integrates with eval and LLMs. For regular service, say it integrates with just database. We recently open sourced another new project, NUMA Flow, to simplify event-driven or async agent and service development, which is also a pretty cool project.

[7:28] Now let's talk about scale. All backend microservices and apps are built and run at scale across 350 plus Kubernetes cluster with greater than million CPU cores. Today we have around 3000 plus services, hundreds of apps, tens and thousands of data pipelines and now 100 plus agents in production on this common platform. processing platform, batch processing platform, and now agent development platform on this common development platform. To summarize, the value the platform provides is powering more done-for-you product experiences using AI, accelerating development velocity, and finally enabling operational excellence across the company.

[8:22] Amazing. Amazing. What I love about this is a lot of people are talking about agents and how to build agents online, but you're doing it like you're living it, you're breathing it, you're doing it at scale. Maren, I'm curious in your position as a distinguished engineer, you know, how is building an agent any different to building another application or a service on your development platform? Yeah, good question. So fundamentally, it is an application or a service. It is the extra work that we need to do on top of building the service that makes the agent more effective and better for user experience. So then what is common is all the identity access management, runtime infrastructure, end-to-end tracing, observability, integrations with user experience, analytics, all of these.

[9:07] are required. They need to be secure, compliant, and reliable. All of that remains the same. So the extra work that I talked about are agents need large language models. So now we are getting into the realm of working with AI, where things are mostly non-deterministic. So depending on the number of elements you need to work with and the number of prompts, then you are getting into prompt engineering, optimization, evaluation. Agents need non-overlapping tools in order to be able to make decisions effectively. So these are natural language description of services optimized for the context of the agent. And you would probably be hearing context engineering a lot these days. So agents also need to optimize the context with which they need to work so they don't hallucinate, they don't go out of turn, out of sync. So all of these are individual work streams on their own. So this is a lot of the extra work do on top of developing a regular service and application. So that's just the coding part. Now, the hardest and most difficult in developing an agent is

[10:13] The evaluation step. So as agents have non deterministic outcomes and also you didn't write all the code. Right. Nobody actually wrote all the code. So it's harder to debug the test. Even the testing criteria of an agent is extremely subjective, because you are working with natural language like English at the time. Right. So previously you would have heard, oh, it works for in my machine. Now I'm hearing it works for my data. It works for my questions. So being. creating an objective test criteria and doing systematic and structured evaluation that's another step that you need to do in addition to you know making your agents work like a regular software and also ai solutions are about continuous iterations to solve the problem so we need the end-to-end data pipeline moving data from user integrations experiences traces logs back to these improve over time. So this specific aspect of evaluation and data management is new for a lot of software engineers. So I think

[11:21] That is a huge leap from what is a good software engineer to a good AI engineer. Right. And this is a lot of work. And we know that. Right. That is why we build GenOS. Right. We want to streamline and help people. uh move fast through this end-to-end life cycle of developing agent testing them deploying them continuously monitoring them and improving them so based on our own learning for the first two years This spring, we launched Agent Starter Kit, which further optimizes in the whole CI/CD or the lifecycle of managing the development of an agent. So we came up with the starter code, the CI/CD process and all the best practices and capabilities baked in.

[12:03] So you are not going to have to read hundreds of documents, talk to 10 different teams. It's all available for you in a way you can reference and then build your own agent. And we are also, again, given the importance of the space, we are also investing in tutorials, trainings and whatnot. providing standard pipelines. So again, our goal is to help teams move faster, through the life cycle so they actually go to production and not get stuck in the POC phase. Yeah, I love it. And by the way, everybody, just I want to take a moment before we go on.

[12:36] There's a lot of people talking about how to build agents on LinkedIn. A lot of people honestly don't know what they're talking about. Whereas Mookalika and Merin are doing it, they're living it, they're breathing it. Right. So get your questions in. This is a great opportunity to kind of pick the brains of people who are really doing this at scale in a significant company. So if you've got questions, get them in. It doesn't matter how what your question is. It could be a really simple question. It could be a really complex question. Just get them in. So we can tap into their experience. All right. So you mentioned Gen OS and you mentioned agent starter kit, but how has this enabled it into it? Like, you know, what would you say are some of the outcomes there?

[13:13] Yeah, I can start and then Mugli can add more. So remember, Induit has only about 8000 engineers and more than 1200 of them are now developing agents using genos with varying levels of maturity and so far we have been able to launch 3 500 plus experiments in production our customers have tested and given feedback and we get on a typical day for 50 000 requests on genoa's and in august alone the agents on genos used 4 trillion tokens so we have been on this journey um as i was saying we launched agent In that week alone, we got 900 downloads.

[13:54] and 100 plus teams were able to do a demo during the demo day, within five days. So we have significantly brought down the learning curve, the barrier to entry, so people can actually get started. And if you have an idea, then you are able to get going. So powered by the agent starter kit, QuickBooks launched a series of next generation agents done for experiences this summer. So we have a whole suite of agents working for customers in our QuickBooks platform. I just wanted to call out two of them. So our accounting agents saves about 12 hours per month for small business in helping them keep their books organized.

[14:40] screenshots which you've taken all of that and converts them into estimates, which the businesses can then send us invoices, which has helped them get paid five days faster with a 10% more likelihood to get paid in full. Just to add to what Marin said, Intuit is also redefining the mid-market ERP landscape with Intuit Enterprise Suite, a modern AI native ERP solution with built-in automation for, say, multi-entity management, instant AI-driven insights, and a virtual team of AI agents. What we are hearing already from our customers, 78% of the customers are saying they're getting more time to grow their business. They can focus more on the business than managing they have a better picture of their financial health. So we are already seeing value and ROI out of these agents.

[15:39] Amazing. Speaking as a QuickBooks user who wants to get paid quicker, I'm all in favor of this. So, you know, we've seen one final question before we get to some of the viewer questions. We've seen the rise of agents within the infrastructure space with the likes of, you know, SRE agents. But how are you thinking about incorporating agents in the platform engineering side of things? So like everybody else, we first rolled out multiple AI-powered code assistance for code generation, test generation in the inner loop of development. But now, agentic development is changing the whole product development lifecycle. Today, over 30% of developers' time is spent in outer loop, troubleshooting issues, managing infrastructure, managing incidents.

[16:31] Despite progress, change induced incidents still remain high, even within Intuit, and recovery times are inconsistent. So last few years, we focused on customer centric observability using golden signals, real user monitoring and distributed tracing on top of our central operational data lake. Because you have to remember, agents first need clean data. to work, just like any other AI. We started with implementing near real-time anomaly detection on top of that data for observability and progressive delivery first before going into the agentic space.

[17:15] Now that we have a matured operational data and data pipelines and end-to-end observability, we first rolled out Incident Recovery Agent, which during an incident traverses our asset dependencies because incidents are not just caused by one software asset. It can be caused by a downstream asset impacting multiple assets. are very important to identify what's the root cause of the incident step by step with developer feedback loop to enable faster incident recovery. Today, the agent is already being able to find the root cause of more than 50% of our incidents. As Merin said, we constantly do the eval of the agent with real incident data. Other areas where we are experimenting with agents in the platform are agents doing tasks asynchronously trying to remediate any security defects that our security team opens across the company. Or upgrade, say, a tech date, like upgrading Java version. Asynchronous agents going to your repo, finding dependencies, and doing the upgrade. We are doing on-call alert triaging. On-call engineers get lots of alerts, and to triage and figure out which one to take action and which one not to.

[18:44] Build and deployment failure. Our biggest developer question in support slacks is why my build failed and why my deployment is giving crash to back off. OK, I like triaging and insights and then developer support. We are trying to answer majority of our developers questions with conversational agents before sending them to the second tier of support. Yeah. Amazing. So we've got a question here from somebody who was a mystery. They did not add their name. So I'm going to assume it's obviously Brad Pitt.

[19:18] who said how can i add ai agents into kubernetes clusters to help me fix issues So we have platform engineers who maintain the Kubernetes clusters and obviously then the service developers who use the Kubernetes cluster to to build their own agents or their own services. So our platform engineering team are experimenting with agents first to triage issues because we need to be 100 percent accurate in triaging issues with human in the loop before making deterministic production changes.

[19:54] in the Kubernetes clusters. Amazing. And then we got a question here from Larry. I love this question. He says, I'd love to hear about the economics of the platform. One million plus cause is huge. literally and figuratively, the ROI must be there to make it viable for companies thinking about adopting agents. How do you balance the investment versus the results? Thanks. I'll take a first shot and then Merin can add. So just to clarify, one million plus cores was the overall platform on which we run services, APIs, data pipelines, web apps and agents. We are not yet running one million plus cores with agents because of every agent that we are running in production. The first thing we are measuring is the accuracy of the answers that they are giving to the customers.

[20:46] very careful to run them in production with especially giving answers to our customers. ROI, we already mentioned like how our customers are getting money back faster, how they're saying they're getting time back to invest in their business. Merin, do you want to add anything else? Yeah, just exactly what Mukulika said, right? We encourage a lot of experimentation. Doesn't mean always ruthlessly prioritizing what must get the investment, which provides a boost benefit for our customers.

[21:23] Love it. Progressive perfection. For example, our SRE agent, we are tracking that if it takes 20 minutes to find a root cause of the issue for a human, less than five minutes for an agent. And so far for 50% of the cases, the agent is finding within less than five minutes. Amazing. Amazing. And then I think this is probably going to be our final question because we're running out of time here. This is from Jan Harvey. I hope I'm pronouncing your name correctly. What are the first practical steps for. an individual developer can take to start building and deploying AI agents on Kubernetes, especially if they're new to cloud native tools and orchestration.

[22:00] Mary, you want to take it? Yeah, I'm assuming this is not about building infrastructure agents, but generally agents, but on top of Kubernetes. It is like how you would develop any agent. Don't worry about infrastructure and cloud first. Figure out how to build an agent effectively in your machine and then slowly build up on on whatever infrastructure you have available in your organization. Bye. And I think the fundamental difference, like I called out, is that this is a lot of software engineers' first experience working with AI. So that is the place where you need to upskill yourself and invest more. The infrastructure will follow. The tooling will follow. If last two years is any indication, things will be better. The tooling will get better. There will be a lot more streamlining. But the skill that you need to invest in yourself is how to leverage AI effectively. That you have to do on your own.

[22:55] Amazing. Well, Mukulika, Mehran, thank you so much for joining us today. This was the inaugural Cloud Native Live Fireside Chat. Thank you for joining us today. Everybody, go and check out the Intuit open source page on LinkedIn. You can see the link right there on the screen, and we'll hopefully have some people in the background maybe pop a link into the chat. YouTube and then stay tuned for future sessions as well. So thanks everyone. Have a great week and we'll see you on the next one.

在Vidleaf工作台中打开

搜索转录文本,选择行,复制带时间戳的引文,翻译。

在工作台中打开 →

署名

CNCF [云原生计算基金会] 的“Cloud Native Live 炉边谈话:在 Kubernetes 上大规模构建 AI 代理”(https://www.youtube.com/@cncf),根据 CC BY 3.0(https://creativecommons.org/licenses/by/3.0/)许可。源视频:https://www.youtube.com/watch?v=iIzEfS5ThBA。本页面是视频的文本转录,添加了段落分隔和时间戳;创作者与 Vidleaf 无关,也不为其背书。Vidleaf 添加了 AI 标点和 AI 生成的摘要;原始措辞仍可在本页面上找到。

您是创作者或权利持有人吗?请求更正或移除:copyright@vidleaf.app(参见关于这些页面)。

最后更新于