读见

超越 MCP:Netflix 如何扩展企业 AI 平台|Utkarsh Shrivastava

原题Scaling Enterprise AI: Platform Challenges Beyond MCP — Utkarsh Shrivastava, Netflix

约 18 分钟原文英文已翻译

视频由 YouTube 提供

看前速览

3 个要点

Netflix 的 Utkarsh Shrivastava 分享如何提前发现指标歧义和连接器冲突,避免企业智能体把问题交给错误的数据源。

  1. 两个连接器的答案都可能有依据

    报表给的是整场赛事平均值,交易系统给的是单场比赛峰值。业务团队需要说清楚「观看人数」的具体定义和统计依据。

  2. 用回归测试发现责任空白

    从真实故障出发,业务团队检查自己的数据,平台团队用少量测试覆盖可能跨业务路由的问题。调整连接器或模型后,重新运行测试。

  3. 根据提问者和操作风险调整应对方式

    工程师排值班人手时关心峰值,业务人员做活动规划时可能更需要平均观看规模。修改可撤回的仪表盘要留审计记录,向全公司发信一旦出错,代价更大。

完整摘要

Netflix 的内部助手被问到龙达·罗西对阵吉娜·卡拉诺的比赛有多少人观看。它从报表里查到 1240 万,接入交易系统的连接器后,又给出了接近 1700 万的答案。前者是整场赛事的平均值,后者是这场比赛的峰值流量。Shrivastava 解释,信息来源重叠、指标含义模糊和责任不清都会削弱用户信任。他建议先做基于角色的访问控制,再从 20 到 50 个已发生的问题入手构建回归测试。改动模型或连接器时重新运行测试。业务团队负责自己数据的检查,平台团队覆盖跨业务的冲突。实际回答时,可以同时给出两个数并说明口径,向用户追问,或明确假设后继续。

章节

文字稿

查看原文

简要描述Brief Description

Utkarsh Shrivastava 介绍了 Netflix 如何向 10,000 多名员工推出内部 AI 助手,以及当其连接器给出相互矛盾的结果时发生了什么。演讲涵盖指标定义、访问权限、评估、所有权与路由,并结合了现场活动中的案例和观众提问。Utkarsh Shrivastava describes how Netflix rolled out an internal AI assistant to more than 10,000 employees and what happened when its connectors disagreed. The talk covers metric definitions, access, evaluation, ownership and routing, with examples from live events and questions from the audience.

目录Table of Contents

  • 引言
    Introduction
  • AI 工具背后的企业上下文
    Enterprise context beneath the AI tools
  • 当两个连接器给出不同答案时
    When two connectors give different answers
  • 三种数据冲突
    Three kinds of data collisions
  • 以角色为基础的访问控制作为起点
    Role based access as a starting point
  • 评估套件与 CI 检查
    Evaluation suites and CI checks
  • 三位评判者:所有者、证据与直觉
    Three judges: owners, evidence and intuition
  • 读取、可逆操作和不可逆操作
    Read, reversible and irreversible actions
  • 衡量路由质量
    Measuring routing quality
  • 尚待明确的所有权与连接器问题
    Open ownership and connector questions
  • 下周要采取的三个步骤
    Three steps to take next week
  • 问答:分析型数据与事务型数据
    Q&A: analytics versus transactional data
  • 问答:通过 MCP 复用 API
    Q&A: reusing APIs through MCP
  • 问答:在哪里实施访问控制
    Q&A: where to enforce access controls

简介Introduction

大家好,我是 Utkarsh Shrivastava。今天我将谈谈 MCP 之外的企业级 AI 平台扩展挑战。那么,今天大家会有哪些收获呢?首先,我们会讨论如何将智能体套件推广到整个公司。我们曾为 10,000 多名员工做到这一点。大规模构建这样的套件,体验截然不同。我们还会讨论三位评判者,他们将厘清平台与业务领域的归属问题,深入探讨哪些部分应由谁负责,以及如何在全公司范围内实现规模化。最后,我们会给出三件你下周就能做的事。那么,可供选择的工具实在太多了,你究竟该选什么?一方面,你有前沿实验室。我们非常认真地踏上了构建专注于生成式 AI 的智能体套件之路。Hi, everyone. This is Utkarsh Shrivastava and today I will be talking about scaling enterprise AI platform challenges that go beyond MCP. Right. So what you will all be leaving with today? First, we will talk about how to roll out an agentic suite to your entire company. We did this with more than 10,000 employees. It's a very different experience building that at scale. We will also talk about three judges that settle the platform versus domain ownership and really try to tease out who should own what and how do we scale this across the company. Last but not least, we'll leave with three things that you can do next week. Right. So there are so many tools to pick from. What do you really choose? On one hand you have frontier labs. we really started our journey very seriously towards building generative AI-focused agentic suite.

当 Anthropic 和 OpenAI 这样的前沿实验室推出企业解决方案时,几乎每周都会有新的方案问世。就在不久前,Google 推出了面向企业的 Gemini 产品,xAI 也有产品即将推出。因此,一方面,前沿实验室为我们提供了各种产品;另一方面,开放权重模型在这一年里不断发展,也开始增加企业支持。棘手之处在于,我们评估一套产品的同时,总会有新的、令人兴奋的参与者加入,突然之间,可供选择的模型就多了起来。最后,由于这种情况已经持续了一段时间,我们每个领域团队都有自己的代码审查机器人和事件处理智能体。when the frontier labs like Anthropic and OpenAI were coming up with their enterprise solutions and by the week there were newer solutions being added. very recently Google brought out its enterprise Gemini offering and xAI also had something coming up. So on the one hand we had frontier labs giving us an offering and on the other hand open weight models were evolving throughout the year and they also started adding enterprise support and so the tricky part was while we are evaluating one set of suite you always have these new and exciting players come in and suddenly there were many models to choose from. And lastly, because this has been going on for a while, each of our domain teams had their own code review bots, incident agents.

他们各自都有自己的小型智能体,用来完成某项局部技能。这就是当时的生态。说得委婉一点,情况相当混乱,我们需要一个统一的解决方案来统领一切。这里的重点是,如果你仔细看我的维恩图,就会发现正中央有个大大的“企业”。这正是这场演讲的重点。因此,公司的背景是关键。They had their own mini agentics to do one localized skill. So that was that was the ecosystem. It was messy to say the least and we needed one solution to rule it all. And the focus here, if you look at my Venn diagram closely, right at the center, you will see the big word enterprise. And that's the focus of this talk. So the company context is the key here.

AI 工具背后的企业上下文Enterprise context beneath the AI tools

这里采用的是冰山类比。你所采用的 AI 工具只是冰山一角。真正的重点是,你采用哪种工具其实并不重要,因为我们周围的技术变化太快了。等你签完合同并发布时,他们的套件中已经会提供更多功能。这就是我们周围的世界变化之快。但真正重要的是水面之下的部分:Agent harness、企业级技能、MCP,以及人在环路中。Agent harness 是你的运行时执行环境,你也可以把它换成其他开源方案,或者前沿实验室提供的方案。但企业级技能和 MCP 才是你真正需要投入时间的地方。It's taking this as an iceberg analogy. The AI tool that you adopt is only the tip of the iceberg. Now it really the focus here is it really doesn't matter which tool you are adopting because the technology around us is changing so quickly. by the time you sign your contract and you release you will already have more features that they are offering as part of their suite. So that's how fast the world around us is changing. But what does matter most is below the surface that you see it's agent harness enterprise skills and MCPs and human in the loop. Agent harness is your runtime execution environment which also you can swap for another one of these open source or one of the frontier labs. but the enterprise skills and MCPs is where you really need to spend your time on.

我们来看一个前后对比的情景。在 AI 出现之前,企业通常会有一个数据库、一个后端,以及构建在其上的精美 UI,并配有特定的工作流,然后将其交付给财务、市场营销、法务等部门。每个部门都有自己的一套应用程序。这种模式很快就发生了转变,转变成了下面这样:数据库之上提供了 MCP 服务,数据现在可以无缝连接起来。不过,智能体套件在这里提供了什么?我们来看下一张幻灯片。内部智能体套件提供了统一的体验,可以连接各团队的数据。以前也能做到这一点,但这套件大幅降低了将多个工作流整合在一起的成本,这是一个很大的优势。So let's do a before and after scenario. So before AI what used to happen your enterprise will have a database you'll have a backend you will have a very nice UI on top of it and it will have a particular workflows which then you will give it to your finance marketing legal all of these domains. Each domain has their own suite of applications. That world has very quickly transitioned and it has transitioned to the following. Your database has an MCP offering above it and your data can now be seamlessly connected. But what the agentic suite offers here, let's let's go let's go to the next slide. The internal agentic suite gives you one experience that connects data across the teams. This was possible before, but the suite substantially reduces the cost of adding multiple work streams together and that was a big win here.

因此,在此之前,我们使用的是彼此割裂的系统,它们只能访问你数据中特定的部分。而现在,有了智能体套件,这一切都连通起来了。只要打开相应的开关,就能访问此前无法获取的更多信息。这提高了效率,也令人倍感振奋,但同时也带来了很多模糊之处——这正是我们注意到的情况。每增加一个连接器或工具,就多了一种让智能体选错的可能。So before we had disparate systems disjoint which had very specific access to your data and with the agentic suite all of that is now connected and so it's only a matter of turning on that particular toggle and voila you get access to many more information that you did not previously and that leads to higher velocity and a lot of excitement but that also creates a lot of ambiguity and that’s what we noticed. Every connector and every tool that you add is another way for the agent to choose wrong.

当两个连接器给出不同答案时When two connectors give different answers

5月19日,Netflix推出了我们的一项顶级直播节目——隆西对阵卡拉诺的综合格斗比赛,这场活动对我们来说非常成功。就在同一时期,我们也在推出内部套件——Netflix 内部智能体套件。一位用户进入该套件,询问当时有多少人观看了隆西对阵卡拉诺的比赛;我们姑且把那个时间点称为 T1。我们接入了分析连接器,因此工具给出的答案是 1240 万人,这在当时完全正确。几周后,另一位用户再次使用同一个工具,询问有多少人观看了隆西对阵卡拉诺的比赛。这一次,借助我们新增的另一个连接器,工具给出的答案接近 1700 万人。这个新增的连接器是事务连接器,它提供有关直播工具的信息。On May 19th, Netflix launched one of our premier live offerings with a Rousey versus Carano MMA fight and it was a very successful event for us. So this was the same time when we were launching our internal suite Netflix internal agent agentic suite and so a user went into the suite and asked how many people watch the Rousey versus Carano fight at that time let's call it T1 we had hooked up our analytics connector and so the answer that we got from the tool was 12.4 million which was very right at the time. After a few weeks, some other user went into the same tool again and asked how many people watched the Rousey versus Carano fight and this time the answer was nearly 17 million from another connector that we added. This was the transactional connector that we added which gives information around the live tools.

那么,到底谁是对的?在场的各位有人想大胆猜一下吗?So who is right? Does anybody in the audience want to take a wild guess?

我认为你理解得没错。两种答案都正确,因为这是一个典型的 OLAP 与 OLTP 之争:你说的分析数据,意味着分析结果是整场比赛期间的平均值 1240 万;而实时系统给出的答案反映的是比赛期间的流量峰值。那么,如果只有一种方式能得到正确答案,那会是什么呢?这两种情况下,你看到的都只有一个答案,也就是工具选出的那个答案。因此,如果你期待的是另一个答案,就会非常失望,但工具从来没有错。它只是……只是没有提供你想要的信息。I think you got it right. Both are correct because this is a classic OLAP versus OLTP debate where your analytics meant the analytics answer was an average of 12.4 million across the card, while the live-system answer reflected peak traffic for the fight. So when you have one way to get it right, what would that be? in both cases if you see there was only one answer which the tool picked and so if you were expecting the other answer you would be very disappointed but the tool was never wrong. It just it just was not the information you were looking for.

三种数据冲突Three kinds of data collisions

存在三种冲突。第一,同一个词可能有很多不同的含义。比如,“watched”可能指牌面平均值,也可能指比赛中的峰值,还可能指其他信息。这完全取决于具体公司的上下文。你的 LLM 无法替你解决这个问题。你们的业务需要制定标准术语并解决这一问题。第二,范围重叠。两个工具都可能声称自己有相关信息,因为它们确实都有。那么,在确定路由策略时,你会把请求路由到哪里?第三,没有人真正拥有这些信息。MCPS 让获取大量信息变得非常便宜。但我们是否解决了权威归属或所有权之争?没有。因此,在我们推进这项工作的早期,刚开始启用这些功能时,大家都很兴奋。There are three kinds of collisions. First, the same word can have a lot of different meaning. When you say “watched” it can mean card average. It can mean peak at the fight. can mean some other information. Now this is very company specific context. Your LLM cannot solve this for you. This is something which your business needs to come up with the standard terms and solve. The second is overlapping scope. Both tools can claim yes we have the information because they do. So while you are figuring your routing strategy where would you route? And the third thing is nobody truly owns it. The MCPS have made it very cheap to make a lot of information accessible. But did we ever resolve the authority or the ownership debate? No. And so very early in our journey when we started enabling these things the people were excited.

他们使用了我们的工具,却没有得到自己想要的答案,于是信任很快开始瓦解。我们是吃了不少苦头才学到这一点,期间还出现了很多升级处理的问题,这也是我今天来和大家分享经验教训的原因。正如我之前提到的,MCP确实解决了连接问题,但没有解决意见不一致的问题。我们无法检测或解决重叠问题,而且目前还没有标准框架。我会再说一遍,并在幻灯片末尾再强调一次:这是个很难解决的问题。没有什么神奇妙招,也没有哪家公司真正解决了这个问题。那么,我们最初的边界是从哪里开始被打破的呢?有一个实体存在于多个领域中,而且每个领域的判断都是对的。正如你们看到的,有时,一个关于某条实时记录的问题可能同时存在于多个领域中。They came to our tooling and then they didn't get the answer they were looking for and so the trust started eroding very quickly. And we learned it the hard way where a lot of escalations and that's why I'm here to share our learnings with you. So MCP did solve the connection but did not solve the disagreement as I mentioned before. we had no way to detect or settle overlaps and no standard framework exists yet. I'll say it once and I'll say it again towards the end of my slide. This is a hard problem to solve. There is no one magic wand which exists and nobody has truly solved it for the company. So where did our first boundaries started to break? There was one entity which lived in several domains and each was right. As you saw, sometimes a question about one live record can exist.

不过,这个问题可以通过报表解决方案或事务处理系统来回答。此外,如果你曾与传统企业合作,或者你的系统已经运行多年,就会发现很多报表都是通过第三方生成的。因此,这些第三方工具现在也提供了 MCP,并且能够访问这些信息,这就让工具更难选出正确的选项。那么,我们该如何解决这个问题?接下来,我们将重点介绍员工可以采取哪些步骤来开始解决这些问题。However, it can be answered from a reporting solution or your transactional systems. Moreover, if you have worked with legacy companies or have had your system run for the number of years, you will see a lot of reporting happens via third party. And so those third party tools have now offered MCPs and they have access to this information that just makes it all the more confusing for the tool to pick the right one. So how do we solve it? Now we are going to focus the next section on steps a workforce can take to start solving these problems.

以角色为基础的访问控制作为起点Role based access as a starting point

从基于角色的访问控制(RBAC)入手。虽然内部套件已经为你提供了连接所有内容的方式,但不要一开始就让彼此直接获得访问权限。RBAC 是一个很好的折中起点,这样你仍然可以把智能体工具提供给员工,同时避免其中一些冲突。它能解决部分问题,但无法解决根本问题。所以这只是第一步,不应该把它当作你的指路明灯。我们会先用它,直到有更好的解决方案。接下来我会谈谈三位评审者,以及评估套件本身。Start with role-based access control. While the internal suite has enabled you a way it has given you a way to connect everything do not start giving access to each other directly. RBAC is a great middle way to start with so that you are still giving an agentic tool your to your workforce and keeping some of these collisions away. It fixes some of that. However, it does not solve the underlying problem. So this is just the very first step. This is not where you want to treat as a North Star. we use it until we have a better fix and I will be next talking about the three judges and really the evaluation suite

评估套件和 CI 检查Evaluation suites and CI checks

评估套件对在座各位来说并不是什么新鲜事,但我确实想强调拥有评估套件的重要性。那么,如果没有评估套件会怎样?一开始,你能够连接数据,也能推进得很远,一切都运行得非常顺利,大家也会感到非常兴奋。因为过去企业用户必须依赖某些数据档案,找相关人员帮他们构建仪表板、获取所需信息;而现在,通过大语言模型,这一切都能实现。然而,一旦进入生产环境,随着你不断为智能体套件添加连接器、技能和插件,各种冲突就会开始出现。于是,人们会逐渐觉得自己找不到想要的东西。我分享过这样一个例子。因此,如果从一开始、在整个过程中都没有评估套件,你就可能只能以非常被动的方式排查问题。The evaluation suite this is not new for anyone of you however I do want to relay the importance of having an evaluation suite. So what happens if you don't have one? First you're able to connect the data and you're able to go quite far and everything works like a charm and there are a lot of there's a lot of initial excitement because now the earlier your enterprise users would have to rely on some of the data profiles go to them to build their dashboards get access to that information all of that is possible now via LLMs however when you hit production your agent as you add more connectors and skills and plugins into your agentic suite, a lot of collisions start happening and so it starts to feel that people are not getting what they are looking for and I shared one such example and so if you do not have an evaluation suite to begin with right through your journey you run the risk of debugging in a very reactive way.

因此,你会收到一个升级问题,然后开始自己复现问题,并且必须逐一检查日志,找出正在发生的路由行为,这会花很长时间。如果接下来的 3 个月内你都没能解决,之后调试的成本就会呈指数级上升。另一个重要工具是 CI 检查。持续集成在软件行业已经应用了一段时间。不过,现在我们比以往任何时候都更需要依赖 CI,而这需要各个领域团队的配合。在添加任何技能、插件或连接器之前,你需要在每次提交时运行完整的回归测试套件。这样可以避免在内部测试套件中引入冲突。每次提交都运行测试,就是一种做法。So you will receive an escalation and then you will start replicating the problem yourself and you will have to go through each logs to identify what routing behavior is happening and it's going to take a really long time. If you don't solve it even in the next 3 months the cost of debugging would get exponentially harder from that point onwards. The other big tool is CI checks. Again continuous integration is something which has been in software industry for a while. However, we have to now more than ever really rely on CI and this relies with the domain teams. Before you add any skill or any plug-in or any connector, with each commit, you need to start running the entire regression suite. And that prevents you from introducing collisions into the internal suite. Running with each commit is one way.

另一种情况是,用户切换模型时,也可能得到完全不同的答案。我在这里分享我们总结出的所有经验教训。我们几乎每一种情况都遇到过。因此,虽然你的测试——比如说,回归测试套件——在某个特定模型上通过了,但换成另一个模型,结果可能会大不相同。所以,回归测试套件需要覆盖你提供的所有模型。最后,可以从精心挑选的 20 到 50 个用例开始,这些用例应基于你目前在系统中已经遇到的故障场景。以此为起点,逐步扩充即可。The other way to do that is when a user changes models, that can also run the risk of getting a different answer altogether. And I'm sharing all of our learnings. We've hit every single one of them pretty much. And so while your tests, a regression suite test is passing with one particular model, say, on one model, it might give a very different answer with a different model. And so regression suite needs to cover all of your model offerings. And then finally, you start with a solid 20 to 50 use cases curated by the failure scenarios that you are already experiencing in your systems today. That can be a good starting point to build on.

三位评判者:所有者、证据与直觉Three judges: owners, evidence and intuition

这就是第一个评判标准:如果你确实运行了评估套件,而检查未通过,系统就会给负责这些数据的团队发一封邮件。这也是他们第一次发现,尽管我们声称这个工具归我们所有,但还有另一个团队也声称拥有这个工具。所有这些问题早就存在,只是从来没有被发现。现在,你们的内部评估套件终于让这些问题暴露出来了。 第二个评判标准是证据。证据决定事实,而不是近因偏差。这是什么意思呢?回到我举的例子:有多少人看了隆达·罗西对阵吉娜·卡拉诺的比赛?一个工具给出了一个答案,另一个工具给出了不同的答案。如果我们有时无法就该用哪个工具、哪个连接器达成一致,那么内部评估套件会选哪个?有时它会选较新的那个,因为最近添加了一个新工具。So that's that's the judge number one where if you truly run your eval suite and the check fails, it sends an email to the team which owns the data. And this is for the first time that they learned that even though we claim ownership of this tool, there's another team out there which is also claiming ownership of the tool. All of these problems already existed. They were just never caught. And your internal suite is now finally allowing all of the these things to expose. The second judge is evidence. Evidence decides facts, not the recency bias. So what does it mean? Going back to my example of how many people watched the Rousey versus Carano fight, you had one tool give one answer and the other tool give another answer. If we don't settle the debate sometimes which tool which connector will the will the internal suite pick it sometimes is for because of recency a newer tool got added it gets picked.

它展示信息的效果比其他工具好,因此会选择这个工具。有时,内部工具套件会倾向于采用更成熟的方案,因为这个工具已经陪伴我们一段时间了,所以我们宁愿选择一直在用的原始工具。但无论如何,不好的做法是只给出一个确定的答案,因为正确的做法是把两者都标出来。因此,在这种情况下,正确的做法是同时显示卡片平均值和比赛峰值。这只是备用方案,并非规则。最后,第三个判断依据是直觉:关键在于公司里提出问题的人是谁。再举个例子,如果我是负责为实时流量增加值班支持的工程师,我会想知道流量峰值;但如果我是想知道有多少人观看的业务用户,那么这个数据能很好地帮助我为公司规划下一系列直播活动。it has advertised information well better than others and so that tool is picked. Sometimes internal suite favors a more tenured approach that this tool has been with us for a while and so we would rather pick the original which has always been with us but regardless the bad behavior is one confident answer because the right thing to do is you label both. So in this case the right thing to do would be show both card average and peak at the fight. this is a fallback not a rule and then finally the third judge is intuition who is asking at the company really has the key so your role let's take an example if I'm an engineer working on adding on call support to support my live traffic I would want to know peak traffic but if I'm a business user who would want to know how many people watched I can very well plan the next set of live events for my company.

所以例子非常不同,这时了解提问者是谁就很有帮助。当然,还有一些常见问题,比如最可能的含义是什么,以及平台如何处理不确定性。在这种情况下,长期运行的代理——我是说交互式代理——可以直接问:“你真正的意思是什么?”你们应该见过这类提示。但对于长期运行的代理,尤其是多轮事件中的代理,它应该直接选一种理解,说明自己的假设,然后继续推进。我相信你们都见过编程代理是如何迅速处理这类情况的。总而言之,证据和负责人是发布时的两个评判标准,也就是在发布前运行的标准;而直觉则是在运行内部测试套件时实时形成的,它会融入上下文和直觉之中。回归测试由领域团队负责。So very different examples and this is where context on who is asking is really helpful. Then of course you have the usuals like what is the most likely meaning and how the platform handles doubt. in this case a longunning agent I mean an interactive agent can simply ask what did you really mean and you have seen those prompts but a longunning agent especially for a multi-turn event should just pick one state its assumption and continue building I'm so sure you have all seen that in the coding agents that how quickly it runs through that so just to summarize here the evidence and the owners are the two judges that ship be that run before you ship and intuition is live when you run your internal suite it bakes into the context and the intuition. The regression tests are owned by domain teams.

不过,平台确实要负责测试框架,并提供一小部分无法由某个领域单独涵盖的测试用例。比如说,金融和人才是完全不同的两个领域。但如果有人才数据与金融相关,那究竟该由谁负责?在这种情况下,答案可能是两边都不负责,也可能是两边都负责。也许这个争论从一开始就没有定论。因此,平台还要额外承担一项任务:找出这些失败的边缘案例,并在评测中对它们进行测试。However, a platform is truly responsible for the harness and providing a thin layer of test cases which otherwise cannot be captured by a domain. So for example, if you take finance and talent, it's two different domains altogether. But there is a financially relevant talent data, then who really owns this? In this case, the answer is neither or maybe both. And maybe this debate is never settled to begin with. And so the platform has the additional burden of figuring out these edge cases which fail and then running it across your evals.

读取操作、可逆操作和不可逆操作Read, reversible and irreversible actions

当风险很高时,事情就会变得更加棘手。所以,如果只是读取操作,你可以回答有多少人观看了,并给出一个数字。没问题。即使答案错了,虽然会损失一点信任,但你可以从中吸取教训并加以纠正。风险没那么高。可逆写入的风险比读取操作更高。比如说,如果你要更新一个仪表板,可以先运行查询,然后发出更新仪表板的命令,让所有人都能看到。你仍然有机会将其恢复原状,而这正是可观测性发挥关键作用的地方。我们需要采用最先进的可观测性和可靠性实践,这样你就可以专注于追踪数据流,真正追溯问题,并在可能的情况下回滚。风险很高,但没有不可逆操作那么高。那么,什么是不可逆的使用场景呢?This gets even trickier when the stakes are high. So if it's only a read operation, you can answer how many watched you give a number. Fine. If it's wrong, even though a little bit of trust is eroded, you can learn and correct it. The stakes are not as high. For reversible writes, the stakes are higher than read. For example, if you're updating a dashboard, you run a query and then you issue a command to update the dashboard which is visible by all. you still have the chance to revert it back and this is where observability is the key. We need best state-of-the-art observability and reliability practices so that you can focus on the trail of the data and then really trace it back and roll back if possible. The stakes are high but not as high as irreversible. So what's an irreversible use case?

我发出一堆命令,随后邮件就发给了整个公司。是啊,这种情况几乎无法挽回,尤其是涉及高管的时候。你肯定不想陷入这种境地。更糟的是,你在制作一份业绩演示材料时,系统更新了其中的一些数字,接下来你就要去华尔街分享这些数字了。你绝对不想遇到这种情况。所以我只是想强调 eval 有多重要,以及仅仅启用 MCPs 是不够的。I issue a bunch of command and then the email goes out to the company. yeah, that's pretty irreversible, especially if your executives are involved. You don't want to be in that situation or worse, you're putting an earnings deck and it updates some numbers and then the next thing you know is you want to go to Wall Street to share your numbers. You definitely don't want to be in this situation. So, just wanted to highlight how important eval is and only merely enabling it MCPS is not enough.

衡量路由质量Measuring routing quality

我们怎么知道这三个判定器是否在正常工作?这其实很简单:严重冲突会减少。理想情况下,新连接器不应该接手属于现有连接器的问题。如果它这么做,评估检查就应该因此失败。路由由平台负责,或者说,平台会在基准测试中实现路由准确性评估,并在每次变更后重新运行。你的内部测试套件中的回退和重试次数必须减少。理想情况下,这些次数应该减少;这是衡量准确率是否达标的一种非常简单的方法。随着时间推移,效果应该不断提升。最后,冲突处理会更容易:你可以提交工单,而每个冲突都不会演变成升级事件,免得你还得回头费力排查。How will we know if the three judges are working? It's pretty straightforward. we have fewer hard conflicts. a new connector should not take questions that belong to an existing one in an ideal way. When it does, the eval check should fail as a result. Your routing which is owned by the platform or implements routing accuracy on the benchmark and then re reruns on every change. Your internal suite has to have fewer fallbacks and retries. Ideally, it should and that's a very easy way to measure how often are you getting your accuracy right. it should build over time. And finally, the conflicts fixing is easier where you raise a ticket and you each conflict does not become an escalation which then you have to go back and figure out the hard way.

开放的所有权和连接器问题Open ownership and connector questions

我们还没有解决所有问题。我刚才只是带你走过了一段探索之旅。仍然有很多悬而未决的问题。首先,权威实体归谁负责?有些情况下,各团队的观点非常明确;而在另一些情况下,他们会告诉我们:“我们从来没讨论过这个问题,确实不知道。”于是你继续沿着他们的领导层级往上问,就会听到很多不同的意见。所以这个问题仍未解决。用户到底是什么意思?当然,我只分享了几个上下文,但情况可能千差万别。所以再强调一遍,只有公司自身掌握相关背景,你仍然必须自己解决这个问题;没有哪个 LLM 能替你解决。我们该如何淘汰一个连接器?我认为,我们在添加更多连接器、技能和插件方面做得很好,但在淘汰连接器方面,我们还做得不够好。We have not solved everything. I just took you on a journey. There are still very many open questions. First, who owns the authoritative entity? In some cases the teams have very strong opinion. In other cases they get they tell us we have never discussed this like we really don't know and you go keep going on their leadership chain and then you get a lot of opinions. So that's still open. What did users mean? Of course I only shared a couple of context but it can vary very differently. So again just to reiterate only you only a company has the relevant context and you still have to solve that there's no LLM which can solve it for you. How do we retire a connector? I believe we did a very good job in adding more connectors and skills and plugins but we have not reached a point where we are doing a good job in retiring connectors.

所以我担心,如果我们长期处于这种相同的状况,最终会出现一系列连接器,而这些问题也会变得更难解决。对于我们这些做过很多单元测试的人来说,良好的清理工作非常重要;在单元测试中,清理是最重要的事情之一,而这里是否会做到这一点还有待观察。还有,分享究竟何时值得付出协调成本?有时人们不想花大量时间讨论每一件事,于是事情就维持原状,我们也没有明确的负责人。And so I'm afraid that we if we are in this same situation for a long periods of time, we will end up with a series of connectors and this these problems will get much harder for us to solve. So a good tear down is for those of us who have done a lot of unit tests, tear down is one of the most important things and that's just something which remains to be seen here. And then truly when is sharing worth its coordination cost? Sometimes people don't want to spend their bunch of time debating on each and everything and so it the things remain as is and we don't really have a clear owner.

下周要采取的三个步骤Three steps to take next week

所以下周可以编写 20 个评估用例。你们可以像我们之前讨论的那样,把重叠检查加入 CI,然后决定平台如何处理不确定性。我们非常详细地讨论了这三个方面。回顾一下:不同工具会得出不同结论,因此没有一种方案适用于所有情况,也没有什么灵丹妙药。没有哪一个平台团队能够解决你们的所有需求,也没有哪一个领域团队能够独自作出所有这些选择。真正可行的做法是让领域团队和平台团队齐心协力,共同编写代码。要承认这是你们第一次处理这件事,因此会遇到很多新的障碍;但关键是一起想办法解决,而这样做能带来惊人的成效。根据我以往的经验,有时可以先找一个优秀领域团队的成功案例,以此说服其他团队也踏上这段旅程,共同打造你们的内部工具套件。So next week can write 20 eval cases. You can add overlap checks to CI as we talked about and then you can decide how your platform handles doubt. We spoke in great detail across all of these three. To recap, tools will disagree. And so there is no one-sizefits-all. There is no magic wand. There is no one platform team which can solve all your needs. Neither there is one domain team which has which can figure out all of these choices. The real way is to have both domains and platform teams to come together and build the joint code. admit that this is the first time you are handling that you'll hit a lot of new roadblocks but the key is to figure out things together and it can do wonders. Sometimes what I've seen in the past is take one good example of one good domain team and use that as a way to convince others to start embarking on this journey and building your internal suite collectively.

所以,我们讲了无声选择、各种冲突,以及三位评审。接着你们了解到,证据决定事实,而在解决你们遇到的一些更复杂的案例时,主人翁意识和直觉确实大有帮助。最后,不要选出赢家,大家一起编写代码。谢谢。好,好。我听到的是,我们还有几分钟可以回答问题。所以,我很乐意在这里回答几个问题,演讲结束后你们也可以到后台找我。如果你们想和我聊聊,或者之后再问些问题,我都很乐意。请开始吧。你可以举手,她拿着麦克风,可以把麦克风递给你。So we covered the silent choice, the kind of collisions and the three judges. And then you learned that evidence decides facts and really your ownership and intuition go a long way in solving some of some of the more complex cases that you all had. So to end, don’t crown a winner. Build the code together. Thank you. All right. all right. What I'm hearing is we do have some minutes to take questions. So, I'm happy to take maybe a few here and then you will find me backstage after this talk. So, if you want to chat with me or take more questions offline, I'm happy to. So, please go ahead. You can raise your hand and she has the mic. She can give you the mic.

问答:分析数据与事务数据的区别Q&A: analytics versus transactional data

我有很多问题,不过可能先问几个,然后我们可以在台下聊。你刚才提到了一个非常重要的问题:OLAP 和 OLTP 数据。我想知道,你们有没有制定什么标准或原则,来规定谁可以创建这些 MCPS?因为大家都想创建自己的 MCPS。正如你所说,如果每个人都创建自己的 MCPS,只会导致数据质量问题。那么 Netflix 是怎么做的?I have like many questions but maybe I'll just ask a couple and then we can talk backstage. So you touched a really important point the OLAP and OLTP data and just want to know do you have any standards or principles in place telling who can actually create these MCPS because everybody wants to create these MCPS. so it's like everyone creating their MCPS as you said it will only create data quality issues. So what is that you follow in Netflix?

Utkarsh Shrivastava:这是个非常好的问题。我来跟你讲讲我们的历程,以及我们后来是如何解决这个问题的。最初推出这套系统时,事务系统和分析系统都声称自己掌握了相关信息。事务系统是信息的起点,是事实来源;而数据仓库会对数据进行汇总,因此它们不仅能访问信息,而且能更好地访问信息——也就是业务直接从中获取的信息。于是,我们最初的做法是让内部的智能体套件先查询分析系统;如果没有答案,再回头查询事务系统。后来我们把顺序反过来了,因为并非所有信息都会流向你的分析连接器,那里通常只有业务相关的信息——业务过去或现在会用到的信息;而事务系统却能回答所有问题。Utkarsh Shrivastava: That is an excellent question. I'll walk you through our journey and then how we solved it. when we were launching this for the first time both the transactional systems and analytic systems they both claimed they have the information transactional because everything starts there. they are the source of truth and then the data warehouse they do the rollups and so they have they not only have access to information but they have better access to information something which business directly consumes from there. So our starting point was the internal agentic suite would query the analytics first and if the answer is no we'll come back to transactional and then we reversed it because and the reason for that was not all the information travel to your analytics connector only the relevant information for the business you used to live there or lives there but transactional system has answers to everything.

随着时间推移,我们发现越来越多的问题可以由事务系统来回答,于是让事务系统优先负责路由,再由它们根据需要决定是否转交给分析系统。这是我们遇到并实施的一项重大改变。希望这回答了你的问题。So over time as we learned that the number of questions were more answered from your transactional systems, we let the transactional systems get the first routing and then let them decide to hand it over to analytics as needed and that was a big change that we encountered and did. I hope that answered your question.

问答:通过 MCP 重用 APIQ&A: reusing APIs through MCP

听众:是的。下一个问题是,关于 API,已经有一些标准,比如 OpenAPI;而且每个组织也都有自己的平台,可以查看某个 API 是否已经有人开发过,这样就不用再创建一个新的了。那么,Netflix 在 MCPS 方面会使用这些平台吗?比如,如果已经有现成的工具,就不必重复创建,这样大家就能在一个地方查看所有信息。Audience member: Yeah. the next one is like so with APIs there were standards around you know open API and then every organization had their own platforms to see if as already built an API so you don't have to create a new one. So are you using any of these platforms in Netflix for the MCPS like if there is a tool already existing you don't have to create again so that people have a one place visibility.

Utkarsh Shrivastava:是的。我们的目标并不是给已经完成这项工作的团队增加更多繁琐工作。我们所有系统都已经有现成的 API。关键在于如何将这些 API 集成到智能体套件中。就我们而言,我们在 API 之上加了一层。市面上有很多解决方案都提供了这一功能。于是我们在这一层创建了一个 MCP,这意味着各个企业团队不必再各自单独解决这个问题。我们提供了一个默认连接器,可以让所有这些信息都能被访问到。不过我还是要说说另一面:现在你可以访问所有这些信息了,就必须很快回过头来做评估。但我们的目标不是花好几年时间来创建 MCP,因为我们现在已经进入了一个新时代。Utkarsh Shrivastava: Yeah. again the goal was not to create more busy work for the teams that have already done the work. So there were APIs which already existed for all of our systems. the part was how do you integrate those APIs into the agent suite. So in our case we had a layer above APIs. U there are many solutions which offered that. So what we did was we created an MCP on that layer and that meant that each of these enterprise teams do not have to individually solve for it. There was a default connector which would make all of that information available. But I will still say the flip side which is now you have access to all that information. You very quickly need to go back to evals. But the goal was not to have a multi-year journey of creating MCPs because now we are in the new world.

我们希望快速试错,并拥有跨越不同时间跨度的愿景。We want to fail fast and have a vision across horizon.

观众:谢谢。我有一个关于 RBAC 的问题。Audience member: Thank you. I have a question about RBAC.

问答:在哪里实施访问控制Q&A: where to enforce access controls

我们也面临类似的挑战。对于这两种情况,您建议在工具层面还是数据层面处理对特定行和特定列的访问?在保持一致性和 RBAC 方面,答案会有所不同吗?we have a similar challenge and how do you recommend to handle that on the tool level or on the data level to access to specific rows to specific column in both cases? the answer will be different how to keep consistency and RBAC.

Utkarsh Shrivastava:是的,是的。那么,应该在哪一层实现呢?我的意思是,你们都需要自行确定 RBAC 这类机制应该在哪一层实现。我们观察到,查询最初发起的平台,就是你们希望实施 RBAC 的层级,这样一来,你们现有的其他机制和路由就能保持不变。因为这只是你们起步阶段的做法,而且很快就会发生变化——比如在某个时候,你们可能会想放宽 RBAC 规则。所以,作为起步,我们只在平台层实现了它,只有企业能够访问信息,并且只能访问其有权访问的信息。举例来说,市场部门只能访问市场数据;MCPS 和 RBAC 会负责处理这一机制。之后,随着他们需要更多信息,我们就逐步放宽了这些规则。Utkarsh Shrivastava: Yeah. Yeah. So at what layer I mean this is something which you all have to figure out at what layer these mechanisms such as RBAC should be implemented and what we have observed that the platform where the query comes from the very beginning you want to implement RBAC at that level so that any other mechanisms and routing that you have remain intact because this is something you are doing it only as a starting point and very quickly this will change like at some point you might want to relax the RBAC rules. So we so to begin with we implemented it at the platform level only had the enterprise which had access to the information which should have access to information. So for example marketing only marketing would have access to marketing data with MCPS and RBAC will take care of that mechanism and then as they needed more information we slowly relax the rules for that.

听众:是的。谢谢。Audience member: Yes. Thank you.

Utkarsh Shrivastava:好的,谢谢大家。Utkarsh Shrivastava: All right. Thank you everyone.

值得记下

  1. 用证据判断事实,别默认新来的信息更可靠。
  2. 理想情况下,新增连接器不应抢走已有连接器负责的问题。