# Building Blocks for Uber’s Software Factory— Uday Kiran Medisetty & Adam Huda, Uber
<!--
ref: @content/youtube/aie/building-blocks-for-ubers-software-factory-uday-kiran-medisetty-adam-huda-uber
tags: [software factory, agentic SDLC, model gateway, MCP gateway, agent environments, skills marketplace, context graph, code review, maintenance automation]
version: 2
updated_at: 2026-11-24T04:32:15.510Z
-->

**[Watch on YouTube](https://www.youtube.com/watch?v=17-YSUHo6Lk)**

# Building Blocks for Uber’s Software Factory— Uday Kiran Medisetty & Adam Huda, Uber

*Synthesized from Uday Kiran Medisetty and Adam Huda's talk on AI Engineer, 2026-08-21.*

Uday Kiran Medisetty presents six building blocks behind Uber's software factory, and Adam Huda then walks through a feature built end to end with them. The transcript is an automatic caption track with some errors in names.

## Core Thesis
Uday Kiran Medisetty argues that Uber's agentic investments have moved most engineering output onto agents. The company is building shared infrastructure, a model gateway, an MCP gateway, agent environments, a skills marketplace, a context graph and one assistant surface, so that any team can build and ship with agents safely. Adam Huda then argues that validation and maintenance have to move into the inner loop and into managed automation, so that more code can ship without more CI load.

## Key Insights
- Scale: a few thousand engineers across 12 global tech sites. More than 70 percent of PRs are now produced by local or cloud agents, lines of code per engineer doubled year over year, and 250-plus automated migrations touched 9 million lines.
- Model gateway: one OpenAI- and Anthropic-compatible endpoint, with Spire-based identity, a data anonymizer that redacts 20-plus PII types, and an AI guard of five models, all under 100 milliseconds. It serves 800-plus projects and more than 100 million model requests per day.
- MCP gateway: an automated crawler turns internal APIs into MCP tools, and SaaS tools such as Google, Slack and Jira go through the same gateway. An Omni MCP, a CLI pattern and a code-mode skill cut token use. There are more than 1,000 MCP tools and over 40 percent fleetwide token savings.
- Agent environments: pre-provisioned Kubernetes pods hold snapshotted repos and built search indexes, so agents start within seconds. A "mega dev pod" holds all repositories for cross-repo work.
- Skills: a managed marketplace holds 2,500 skills with lint checks and automated review, one install command, and auto-installed defaults by persona. There are more than 20,000 skill executions per day.
- Context graph: 150 node and edge types and 40 million entries, connecting 20 to 30 systems. On a mobility SQL example, Uber reports large gains in tokens, turns and latency.
- Cortana, the assistant, runs on Slack, CLI and web. In the last month it had 300 personas and more than 20,000 sessions per day.
- Feature demo: a World Cup pickup-location idea went through Cortana for business research, Figma mock-ups with two button-text variants, and a Minion coding agent in a dev pod that stops at a draft PR. The draft is validated in the inner loop (simulator screenshots against Figma specs, a staging backend check) before CI. Self-healing CI and a PR table of checks follow.
- Maintenance: managed skills such as feature flag cleanup run on Sunday, with the number of Monday diffs capped. Reviewer feedback on those diffs labels data to improve the skills.

## Actionable Takeaways
1. Put all model access behind one gateway that attributes spend per project, user and team, with PII redaction and latency-bounded guardrails.
2. Put tool access behind one MCP gateway, and measure token cost per tool so heavy tools move to CLI or scripts.
3. Pre-provision agent environments with snapshotted repos and built search indexes, so agents start quickly.
4. Run skills through a managed marketplace with lint and automated review, and track executions and feedback.
5. Move checks into the inner loop (visual checks against design specs, staging integration) before CI, and attach a checks table to autonomous PRs.
6. Schedule maintenance skills in a managed loop with a cap on diffs per engineer per day.

## Notable Quotes
> "more than 70% of our PRs now either by local or cloud agents" — Uday Kiran Medisetty

> "we also don't want to overwhelm engineers that Monday morning with a bunch of extra diffs." — Adam Huda

---

*Related: `@content/youtube/zazencodes/build-your-own-ai-software-factory-with-claude-code` · `@content/youtube/yifan-bth/how-i-use-ai-git-to-code-3x-faster-real-dev-workflow-with-cursor` · `@content/youtube/yifan-bth/openai-codex-revolutionary-workflow-or-200-mistake` · `@content/youtube/yifan-bth/my-day-to-day-ai-dev-workflow-git-cursor-windsurf-cline-playwright-supabase-replit` · `@content/youtube/cole-medin/ai-makes-us-way-faster-but-fries-our-focus-heres-what-i-do-about-it`*

---

*You're reading a protocol on [protocol.supply](https://protocol.supply) — hosted, searchable knowledge for AI agents. Think Agent Skills, as an API: bootstrap once (`curl -sL https://api.protocol.supply/bootstrap`), search (`/search?q=…`), fetch (`/@repo/slug`).*

*Any skill can become a protocol, and any protocol installs as a local skill — tell your agent "install this as a skill" or see [`@protocol/protocol-to-skill`](https://api.protocol.supply/@protocol/protocol-to-skill).*