Uberが実践する「ソフトウェアファクトリー」――エージェントが仕様からPRまでを担う開発基盤

Uber’s Approach to Running a Software Factory

Software Engineering Daily1時間13分
Uberが実践する「ソフトウェアファクトリー」――エージェントが仕様からPRまでを担う開発基盤

Uberが実践する「ソフトウェアファクトリー」――エージェントが仕様からPRまでを担う開発基盤

Software Engineering Daily

0:001:13:43

要約

UberのVP兼Distinguished EngineerであるUday Kiran Medesettyが、同社のソフトウェアファクトリーの全体像を語った回。エンジニアが主導する開発から、エージェントが自律的に仕事を拾う「監督付きファクトリー」へ移行する構想と、モデルやハーネスに依存しない基盤部品(モデル/MCPゲートウェイ、スキルリポジトリ、コンテキストグラフ等)を紹介する。コストの可観測性や支出ティア、エンジニアの役割が「タイピング」から「目利きと判断」へ変わる点にも触れている。

この回のポイント

  • ●Uberは全PRの70%以上をエージェントが作成し、バックグラウンドコーディングエージェントだけで先月は約17%のPRを担ったと述べている。
  • ●モデルやハーネスの勝敗に左右されないよう、モデルゲートウェイ、MCPゲートウェイ、スキルリポジトリ、コンテキストグラフ、リモートサンドボックス、ラッパーツール(AIFX)を基盤部品として整備している。
  • ●AIFXラッパーがフックでスキル利用やトークン消費を計測し、設定を一元管理する。MCPはCLI経由の呼び出しに切り替えてコンテキスト消費を抑えた。
  • ●コンテキスト上限を400Kに設定するなどの判断をデータに基づいて行い、支出ティアやステータスラインでコストを可視化。利用量が10〜15倍になってもコストはほぼ安定したという。
  • ●コンテキストグラフは、サービス・テーブル・オーナー等のメタデータ(第1層)と設計文書等から導出した知識(第2層)を持ち、エージェントの探索コストと精度を改善する。
  • ●エンジニアに求められるのは、高速なレビュー、コンテキストエンジニアリング、そして「テイストと判断力」だと語っている。

章立て

  1. Udayの経歴とAI担当への転身

    Uberで11年以上、モバイルAPIから配車・配送の統一データモデル、料金基盤などを担当。2025年にCursor導入を主導し、現在はAI活用が主務となった経緯を語る。

  2. 監督付きファクトリーという構想

    オートコンプリート、委任、エージェント主導の監督付きファクトリー、完全自律のダークファクトリーという段階を説明。PRの70%以上をエージェントが作成している現状を紹介する。

  3. 仕様からPRまでの自動化

    環境へのデプロイや前後比較による自己検証、AIコードレビュー、自己修復CI、サポートエージェント、中央主導のマイグレーションとキャンペーンの仕組みを説明する。

  4. 基盤部品とAIFXラッパー

    モデル/MCPゲートウェイ、スキルリポジトリ、AIFXによる設定管理とOTLメトリクス、MCPのCLI化などを解説する。

  5. データ駆動のコスト管理

    400Kコンテキスト上限、サブエージェントのモデル固定、支出ティア、キャッシュミスのコスト表示など、観測に基づく運用方針を語る。

  6. 非エンジニア向けとコンテキストグラフ

    Cortanaによる非エンジニア支援と、グラフDBによるメタデータ・導出知識の仕組み、build vs buyの考え方、コードモードを説明する。

  7. 展開・予算・エンジニアの役割変化

    社内の学習イベントや推進役の育成、showback方式の予算管理、レビューとマルチタスク中心になる仕事の変化、今後の注目点(capability overhang)を述べる。

解説記事

UberのVP兼Distinguished EngineerであるUday Kiran Medesettyが、Software Engineering Dailyに出演し、同社が進める「ソフトウェアファクトリー」の実態を語った。AIエージェントがコードを書く速度に、従来のSDLCが追いつかないという課題に対し、Uberは基盤部品を積み上げる方針を取っている。聞き手はMatt Merrill。

「監督付きファクトリー」へ向かう開発体制

Udayによれば、Uberの開発は、オートコンプリート、仕様を渡して実行を任せる「委任」の段階を経て、現在は「監督付きファクトリー」を目指している。アラートやCI失敗、仕様の作成といったイベントをエージェントが検知して作業を始め、エンジニアは必要に応じて関与する形だ。その先には、何を作るか決めるだけで完成する「ダークファクトリー」があるが、いつ実現するかは分からないと述べている。

現状では、可視化できている範囲でPRの70%以上がエージェントによる作成で、自社のバックグラウンドコーディングエージェントは先月だけで全PRの約17%を担ったという。当初このエージェントは単純な移行やテスト追加に向いていたが、エミュレータや検証環境と連携させ、API・画面の前後比較を証跡として出せるようにすることで、機能開発にも対象を広げつつある。

PR前後を支えるエージェント群

PR作成後の工程にもAIを入れている。エージェントがPR作成前に軽いAIレビューやlintを行い、CI失敗の確率を下げる。自社のAIコードレビューは、コメントの約40%がAI由来で、指摘が実際に修正に結びついた割合(address rate)は70%と紹介された。この指標が低ければコメントはノイズだという考え方だ。

さらに、失敗率の高いCIジョブから順に自動修正する自己修復CI、Slackでの問い合わせに答えるチーム向けサポートエージェントも運用している。ライブラリ更新のような全社的な移行は、中央のチームが仕様をエージェントに与え、影響するモジュールを探索してPRを一括生成する「キャンペーン」として実施する。過去2年で250件超の移行を中央で処理したという。デッドコード削除などは、オプトインした対象に毎週PRを出し続ける管理型ループとして動く。

モデルやハーネスに依存しない基盤部品

設計の軸は、どのモデルやハーネス(Claude Code、Codex、OpenCodeなど)が勝つかに左右されない部品を作ることだ。具体的には、全モデルを束ねるモデルゲートウェイ、社内外サービスのMCPをまとめるMCPゲートウェイ、スキルを一元管理するGitリポジトリ、メタデータを集約したコンテキストグラフ、リモートのサンドボックスである。

それらをつなぐのがGo製のラッパー「AIFX」だ。インストールや設定の既定値、スキルのマーケットプレイスを自動で整え、フックを通じてスキルの呼び出し回数やトークン消費をOTLメトリクスとして出力する。同じスキルを、手元の対話実行でも管理型エージェントでも使えるようにすることで、利用データが改善に還流する。MCPを大量に入れてコンテキストが肥大化した問題には、MCPをCLI経由で呼ぶ方式に統一して対処した。MCPゲートウェイは、既存のエッジAPIゲートウェイのチームがIDLを活用して作ったという。

コストは観測して決める

コスト管理は、観測データに基づく。たとえばコンテキスト上限は、リクエストあたりのコストやキャッシュミス時の費用を分析し、400Kを妥当な折衷点とした。ハーネス側が許せば、強制の既定値を上書き可能な「ソフトな既定値」に緩める。月次の支出ティアを設け、ステータスラインに月初来の支出やセッション費用を表示し、キャッシュミスまでの残り時間も出す工夫もある。

予算は個別チームへの課金ではなく、エンジニアリング全体で中央管理し、チームにはshowbackとして見せる。管理型エージェントは「成果あたりのコスト」で採算を判断する。リクエスト数が10〜15倍になっても、4月以降コストはほぼ安定したと語っている。

コンテキストグラフと非エンジニア支援

コンテキストグラフは、サービス、オーナー、APIエンドポイント、Kafkaトピック、テーブルなどの関係を表すグラフDBだ。エージェントがCypherクエリで必要なノードに絞り込めるため、探索のターン数とトークンを減らせる。第1層は日次更新のメタデータ、第2層は設計文書やポストモーテムから導出した知識で、埋め込み検索にも対応する。コスト高のスキルは、決定的なスクリプトを使う「コードモード」で効率化する。

非エンジニア向けには、Slackなどから使える社内アシスタントCortanaを提供し、Git不要でスキルを作成・共有できるようにしている。

エンジニアの役割の変化

Udayは、作業の重心が「タイピング」から「仕様化とレビュー」に移ったと述べる。レビュー量は5〜10倍になり、マルチタスクも増え、ボトルネックは指の速さから思考へ移った。そのため、文脈を整理してエージェントに渡すコンテキストエンジニアリングと、「テイストと判断力」が重要になる。出荷の責任は最終的に人間にあるという。今後は、コンテキストグラフを組織の「脳」として継続学習させ、アイデアから本番変更までをエンドツーエンドで通す方向に注目しているという。

まとめ

日本の読者にとっての要点は、エージェント活用を「どのツールを選ぶか」ではなく、ゲートウェイ、スキル管理、計測、コスト制御といった共通基盤の問題として捉えている点だ。自社の規模や制約は異なるが、既定値の一元管理、観測に基づく意思決定、中央主導のマイグレーションは参考にしやすい。一方で、レビュー負荷や燃え尽き、若手が判断力を育てる方法といった課題も、Udayは未解決の論点として挙げている。

文字起こし(英語・自動生成)

The tech industry is actively working out the best way to organize around agents to speed up software development. It's a challenging problem because agentic coding produces code far faster than classical SDLC practices were built to handle, and that mismatch creates friction at nearly every stage. The concept of a software factory has recently emerged as a way to frame the problem, treating software delivery like a production line where agents do the work and engineers design, supervise, and improve the line. Uber recently published a viral blog presenting their approach to running an enterprise-scale software factory. Their approach is to build a set of foundational, model-and-harness agnostic building blocks so agents can safely take work from spec to PR at scale while every step stays observable and cost-controlled. Uday Kiran Medesati is a VP and distinguished engineer at Uber, and he's also the author of the Software Factory blog.

In this episode, Uday joins Matt Merrill to talk about the move toward a supervised agent factory, the foundational building blocks that make it work, keeping cost and quality in check through observability and spend tiers, and the engineer's changing role as taste, judgment, and fast reviewing replace time once spent typing. Matt Merrill is a software engineering leader with over 20 years of experience building and scaling software teams across enterprise and product-focused organizations. His background is in backend development, cloud architecture, and distributed systems design. He currently architects and delivers software products and leads a team of engineers at Dept Agency. You can learn more about his work at code.theothermattm.com. All right. Hello and welcome. My name is Matt Merrill and we are here today with Uday Kiran

Medesetti from Uber. He is a VP and distinguished engineer. And we're here to talk about Uber's software factory that they've set up with AI tooling. Can't wait to dive into this. And so So Uday, if you want to quickly give an intro and your background, you have a very impressive background. So I would love to just hear briefly how you kind of came up and ended up at Uber. Awesome. Thank you so much, Matt. Excited to be here today. I've been at Uber for more than 11 years. Before that, I used to work at VMware for four years. So when I joined Uber, we used to have around like 500, 600 engineers. So even our whole marketplace core was pretty tiny at that point. The first couple of years, I started working on our mobile backend API protocols. Our whole infrastructure used to be pretty simple right then. We used to have just one endpoint called Ping for rider and driver. They would hold that endpoint every four seconds, and it sent the whole state of the world. So my first task at Uber was to change our rider protocol.

So we worked on our API gateway. We moved from this one ping protocol to a whole bunch of APIs back then. Then we had to work on creating a proper IDL for all of the APIs so that the client code is generated from it. Then one thing that was interesting for Uber was everything is so dynamic. The whole state of the app, like if you look at the app, like cars moving around every four seconds. So I worked on our, we call it push protocol, where I was thinking the state of the app across all of the parties involved. So if the driver does something, it gets updated on the rider app or vice versa. So through that, I got a lot of experience both on the rider side and on the driver side on like how our end-to-end trip flow works. And around 2018-19, when we had to rewrite our core trip fulfillment platform, then I kind of moved down the stack into that business platform layer.

we used to have like a notion of like one single rider being on one trip but then we were expanding to mobility delivery all kinds of flows then we had to create notion of orders jobs waypoints tasks create like a data model that allows us to represent all kinds of mobility flows all kinds of delivery flows on the same stack and even for our drivers then we started calling them earners so that they can earn any kind of thing on our platform. So that's how then we have like one common representation for earners as well, where they can discover any opportunities, enroll to them and get the orders from the consumer side. So I kind of then moved from this changing the order platform to changing how earners onboard to Uber, then creating an abstraction for that. Then I moved to our fares platform, pricing platform. So I kind of moved around various business platforms over the years, from onboarding all the way to trip fulfillment,

and also worked on U4B. Then we had to change a whole bunch of our stuff to make it work for B2B clients. Does that all-encompassing data model, I would assume that includes Uber Eats as well? Yeah, so that was the main intent. One is because if you think original Uber was primarily on-demand, point-to-point, but then we had to go to reserve to moto to hcv now you have like not just one rider you have a bus full of riders you have multi-model trips then you need to also represent three-sided marketplace on the eats with merchant side and also the courier side so then we have like an an order with a merchant job and a courier job oh my goodness and then we could have a large order where you have one single merchant job and many courier jobs so that many couriers can pick up the same order. So it's flexible enough to represent a whole bunch of verticals. And that's how even today, like almost all, any order that goes on our platform goes to the same stack. Wow. I'm a data nerd.

So let's change topics and just talk about that data model for an hour and a half. No, I'm just kidding. That sounds fascinating. I love that stuff. And what an interview question, huh? Like design the Uber data model. It's not what you think. Yeah, we had to write down a whole bunch of past and future use cases back then. Like we had a list of 200 plus use cases back in 2019 that we would have to represent in one data model. Yeah. And then like in the last one year, I've been like maybe first time in my Uber career, like not working on a specific business platform, but working on agentic AI for engineers, then kind of expanded to agentic AI for all employees. through that. Once I got enough footing in that space, also working on like some user-facing AI projects, user-facing agents on and off. Yeah. I was going to say that that transition to kind of like managing almost a platform. Is that something that you kind of fell into or you offered that? Tell me a little bit about that story because that's not something

you see every day. Yeah. And it was not something I was like actively planning about. Like it came as a last year I was working in our mobility marketplace team it was something new in my 10 years like working with ML folks working on how they do pricing how they do matching so I was getting a lot of kick from like you know that team like trying to learn completely different area than what I used to do in the past and around the same time we were trying to understand okay as the you know it was like early days of when cursor was kind of a thing like this was in q1 2025 and we were trying to figure out okay how do we improve the productivity of our team and like usually I would always have one deep specific project and I also work on a bunch of horizontal areas whether it's reliability whether it's productivity things like that for our org and I was trying to dig into like you know things are changing like this thing called cursor is picking up then I was kind of the engineer number zero and cursor trying to get

that enabled onto at uber so then i did like a live session with all of the entire org trying to talk about the features of cursor how we can utilize that i wrote the first mcp at uber like oh this is some cool thing we can like now give it all kinds of tools so it can do things beyond just like coding stuff and then throughout the year while i was still working on mobility marketplace this was kind of my side job trying to like figure out how do i get rest of engineers on board to this and like every month we used to host like a showcase events talking about various use case various demos new things that we built it was one of the uber-wide six strategic priorities that dara had laid out on like you know we need to be like a generative vi-powered company now we're in tkai powered company and since it was like you know company wide priority and then it became my cto's priority as well so starting this year it became my p0 like my main effort so now this this is what I spend almost all my time on AI across engineers

employees and user-facing agents so yeah I think it's all like one thing led to another and then also you know in some sense in my 10 years at over 10 years in my total career this is probably the most amount of change that has happening to how you work ever like and every week I feel like oh there's something new that even I'm learning so it felt like a thing that I it cannot be a my job, it has to be like, this is so important for us, so important for the company that this has to be like 100% focused for us. That's great that they're making that investment. And as we get into this, hopefully people see you guys are way ahead and it sounds really impressive. So let's dive right in. So you recently did an AI, I think the name of the conference was AI Engineer. It was an AI Engineer conference talk, and you'd also did a follow-up blog post. And basically you have what you call a software factory that's basically a safe and scalable cost managed AI system, not only for engineers, but really for the whole company.

But since this is a software engineering podcast, I'm going to focus on an engineer. So what does an engineer's like morning actually look like right now that it didn't about 18 months ago? Yeah. So some context, like this was around in June, end of June, in AI engineer conference, we kind of we presented our vision for like software factory and where we think engineering is heading to and what kind of building blocks we invested so some context we have around we have few thousand engineers across 12 global tech sites and like if you think about last year we used to operate in this mode of we first went from autocomplete okay basic vanilla AI autocomplete and then what we would call is we were in like delegated phase whereas after November after Opus 4.5 the The models got in like so good that you could give like a full spec and you can let it execute the whole task. And then as we started thinking around, okay, how do we get to the point where we kind of move from engineers initiating work to agents initiating work and picking up the work and

getting engineers in the loop? That is where we get into like supervised factory where agents are ambient, they're picking up events. When alert comes, they resolve it. when CI fails, they resolve it. When spec gets created, they go and start creating the PRs for it and so on. And that you would call a supervised factory. And then the last level you see in kind of the nomenclature in this world is, oh, maybe autonomous like dark factory where everything is set up so perfectly that if you just decide what to build, things will get built. I don't know when that would happen, but like this one is this setting a trajectory of, you know, where we are and where we need to go. and if you think about like life of engineers at uber today right like which is more than we don't have like perfect visibility even on some of the coding agents but with the visibility that we have you know at least 70 percent of all prs are built by agents whether it's interactive or whether it's cloud agents we have our own background coding agent so that we can switch across different harnesses different models and that is last month it did close to 17 percent of all of the prs at

where engineers just give the spec and then they move on and it does the whole work and creates the PR. That was one of my questions. The engineer does the spec. How does that look? Do you have somebody working on some sort of business level spec and a technical spec or is it a combination? This one is once you get into like maybe a task level, not the full design doc spec level. Right now we are figuring out what is the good form factor for PMs, designers and engineers to work on one shared spec bundle that gets translated into a whole bunch of task board that gets picked up by all of these background coding agents. We have a whole bunch of explorations around this done by different engineers and different teams. And now we are trying to pick, OK, what are some good parts that we should platformize and iterate on that. But our goal is trying to go from bottoms up. Let's build the foundations that we would need no matter what orchestrations we did in the past. Because without having the right foundations, then whatever we build at the top won't necessarily work.

So but the minimum foundation is you need a really good background coding agent that has all of the tools it needs to go from a spec to a PR. Like for the reason I say that is when we first build that background coding agent, it was really good for creating simple migration, simple upgrades, simple refactors, simple tests. But it is not great. It wasn't great for building real feature task where you want to look at your app before and after or your web app before and after. For that we need to then integrate with emulators, integrate with an environment where it can deploy the changes, self-validate the changes. So now we have some of that in place where like whether it's web or mobile or backend, it can deploy changes to an environment, check the APIs before after, check the web screenshot before after and then give us proofs because then we can start getting into automating the full feature development. Otherwise, we'll get into more or less doing all the maintenance kind of tasks.

So that was one big area of work. And we are still like heavily iterating on this because once you go into the depths of that, you'll uncover what are the things you need. Like, OK, if you want agent to verify, if you made a change to a specific module, then you need to also tell it how to provision the test accounts, how to go from login screen to that screen in the app. Our app is very complex. how to set up all the things that engineers would normally do to sanity test, what kind of integration test exists for that, what needs to be updated, like this whole bunch of, I mean, we have probably thousands and thousands of tests. So we need to like get all of this in a mechanism where agents have access to this context so that it can like work on that. So that kind of is kind of your coding phase, like coding agents. So whether we give access to a whole bunch of interactive hardnesses, we have cloud code, open code, codex, so engineers can pick any of that. Oh, they have choice. Okay, that's cool. Yeah, and then we have the background coding agent. So the 70% plus I mentioned is cumulative across all of these agents,

whether running locally or background in our cloud. The other thing we worked a lot is, okay, now that you have a PR generated, how do we break it apart into all of the pieces, and how do we give it a boost using AI? So first thing is whole bunch of CI failures that used to happen in the past. Like we used to, we moved more and more to inner loop so that when the agent generates a PR, it can go and it knows how to get lint coverage, like what kind of checklist it needs to create a PR, run some simple AI code review so that it can go and quickly fix all of that before it create the PR. Yeah. So that the probability of any CI failures dramatically goes down. Then we already talked about the visual validation, which is like API, web, mobile, visual validation before and after. Then AI code review. We've been spending more than a year on this. So we have our own AI code reviewer. Right now, I think across all of the comments, human or AI, probably like 40% of all comments are AI comments with 70% address cell rate,

which is if we post a comment, did that comment got addressed or not? Oh, I see. Because we can track the change to the code. that was made in the next iteration so we can track if the comment got addressed or not. That's one of the outcome metrics we track. Because if the address cell rate is only 10%, that means all of your comments are like noise. Yeah. So then they're not good. So then we want to make sure like high address cell rate for these comments. Then the big whole bunch of toil used to happen is just getting all the CI jobs to be green. Like we have a whole bunch of CI jobs that fail for all kinds of reasons. like looking through those logs getting them great is a lot of work so then we have like a self-healing ci now which will go and look through the failures and then like we are trying to go from the highest failing ci jobs to on down that list so that we can have good roi quickly and for each one of them it will decide okay this looks like a quick fix i should apply it or you can also give it configuration you can ask it to automatically fix or you can ask it to tell you the change so

it can it will ping you on slack hey this is the failure this fix would fix it do you want to apply it to your patch or not if you say yes it gets applied and then the job will become green so all of these things would help a lot the other big thing which is often underappreciated is like amount of time engineers spend on slack channels answering support questions like we have hundreds of support questions probably getting thousands and thousands of questions every month so then we have like now the support agent you can create team support agent give all of the team context So we dropped we got our P50 answer SLAs by a lot compared to last year. Then the last one is trying to eliminate as much of the migrations out of the team SANS to Central. We probably in the last two years did more than 250 migrations fully handle centrally. This portion of Software Engineering Daily is brought to you by Origin. Your coding agents can launch each other. Theirs did. An engineer asked Codex to pull data from staging.

Codex had no connection there, but CloudCode did. So Codex launched CloudCode. When CloudCode said it lacked permission, Codex relaunched it with the dangerously skipped permissions flag. Nobody was asked. A permission check doesn't mean much if another agent can switch it off. Your logs might show a process that started with a flag. Their trace showed the whole job and why Codex did it. Origin finds the agents on your company's endpoints and reconstructs their work from request to outcome on one timeline. Origin is endpoint AI observability. Read what they found in their own traces at originhq.com.sad. That's O-R-I-G-I-N-H-Q dot com slash S-E-D. Think about your mobile app source code. Once it hits the app store, it's out in the wild. And without the right protection, decompiling is easy for malicious actors looking to steal your IP or tamper with your software. That's where GuardSquare comes in. GuardSquare provides the highest level of mobile app security for Android and iOS applications and SDKs.

Their advanced tools integrate seamlessly into your CICD pipeline. We're talking polymorphic, multi-layered code hardening techniques and automated runtime application self-protection. paired with mobile application security testing and real-time threat monitoring to deliver the highest level of mobile app security without compromise. Don't leave your hard work exposed. Secure your mobile applications today. Go to guardsquare.com to learn more. I'm a voice agent powered by DeepGram. I don't just understand words. I understand context. Like when you're fixing the sink and say, we've got a leak, you're talking about a pipe. But when you're a new parent and you say, we've got a leak, you mean that you're going to have to change into a clean shirt. Oh, it's everywhere. Deepgram understands words and context across STT, TTS, and voice agents. That means better conversations at production scale. Learn more at deepgram.com slash context is everything.

What is that? I don't know if I appreciate what that means when you say teams instead of central. Can you describe that? Oh, I see. When I say central or decentralized is, let's say if you want to do a library upgrade and if 200 teams across Uber need to do that, it is not necessarily a good idea to like create a Jira ticket against all of them, asking them to understand how to do this, do that, test it and validate. So our goal is trying the team that owns repositories or language platforms, they can drive it centrally. That means they create like a spec for the agents. And we already, we have a mechanism where you say, this is what I want to upgrade. We can go and discover how many modules are impacted and create a campaign across all of those modules and create the PRs. And then as a campaign owner, I can track, okay, how many are approved, how many are open, and then I can go through them. That's awesome. So it splits the difference there so the team still has control,

but most of the work is done for them. Exactly. So then you have all of your PR is created with the right test, the right proof. So then if you think there is any nuance that the central team missed, then the on-call of the team that is impacted, like they can give any input saying, hey, you need to consider this as well. But in majority of the cases, 90% of them would be straightforward. there might be some corner cases in those cases then you go back and improve your agent spec so that it like knows how to handle those kind of nuances yeah i mean we had this before even before ai we used to write open rewrite rules that said oh like change this method signature from this to this so we used to do this kind of more deterministic signature changes yeah that can be done just by passing asd but now once ai came we kind of morphed that system to add, you can add your skill and then it will go and update all the models. We did one more interesting thing on top of that. Oh, why do I need to create one time campaign?

Then we create a concept of longer running campaigns where dead code cleanup could be a longer running campaign. So I can, so we create this, it's kind of a managed loop. So I go to the system, I create a dead code cleanup campaign across a whole bunch of services and then every week it will go and find something that it can delete and then it'll create a PR. And this is across maybe not all, but many of the code bases at Uber? Yeah, so it's currently in an opt-in mode. At some point we'll switch to opt-out. But I can go and say, okay, on my module I want to opt-in to dead code cleanup. I want to opt-in to noisy logs cleanup. I want to opt-in to performance efficiency. So then it will go and look at your logs and see what is noisy. It can go and look at the CPU profile to see, okay, what optimizations it can apply on this service from the past learnings that we had. Yeah, so you have a whole bunch of this automated managed loops that can, if you once enroll, it will keep creating a new PR every week.

That's awesome. So in terms of like, you know, an engineer sits down and is going to, so it sounds like a lot of their work right now is creating a spec. And so what is there to this system? I'm kind of talking in generalities because I don't really know what it looks like, but I'm hoping you can kind of paint a picture for me and the listeners of like, okay, so it sounds like they have their choice of harness, right? And they can hook into these coding agents via that. And is there also some kind of dashboard? Like what does the tooling look like for an engineer? Yeah, so I think going back, which is like we try to focus on foundational building blocks that we would need irrespective of which model ultimately wins or which hardness ultimately wins so that we can swap these capabilities across them. And then like few things that I would say are more the foundational blocks is one, we have one model gateway for all of the open weight or frontier models behind that one gateway. So that, and even no matter,

even if we're using cloud code or codex, like all of the models go through the same model gateway. Then we have a notion of MCP gateway. We recently published a blog about that last week. So all of our internal services or even our SaaS vendors, think of like Slack, Google, everything, all the MCPs go through the same gateway. Then we have a skills repository, like all of our golden skills or team-specific skills are in the same repository. Then we have like one context graph that maps all the uber-specific metadata information into one queryable graph for the agents. Then we have like a dev ports, which are remote sandboxes, remote agent workspaces. You could imagine like where agents can execute. And then we have like a wrapper across all the hardnesses, which makes it easy for engineers to install plot code, codex, any of the hardnesses, whether on their laptops or whether on their cloud developer environments. So now once we have these things, then engineers can switch hardnesses because we have our own wrapper and we manage all the settings.

once you install any mcp or a skill or a plugin in one hardness it will show up in your other hardness and we can change any default settings centrally it will show up on all engineers we manage the status lines for you across different harnesses so once you have this standardized thing and standardized set of building blocks that are available so then whether you are using your interactive hardness in some sense if i want to diagnose on any alert I can use the alert RCA skill in my cloud code or our managed agent will use the same skill in our skills marketplace and try as the alert so it's essentially the same skills it's the only difference is whether you are initiating it or it's wrapped in a managed agents running as a managed service that is triggering it even the dead code cleanup I mentioned like I can trigger it from my cloud code slash dead code cleanup or the same skill is running as a managed loop you probably just have some sort of dashboard or something like that to do the managed loops and campaigns and things like

that yeah and then there's a dashboard which is i just go and say okay i want to use this skill on this service weekly so and then it will do other stuff like you know rebasing the pr fixing the ci failures and stuff like that so the thing we try to do is even our self-healing ci that i mentioned where it fixes CI failures, I can use it interactively in my hardness or it is listening to GitHub events and then fixing the CI failures. So we try to make it compatible for your interactive usage or managed usage. That way it makes it easy so that we are not, as we improve various managed agents, it is quickly available in your interactive hardness and then over time and we get the data and like, so then we can improve the intelligence or the specs of these agents more quickly, right? Otherwise, we would have to rely on managed agents adoption or usage. Now, like even interactive usage also helps it. That's awesome. So the wrapper, is that that's just some sort of lightweight utility that developers have on their laptops that kind of

manages all that? It goes and fetches from the golden sets, golden configurations and applies them or do I have that wrong? Yeah. So then our wrapper is called AIFX AI Foundations. If I'm doing on local, I do brew install AIFX. And then if I want to run cloud code, it's AIFX agent run cloud code or agent run codex. Okay. When you do that, it will install it. And then we have some defaults. So it will automatically set up some default. Our skills marketplace is auto installed. Some of the default plugins we think are useful for all engineers are added by default. So then you don't even have to do like all of that setup. And we have a remote cloud environments as well. Most of our engineers create PRs there because we have like mono repos, which large repositories, which you can't run locally. So in our cloud environments, this is auto installed. So auto installed and auto kept up to date. So then you don't even have to do that initial install of the tool. That's really nice. these components are the industry is catching up to a lot of this are a lot of these homegrown are

all of them homegrown from uber i'm thinking things like the skills repository the mcp gateway things like that yeah so i mean for context like even though we published the mcp gateway blog last week like we worked on it last march 2025 i don't think at that point there's that many like at scale, established MCP gateways that like we could use. And one thing that we try to do is like, you know, the team that works on our Edge API gateway, that team worked on the MCP gateway as well. Like, and if you think about Edge API gateway, what do they do? We have thousands of, like we have a few thousand services. Each one of them expose APIs on Thrift or Proto. And they all, these APIs, anything I want to expose to our mobile apps, they have to expose that configuration through Edge gateway. and Edge Gateway is doing protocol transformation from what we use in our service fleet to what mobile understands. So they have access to all the ideas. They've been doing a whole bunch of protocol transformations for years.

So we could kind of create MCP Gateway in exactly similar manner where take all the ideals and provide a easy to use setup where any team can go to a UI, take their existing API and enable that as an MCP tool. That's awesome. With one click config change, because we know the IDLs, we can discover the IDLs. The MCP Gateway also looks at their documentation and generates an LLM optimized documentation so that you don't have like, you know, maybe if you have large documentation, you don't eat up a lot of tokens. So because you have all the IDLs, you could like just run. We have IDL crawler, but we know the full magnitude of all of the tools exist. And then any engineer can go and then enable their tool on as MCP. It's just one line, it's just a UI config change. Wow. And how about the skills repository? That's not, you know, I'm sure there's things out there that I'm not aware of, but what does that look like? How are you managing, you know, if a dev wants to create a new skill, like what does that look like? How's the tool managing it? Yeah, so we provisioned our skills marketplace in November 2025.

That's when we had like the first skill or the repository was set up. And we are used to, in Uber, like all of our repositories are monoreposts. Like we have one for Go, one for Java. So we knew early on that, okay, if we don't have one golden skills repository, like there'll be a whole bunch of proliferation and we would have to like try to start cleaning up. So we have a single repository where, which is split as the core set of skills that the central teams manage and domain specific skills, which individual teams can add. And within that core skills, as in like, you know, maybe engineer developer flows, like creating a PR, babysitting a PR, stuff like that. And then domain as in like, maybe like rider team has some specific skills for their specific team workflows. So then you have like team folders for different teams where they can manage their team specific workflows. It's a get repo? it's a git repo the things that we do on top is making sure the access patterns from all these skills to the mcps is standardized to be more efficient and then we have like a skill to

evaluate any skill so then if i'm a skill author i can run the skill it will tell me hey these are the things you can do to improve your skill then we because all the skills are in one repository, they are auto-installed. We just need to install that one marketplace, that one plugin marketplace with the AIFX wrapper that I mentioned before. I was just going to say, that wrapper is really powerful. It's such a small thing, but very powerful. Because then it will make the discovery of new skill very easy because it's all there. And then from that wrapper, we also emit OTL metrics for skill usage. Who triggered a skill, what tools got used so then we have good visibility into who triggered a skill and what was the total amount of tokens used for that skill execution. The wrapper does this. Yeah the wrapper is emitting the skill got triggered and then we essentially the wrapper is registering pre hooks and post hooks to harnesses so that when before the skill gets

triggered then we can register the pre and post hooks and then we know every request that happened within that skill so then we can have an accounting of the p50 token usage for this skill is this the p50 token usage for this mcp is this and these many engineers are using this skill these many invocations happened that way we know which skills to invest in and we have observability into all of the skills that exist even if they're not there in our golden repository we know how many variants of code review skill exist at uber and which ones are used the most so then we can go and like start to consolidate that or improve the efficiency of that and so on wow what's the name of the wrapper again ai effects is that yeah it's just like internal name yeah just morbid curiosity what is that written in it's written in go like go yeah okay i figured okay so it's an executable you don't have to answer this if you don't want. Any chance that Uber can open source that someday? Yeah, I think we could.

See, I mean, also this thing is evolving so quickly. We just don't have time to even go through our list of features that, yeah. But we open sourced our agent detection and response, one of our security toolkit that is similarly collecting all the tool calls and agent sessions so that security teams get good visibility into what the agents are doing. That we felt, okay, this is like so important. So one of the teams with the security team open source, but if not open sourcing, we are at least trying to share as much playbooks or runbooks wherever we can. I was just being selfish. I was just like, boy, I could really use that. Maybe you could. So it sounds awesome. That is fascinating to me that that little Golang tool kind of, it really kind of is the linchpin. It pulls everything together that allows you to do so much of this, it feels like, to me. And because all those settings are managed, like, for example, one of the things, initially we used to have all of the,

everyone directly installing MCPs. This was like maybe Q3 last year, Q4 last year. We saw like some engineers having 50 MCPs, 100 MCPs. Then you are starting context window itself is like 100,000, 150,000. then you're like, you're not getting any useful thing out of the model. Yeah. So then because we had MCP gateway, all MCPs go through that. We projected all of the MCPs as a CLI pattern. And then because all the skills are there in one single repository, just one or two engineers could go and like bulk update all the skills to switch to the CLI pattern. Yeah. So now all the plugins and skills are not registering any MCPs. They just use dynamically the CLI. for whatever tools it needs. And that's managed through the wrapper, right? Yeah, and then the wrapper, we added one more command on the wrapper, AIFX MCP call. So essentially it's a way to trigger any MCP through CLI

on the same wrapper, one more command, but it going through the MCP gateway to do that call And all the skills now say that hey if you want to use this mcp use mcp aifx mcp call this tool with this parameters and it can discover the schema and execute on the fly and because we had the manage settings then we could see who all still have explicitly mcps defined and then either ask them to update or then we could update and then remove the mcps and then ask them to switch the CLI pattern. Wow. I want to get back to the context graph, but something is making me think of, so it sounds like a lot of decisions are being made for engineers. So what I was reading about in the blog post was there's prompt caching, choosing weaker models for sub-agents, things like that. And so I'm going to get to adoption, right? Do engineers welcome this or is there resistance to it? But how much autonomy, like if you need to go outside this box? How much autonomy does the average engineer have? I mean, I think we try to see one thing is at least going back to the previous example, right?

We try to invest a lot in observability and metrics and we try to make data driven decisions wherever we can. There's only very few cases where it's not possible, but all of our decisions, we invest in the data and we could see, like, for example, 400K context limit. We could see from the total amount of hotel metrics across all the hardnesses we could see what is the cost per request for engineers at different context window size and then what is the cost of a cash miss if you go beyond that and how much then we could run some data analysis of what would be the roi if we go from 1 million to 9k and so on and then when we set it to 400k at that point even you would see some of the labs also saying okay there is a point at which the model degrades so 400k is a good compromise of getting really good useful work out of the model and especially for longer sessions once you cross 400k like let's say for at 800k and then if you had a cash miss the cost

of the cash miss is extremely high and then if you if you are not actively looking at your cost you won't realize it but if you explicitly saw this is the cost of that because now everything adds up like you're accumulating all of the context so far so every single request cost is much higher so it's better to like just compact and then be within 401k so in general like yeah we try to make data to own decisions and then like show what data we used for it and we also try to make it a default setting if for whatever reason if you need to override in majority of the cases there is ability to override if the underlying harnesses provide that ability in some cases if the harness doesn't provide the ability then we might ask a feature request from them and at some point if they provide that then we kind of go from hard default to soft default so that engineers still have ability to override like for example even sub a pinning the sub agent before if we pinned a subagent for Opus 2 Sonnet.

It was on force mode, but now we are able to like change it to soft mode, where by default it's there. If you are in the prompt, if you say I use Opus subagents, then you'll use Opus subagents. But again, these are some things where we look at the data and see like what works, what doesn't work. So we try to, I mean, there's no easy win, right? Some are very hard decisions, but you have to take the call. Okay, what will give us a good ROI for the total amount of money we spend? That's great though, because it's an engineer's brain is like, well, why? Why did you make that decision? And having the data hopefully helps, especially when it comes to speed or running out of your token budget, which that's something I want to get to, too, is you've mentioned that this wrapper manages your status line in the tools. Yeah. And that's something that I thought was awesome is, I'm just going to try to describe it, but it's, you know, it's got your model. It's got what your pool is and how much you're working towards a budget that you have, which I don't know what period of time that is. Is it daily, weekly? Yeah.

So the status line, that is on your monthly tiers. So we have a concept of spend tiers. So we have many tiers as a default tier, and then you can go up the tiers with a simple ticket and with a manager approval. So the status line that you're describing, like it shows we have one tier across all of the interactive harnesses. So then if like across cloud code, codex, and open code, you are sharing that tier. So that way you can easily move across them and it will show you how much your total month to date spend on that specific harness and across all of the harnesses that you use. We also have separate spend tiers for our managed agents. So the background coding agent that I mentioned, that spend tier is mutually exclusive from your interactive one. And we also give like slightly higher thing there so that you can move more of your spend to managed agents. so that we can optimize that even more than what we could optimize on the interactive hardness. And one thing that is just awesome is it has a session count in dollars.

Yeah. I mean, that's fantastic. Just this feat. You mentioned before of, you know, like adjusting the context size. And I would assume that using this, engineers could actually see that difference of like, oh, no, when I compact and I use something different, oh, it's using a lot less of my token budget, which is great. Yeah, if you're using 800K, you have a cache miss, you'll immediately see, oh, it went up by $7, $8. Okay, so this is okay. Go look at your status line and see what this default actually did for you. Yeah, now that CloudCode has mods, we recently added, I was working on ability to show how much time left before a cache miss and what would be the cost of that cache miss before the cache miss happens. Oh, my goodness. So then you can do stuff around it. Yeah, that's crazy. Wow. So I don't want to dive too deep into this, but just really quickly, you mentioned that you're supporting this for non-technical users as well. How does it overlap and how does a non-technical user submit a skill or something like that?

Or is it still to get or how are they doing something like that? The landscape shifts a lot. Like, you know, once we have to think of like, you know, AI for everyone, because we have all kinds of functions, right? Like from operations, finance, legal. and I think one even the team that works on developer platform which is for developer platform now that org got renamed to builder infrastructure because you know we see eventually everyone is a builder right like even if we see across all of these all of the other non-technical functions as well we see pockets of people who organically taught themselves how to use get how to write skills how to provision these things and like doing all kinds of amazing things so that's why you know, one of the things is, okay, how do we enable everyone in the company to be a builder, not just the engineers. So then even within non-technical, like non-engineers population is whole bunch of spectrum, right? There are people who are what I mentioned before, like who are hackers, who are trying to like go above and beyond. And so there are pathways for them to go through kind of the parts of the training that engineers go through so that they

can get access to get, they can get access to some of the tools. And we also made it easy for them to, since we have cloud developer environments we have like a ai cloud and developer environment so if i'm if i'm not an engineer i can go to a ui and set up this environment and i have everything installed so then i don't have to worry about setting up my laptop where it has all of the stuff needed all of the artifact is needed to install these things i have within 10-15 seconds I can provision myself an environment that has like cloud code codex everything is enabled cursor is enabled so then I can like play with it then there is a whole bunch of folks in between who might not understand the concept of gate who doesn't know the way like CLIs. SELIs, SSH into this remote environments so for that population we have an internal assistant called Cortana it's essentially think of cloud code as a service or like any agency kindness as a service.

It's triggered through Slack. You can trigger it through a web. I can go to a UI and it has access to all the skills. I can go and create new skills on that UI and I can ask it to create a skill. It will create my personal skill there. It's not backed in Git. It's backed in like a internal S3 kind of file system. So that is kind of our current solution for non-technical people to create skills, to share skills within their team And behind the scenes, we can then see which skills, which functions are using, what are popular, and then we can figure out how do we create better versioning. But they can use that environment to at least create skills, use skills. That's awesome. So you're kind of focusing on the engineer's case, touching the edges of the people that are interested in it, and then kind of providing a lighter solution that can still tap into a lot of that stuff. Yeah, providing a lighter solution where you don't have to do a lot of setup and a lot of provisioning.

So because if you go through Cortana, then you don't need Git, you don't need to go through any of the engineer-specific setup. I can just use it on Slack and say, hey, like, trigger, do this thing. And then behind the scenes, it will trigger a skill and give an answer. Let's shift to the context graph. That sounds fascinating to me. So what is it? Is it a graph database? Is it something else? And actually, I should step back and talk about what it is, because I'm, if you've read the blog post, you'll know what it is. But yeah, maybe start with what it is and then what is it? How is it built? Yeah. And I think it might be good to share some motivation behind how we ended up here. So we're just talking about Cortana, right? Like it was initially started as a hackathon project by one of the engineers in December last year. And we gave it access to all of our repositories. and if I ask it any question, it can go through all of the repositories, try to find the relevant code snippets and give an answer because the ultimate truth for anything is in code, right? Like it can go through like various repositories, try to find the code

and then like give you an answer. So that enabled like everyone to kind of talk to your kind of, you know, broke the boundaries between teams and orgs and functions where anyone can go and ask any question about how something works. Then we gave it access to a whole bunch of skills. but then because it has access to so much information if you ask any question it can spend hundreds and hundreds of turns before it figures out oh this is the module that i need to pay close attention to not this other module that has similar name in this other repository because this is where i need to spend more of my time so this kind of led us to okay like how engineers have some mental map of the world i can go to jira find some information i can go to use our service dashboard, go find some information. How do we provide a mental map to the agents of how Uber is organized? What services exist? Who owns those services? Who exist? What do they work on? What is the relationship between different services?

A uses B and like metadata about that. So our first, we try to do on what we call as layer one, which is like all of the metadata about any system at Uber. So we have like, as in any company, you have like so many sorts of systems. You have to go to some systems to understand what data tables exist. Go to some other system to understand what services exist. Now, here, since we have metadata across everything, you can go from a screen in the app to what analytics events are emitted by that screen. What API endpoints are used by that screen. In that API endpoint, which service is handling the logic for that? and what other services it depends on. What is the Kafka topic that service emits? From that Kafka topic, what is the derived table that gets generated? So you have like full lineage of everything encoded about people, services, offline tables, mobile data, all of that. Now to the same to Cortana,

then graph grounding becomes a initial primitive where if you ask any question, it can say, find me, use the graph. It's like a similar to any Neo4j or any graph, right? You can create it. Okay, so it is a graph database. Yeah, it's a graph database. All of the nodes and edges are encoded as like in a graph format. Okay. It's much harder to write Neo4j style cipher queries, but all of the latest models are like really good at creating all kinds of cipher queries once you give it the schema for the full graph nodes and edges. So then once you ask a question, it can then know the schema and create cipher queries, then understand which nodes or edges it needs to pay close attention to. Then it can go and look at that specific folders in the repository. Or to answer this analytics question, these are the three tables that seem the most popular and these are the sample queries people have written. So then it will try to use those queries or those blush tables

to create a new query for your use case. That's so simple. It's just such a great way to cut down on context. And so I would assume the tools are just configured, prompted to use that graph database as a first step in its context instead of searching through code or whatever. Yeah. Yeah. Once we have all the data there, then we provide like there's a default skill that has the full graph schema and you can use to ask any question. To some of our managed images, like Cortana that I mentioned, we integrated that into the system prompt. So it will use graph for grounding. We also provide this as an MCP so that any skill order at Uber, if they want to use ground some part of their skill using graph, then they can like look at ask the agent to look part of that graph and then do the other thing. Like, let's say if I want to write a good RCA agent, I need to understand like, hey, what alerts exist? What are the dependencies? What are the nature of those dependencies?

What storage systems depend on? What are the blessed health metrics I can use to get the health of these storage systems? So all of this is encoded in the graph. So then I can really build a good RCA agent on top. So this is like one building block where once I give this, then like it can make many, many skills much better than both on accuracy and also on token efficiency. Wow. How did you populate it and how do you refresh it? Yeah. So, I mean, we have daily right now we are not doing real time ingestion, but we have like some daily offline jobs that update all of the metadata around that. So this is only for the layer one, what I would call as the metadata kind of system. then layer two is kind of our you know derived intelligence where this is not there in a source of truth system but we can derive based on you know tacit knowledge that exists like okay i can go and look at all of my design docs all of my incident postmortems and then come up with these are the domain best practices for this domain these are the past failure patterns

and encode that as additional set of nodes and edges in the graph. Like this is more a derived intelligence, right? Like then we can look at the function source code and generate documentation for that function. So then I don't have to read the whole code. I have like documentation of the function. You have the shortcut basically. Shortcut. And the connections too. And the connections, exactly. So then this is like a whole bunch of this layer to derived intelligence that like we try to then add all of that. So that is also, And then now we also generate embeddings out of this node. So then now the agents can use semantic search or lexical search and then use it to better find the right nodes and edges quickly. Wow. That's amazing. And so we mentioned before you guys are building this stuff custom. Let's say in a year or two, the industry catches up to this. Do you have that on your mind? Like, are you going to, you know, replace it with something off the shelf? Has that thought crossed your mind? Is that not something you're thinking about right now? Yeah, I mean, I think for all of the, we historically, you know, like we have, we use build versus buy.

There are a bunch of tools that we use from vendors, bunch of tools where we invest. And we also have like really good history of building a lot of things kind of ahead of the curve and either open sourcing. And like, you know, many companies have been formed from some of those, right? Like if you think about back maybe 10 years ago, we built on like our metric storage, which was open source to M3DB. And there's like a whole fish company around that. We worked on like durable workflow orchestration, which is Cadence, which is now an open source project. When there's like a company around that, the engineers who worked on that built successful company around that. So, yeah. And wherever possible, I think once they become stable, we might open source some of them. And if there is a better solution, then we will swap it. Like if it meets our feature set, if it meets our cost expectations, because we're also not small enough that we need to worry about the scale and cost of some of these tools. And now it's also more and more easier to build like bespoke tools for your needs.

Like the amount of time you might spend integrating some of these if they don't have specific mode is like you could potentially build it yourself with engineer or two. And it's more deeply integrated into your ecosystem. So now the landscape is like evaluation data is much more complex than like maybe two, three years ago. That's a really good point. Before we would be like more worried about longer term maintenance or like time it takes to build. Now it's much more easy to build some of these things. Yeah, really good point. And one thing that we try to also do is like, you know, the team that worked on Context Graph is a graph platform team that maintains a production graph that has users and like all the data. So it has like billions of billions of nodes So for them this is like like oh it a very small small graph You have like maybe 100 million nodes and edges so it so small I'm forgetting what your business is. And that, yeah, it's much like the MCP gateway server, the gateway that you have a team that does something very similar. You have a team that does something

very similar for that. That's awesome. That also helps a lot because then that team can, then they have already the expertise and they can then figure out like then it's up to them whether they want to use homegrown graph technology or open source graph technology but at least for all of the teams using it like they have the same api spec behind the team this team can figure out what is the best graph technology at that point in time and in the future yeah there's definitely some economies of scale there that's cool one thing that came up in the blog post was the concept of code mode and running deterministic code and loops. I don't know, maybe I'm just not reading the right things, but I feel like that's not talked about enough, right? Or at least there's a certain aspect of this AI hype that forgets the fact that you can save a lot of money, a lot of tokens, a lot of energy by just running deterministic code that is probably created by AI. So can you talk about what code mode is and how it came about? Yeah. So we were talking about skill

observability and cost per skill and tool observability and cost per mcp tool once we had enough visibility around cost of a skill cost of a tool we could see the p50 p90 cost of certain skills and then the goal for us is okay how do we get to a point where the cost of execution of any skill is below a certain number right and then then we can go at the top skills and see how do we optimize like maybe a simple example of let's say if you want to run any analytics query so then you have to compose that query you have to poll for the results you have to fetch those results and you have to read from that data whether you run the query or I run the query it's exactly the same set of tool calls and flow the v0 of that skill might have said oh do this and then ask the agent to create like a poll then like analyze the results then later like hey can we merge some of

the common parts into deterministic scripts then at least part of that skill is deterministic and if there is some nuance it can always fall back to like going doing things one off but at least parts of that become deterministic and that way cost per skill also goes down so then what we do is we look at all of the top costing tools and top costing skills and we try to create variants of that that are token efficient and then they're all installed in one code mode plugin which is auto installed so then if you want to run queries it will use the efficient version of running that tool instead of trying to use it inefficiently for example if you want to work with google docs or Google Slides. We have a Google Workspace plugin, but it has a whole bunch of Python scripts with all of the Google Workspace APIs and functions, so then it will essentially use those Python scripts to be very efficient in managing, working with docs and slides. Otherwise,

it would spend a lot of tokens. Same with even like Slack tools. Yeah. Again, such a simple idea, but I don't know. I keep coming back to that wrapper of being like the coordinator that can help you make better decisions about those things. That's awesome. One thing I want to go back to is rollout and adoption of this, right? It sounds like the journey for this was just like so many other companies. Just a year and a half, a year ago, it just kind of skyrocketed. What was adoption like? Was it, you know, you've got thousands of engineers, 5,000 engineers approximately. I can't imagine that you can make 5,000 engineers happy with doing this. What was it like? How did rollout go? Is there still resistance? Yeah, I think one is we at least spend a lot of time creating many, many avenues where engineers can share learnings and like best practices for the engineers. And then you kind of get motivated to use this or change your ways of working because sometimes you kind of need to know the success stories of the engineers you trust right before you doing yourself.

Like, for example, like just in the last one year, first we have AI Eng Slack channel where engineers constantly post new things they discovered, new tools they built, new workflows that they have. It's so funny. My company has the exact same channel. We created it because there was AI channels that were very, like, not engineering specific. So that's funny. I'm sorry to interrupt you. Yeah, totally. I think all of these, I feel like there's no, sometimes there's no one single strategy. also we need to like go on this follow on like many different angles so like one is yeah you know ability to do that and then we used to have central team running monthly ai showcase events so we'll like demo new tools demo new offerings and show how they work we send like newsletters on like what's going on across various phases and what are the new things we have across all of our sites we ask the regional site program managers to have ai show and tell series where engineers within those sites in like you know brown back session share how their workflows have changed what are the things that they have learned we did a tech wide hackathon last december where we asked we are we

formed if we 200 teams were formed like these teams were able to use all of these tools to build new ideas within three four days but again once you do things like that how you approach your work from january like completely changes because you kind of experience new ways of doing things then we used to have like a yearly tech day where we do all kinds of lightning sessions and workshop. This year we took over that to only agentic AI like whole day of workshops, lightning talks, presentations, poster sessions. The individual engineering leaders have their own specific custom sessions, custom learning sessions. So you have a whole bunch of bottoms up things, top down things, organized events, all of this kind of adds up into this culture of constantly learning things and because the landscape is shifting it cannot be a one-time thing you have to continuously be at it at different angles so that we keep the momentum going and so i think then that is one and then second is you know then we identifying the champions across different

different orgs and then enabling them and then learning from those use cases so then we are well aware of you know what is working what is not working and then that gives us good insights into what are the tools that we need to double down on that will empower more number of teams. So that way is kind of going bottom, like building the foundations and then going up the stack. All of that gives us good visibility into, okay, what are some things that we need to invest and what are the things that teams can experiment and iterate? I want to get into finances and things like that of how these tools are charged back. But regarding that, I would have to imagine that some of the more unpopular decisions were probably driven by costs. What's an example of one of the decisions that maybe wasn't, that didn't go so well and how you managed it, if you're okay sharing that? I think in general, we try to, since I mentioned before, we try to have choice wherever possible and then have the right set of balances.

And then we also try to enable ability to override defaults wherever possible. We do data-driven, And so then we know, you know, what might be the ROI if we do this. I mean, even when we switch to 400K, like a bunch of engineers were unhappy, like who were like used to 1 million context. But then it's very hard to always solve for everyone. But then like that's why we try to make sure, okay, like can we provide some ability to override defaults wherever possible if they have to do this or give them the insights into why we came to that decision. And with the visibility into cost and with having spent years, then there is a culture of like responsible usage and efficient spend so then teams also like no okay it's not always this and even as baseline spent year we try to keep it at like p95 plus so that the friction is only to few number of engineers and not to wash majority like if you put it at p30 p50 then almost everyone is constantly trying to a lot more unhappy so yeah so i think we try to do wherever we can

using a lot of central controls and a lot of we try to find technical solutions for many things but in some cases if you feel strongly okay some defaults are like worth for the roi then we go after that because we also want to increase my goal is like trying to increase the number of agent sessions and agent requests across uber and it has to it has to grow every month like a rocket stick but then we want to keep our cost stable like even in the blog that we published since Feb this year to even like last month our like maybe our agent request went more than 10x, 15x but then since April our cost is more or less stabilized so the goal is okay how long can we stay each month with the same spend envelope while increasing the total amount of usage that's awesome so regarding the cost how does the money for this work at Uber whatever you're comfortable sharing right I mean, I would assume somehow it rolls up to teams and gets down to individual people,

but this is a lot of money, right? And I'm curious, especially for like the managed agents, what does that model look like? Yeah, I think the answer is like one is we try to manage the overall across all of the AI spend, right? Across your interactive usage, managed usage, and also the user-facing agents. So across all, then we try to plan some envelope around that. And that way we can like, because you'll always have opportunities for optimization in one of the three buckets. And wherever we can optimize, we can grow the usage in somewhere else. So the more higher envelope you have across many things, then you can like move usage across. Right. And in some cases, like let's say for managed agents, our AI code review, where we know what is the cost of one single AI code review. so then we might take some time to optimize it before we roll out to 100 percent and in some cases we might say okay let's roll it out and then in like a month we know we have a line of

sight to optimize it so that way we can make at least for all of the managed agents we go by cost of the outcome for that and and see like okay is it reasonable does it pass the smell test and do we need to optimize it before we scale out further if the ROI for example AI code review the cost of an incident is like much higher than maybe the cost of the total ai code review so it's like maybe better to roll it out and then optimize in some cases okay we could take some time rolling it out before and then optimize it and then roll out 200 percent so at least we can have that conversation at a managed agent level and for interactive hardnesses we give managers and like the teams show back. We don't charge back to individual teams, but like they have visibility to see what is the cost per engineer, what is overall cost for their team, and then manage that. So that way they have full visibility into their structure, but they don't have to necessarily like worry about like every director is not doing a planning of, okay, how much

of interactive usage I'm spending next quarter or next year. It's managed centrally. Got it. And is it spread out evenly or somehow by business unit or? I mean, across all the engineers. So across business units and across engineering and not engineering, there we try to do chargeback to different functions. But within engineering, it's like one bucket. Got it. That makes a lot of sense. And so showback versus chargeback, but it's all managed centrally. That's cool. Let's close it out. Let's try to help this audience figure out how they can apply some of this to their own roles. So the role of a software engineer pretty much anywhere has changed in the past year and a half. But what does the job look like today and what makes an engineer great at Uber now in this new world? Yeah, there's never been this much change to how we work. Just in the, you know, we used to look at all of our developers experience and developer productivity metrics. No matter any metric we pick, the year over year metrics are all over the place. Usually they change by a little bit.

Now every metric is like off by like double digit plus or minus percentage. Yeah, so I think that like the main thing and there's so many unknown things as well like the second order effects We have not gotten into but like at least the main things that I see is like the amount of time that we spend on like In focus working versus now It's all about specifying and reviewing and less typing like so now you need to get really good at Reviewing the output quickly and passing your smeltage quickly like you know before maybe I'm reviewing X amount of output whether it's documentation or code now it's like gone maybe 5x or 10x because the amount of output that's produced across code and even like non-code artifacts is a lot so you need to get really good at reviewing and some of this you also learn of many years of doing it manually so it kind of you build those intuitions so then then the challenge is okay how do we for the next set of engineers how do we help them build those intuitions because you have not gone through the hard struggles of doing these things manually again it's hard no and second is multitasking

at the amount of multitasking even i do has gone up so much like year over year so there's only so much there's a physical limit to how much you can multitask and then like where it would land and what would be the second order effects of your burnout and stuff like with so much multitasking because you're constantly trying to figure out okay what do you do next what do you do next across so many things before I could be in the flow on one task for a while. Since it's typing, you are artificially limited by how much you're, you have a, you have a finger bottleneck. Yeah. You can only go so far. Yeah. Now you don't have finger bottleneck. Now you have a thought bottleneck. Yeah. And then that means you're like multitasking so many things at once and reviewing so many things in parallel. And there's a whole bunch of new learning, right? Like now trying to learn like some of these agentic concepts and like engineers who learn the art of getting the most out of these intelligent models and maximizing them have you know much higher productivity and much higher overall ROI than

like so then how do you become good at like context engineering like half the time I first had to figure out this is how I made a decision for this what context I used to come to this decision? How can I package all of this context for the agent so that it can come to the same decision? That way, my decision making is kind of formalized or like is kind of you have created a runbook for it. So the next time it makes it easy to do this kind of decisions either by you or someone else in the team. What I heard the theme and what you were saying is critical thinking. You have to be able to criticize that output. You have to be able to criticize what you're giving as input to get good output. Yeah. And you also need to be critical about how much you're doing, right? Because you said, like, there's a bottleneck there. And at a certain point, your critical thinking is going to go out the window if you're trying to do too much at once. Yeah, taste and judgment becomes so important. Like, taste of, okay, what do we need to work on?

Judgment of, okay, is this passing my quality bar before I can ship this? Because even though it's agent produced, ultimately, the accountability is on me, the person who's shipping it. So then like it has to pass your quality bar as well. So then like engineers who have good taste and judgment, those are like some really good skills. Yes. So let's close it out with, what's the area that you're most excited about in AI and LLMs that we should be on the lookout for in let's say like the next six months? Yeah, I think the area where I try to spend most amount of time is like context graph and like, you know, the derived intelligence. So I kind of went from metadata layer and then the derived intelligence. The next area for me, like, how do we get to the point where it becomes kind of the brain of what's happening? And how is it continuously updated with new learnings where it can learn from ongoing sessions and see, oh, these are there are some deviations to the existing precedent in this area.

Like, so can I learn new things? And then we have like now whole bunch of managed agents for different parts of the life cycle. Then how do we stitch all of these things together where once I have an idea for a feature, how can it go from an idea to a production ready change across all of the modules with everything big then observability where it like it does whole thing end to end to in the same quality bar that you would expect out of any engineer at Uber. So I think these two are like something at least like million like and they're kind of related. The more knowledge of how everything is built, the better the output quality also happens. And then I don't know if you heard the word capability overhang, right? Like even if models don't improve for the next six months to 12 months, if we just keep the models constant, we can easily spend next six months to 12 months on building the orchestration, harness like layers on top to continuously extract more incremental value out of them so if there is no new update we still have six months to 12 months of work and then the models

are also improving so then there's like more work on top okay that is a fascinating capability overhang that's what yeah yeah okay we'll look into that well Uday this was fascinating I learned a ton thank you so so much for being here I really appreciate it awesome and thank you for having me Thank you.

番組の概要欄(原文)

The tech industry is actively working out the best way to organize around agents to speed up software development. It’s a challenging problem because agentic coding produces code far faster than classical SDLC practices were built to handle, and that mismatch creates friction at nearly every stage. The concept of a software factory has recently emerged as a way to frame the problem, treating software delivery like a production line where agents do the work and engineers design, supervise, and improve the line. Uber recently published a viral blog presenting their approach to running an enterprise-scale software factory. Their approach is to build a set of foundational, model- and harness-agnostic building blocks so agents can safely take work from spec to PR at scale while every step stays observable and cost-controlled. Uday Kiran Medesetty is a VP and Distinguished Engineer at Uber, and he’s also the author of the software factory blog. In this episode, Uday joins Matt Merrill to talk about the move toward a supervised agent factory, the foundational building blocks that make it work, keeping cost and quality in check through observability and spend tiers, and the engineer’s changing role as taste, judgment, and fast reviewing replace time once spent typing. Sponsorship inquiries: sponsor@softwareengineeringdaily.com The post Uber’s Approach to Running a Software Factory appeared first on Software Engineering Daily.

出典・この記事について

番組
Software Engineering Daily(Software Engineering Daily)
元の回
Uber’s Approach to Running a Software Factory
配信日
要約作成日
公式サイト
softwareengineeringdaily.com

この要約・解説記事は、元の音声を文字起こしした内容をもとに AI(Claude)が日本語で作成したものです。 固有名詞や数値に誤りを含む場合があるため、正確な内容は元の音声でご確認ください。制作方法について

X でシェア

関連エピソード