Choose your region

    Lists show the case studies of your region first. Browse and search still hold every case study.

    Europe
    North America

    How Uber scaled coding agents and cut cost per session

    Uber gave its engineers Claude Code and its own background agents, then treated the token bill as an engineering problem after spending its 2026 AI coding budget early.

    UberUnited StatesFleets, mobility and deliveryScaled since 2025
    Scale
    84% of Uber developers were agentic coding users in March 2026
    Scenario
    Command-line AI coding agents for engineers
    Business function
    Software engineering
    Who built it
    Built in-house (Anthropic and OpenAI)
    Where it runs
    Hybrid
    Human oversight
    People approve each output
    Organization
    Enterprise, 10,000 to 99,999 employees
    AI types
    Generative AI, Agentic AI
    Run cost
    $150 to $250

    Sources and their publishers

    This case study draws on reporting by the following publishers. Enterprise AI Case Studies combined these accounts and added its own explanation. The reporting, and every passage quoted from it, belongs to whoever published or supplied it.

    1. Fortune

    2. CFO Dive

    3. The Pragmatic Engineer

    4. ShiftMag

    5. Uber

    6. AI Weekly

    tl;drCost per agent session fell 52% from its June peak as weekly agent requests grew 9.4x.See the results

    View the solutionBuild this solution yourself

    Uber gives its engineers AI coding agents through an internal platform that sits between the agents, the models and Uber’s code3. Engineers run Claude Code, Codex and OpenCode in the terminal, and they hand whole tasks to Minion, Uber’s background agent platform3, 7.

    Adoption grew fast in early 2026. By March 2026, 84% of Uber developers were agentic coding users3. Uber then used its whole 2026 AI coding budget within the first four months of the year2.

    Uber answered with cost engineering rather than limits on access6. In August 2026, Uber reported that cost per agent session had fallen 52% from its June peak, with one model held constant, while weekly agentic requests grew 9.4x from February5.

    Before the deployment

    Before agents, Uber engineers spent some time planning, most of their time writing code in an IDE, and some time in code review3. The starting point had the following characteristics:

    • Almost 3,000 people worked in Uber’s tech function in March 20263.
    • Uber’s code and data span hundreds of millions of lines of code and thousands of tables5.
    • Code assistants lifted developer velocity by a modest 10% to 15% in 2022 and 20234.
    • Upgrades, migrations and trivial bug fixes were the toil that Uber wanted AI to take over3.

    Uber’s goal wasn’t to automate engineering away. Its director of engineering Anshu Chadha described the aim as letting engineers focus on creative work rather than toil4.

    What was built

    The platform gives each engineer coding agents with Uber’s context, defaults and cost controls, and it runs background agents that turn a prompt into a pull request3, 4, 5. The work is divided as follows:

    • Interactive agents: Claude Code, Codex and OpenCode run in the engineer’s terminal. A wrapper carries each engineer’s settings, skills and plugins across them7.
    • Background agents: Minion takes a prompt from the web, Slack or the command line, writes the code change and opens a pull request4.
    • Gateways: The Model Gateway routes every model request and tracks spend per user. The MCP Gateway connects agents to internal services and SaaS tools5, 7.
    • Engineers: They write the prompts, often run several agents at once, and review every pull request3, 7.
    • Managers: They approve spend above an engineer’s tier for the month7.

    Uber treats cost as part of the design. The harness shows a live cost counter, and Slack nudges arrive at 50%, 80% and 100% of an engineer’s expected spend5.

    “We’ve seen the opposite. Not because we’ve restricted access, but because we’ve treated efficiency as an engineering problem rather than a budget problem.”

    Praveen Neppalli Naga, chief technology officer at Uber6

    Alternatives considered

    Uber weighed the following options and chose against them:

    • One standard agent: Uber supports several agents, such as Claude Code, GitHub Copilot and Codex, to give engineers the latest tools3.
    • Strict spend caps: Uber chose spend tiers with live tracking and nudges, so that engineers judge the return on each task themselves5.
    • Lower prices or weaker tools: Uber cut wasted tokens instead of relying on lower unit prices or downgrading its tooling5.

    Rollout

    Figure 1From a model gateway to agents at scale
    From a model gateway to agents at scaleIn 2023, Uber's platform team made everything built with AI model-agnostic behind a Model Gateway. In 2025, it built the Minion background agent platform on DevPods. In March 2026, Uber engineers shared adoption figures at the Pragmatic Summit. By April 2026, Uber had used its 2026 AI coding budget. In August 2026, Uber published its cost per session results.20232023 · Model Gateway makes AI model-agnostic · Documented in source [7]Model Gateway makes AI model-agnostic20252025 · Minion built on DevPods · Documented in source [7]Minion built on DevPodsMar 2026Mar 2026 · Adoption figures shared at Pragmatic Summit · Documented in source [3]Adoption figures sharedat Pragmatic SummitApr 2026Apr 2026 · 2026 AI coding budget used up · Documented in source [2]2026 AI coding budget used upAug 2026Aug 2026 · Cost per session results published · Documented in source [5]Cost per session results publishedFrom a model gateway to agents at scaleIn 2023, Uber's platform team made everything built with AI model-agnostic behind a Model Gateway. In 2025, it built the Minion background agent platform on DevPods. In March 2026, Uber engineers shared adoption figures at the Pragmatic Summit. By April 2026, Uber had used its 2026 AI coding budget. In August 2026, Uber published its cost per session results.20232023 · Model Gateway makes AI model-agnostic · Documented in source [7]Model Gateway makesAI model-agnostic2 yrs20252025 · Minion built on DevPods · Documented in source [7]Minion builton DevPods1 yrMar 2026Mar 2026 · Adoption figures shared at Pragmatic Summit · Documented in source [3]Adoption figuresshared atPragmatic Summit1 moApr 2026Apr 2026 · 2026 AI coding budget used up · Documented in source [2]2026 AI codingbudget used up4 moAug 2026Aug 2026 · Cost per session results published · Documented in source [5]Cost per sessionresults published
    • Key milestone
    Sources [2][3][5][7]
    Uber's agent platform grew on a gateway from 2023, and the 2026 budget ran out by April.

    Internal leaderboards that ranked teams by AI usage drove the early growth1, 6. After the budget ran out, Uber improved prompt caching, changed its default model setting and showed engineers their usage and costs per hour6. Total AI spend has been relatively stable since April 20265.

    Technology and architecture

    Figure 2Uber's coding agent platform
    Uber's coding agent platformAn engineer installs and configures the interactive agents (Claude Code, Codex and OpenCode) with the AIFX CLI, prompts them, and submits tasks to Minion background agents from the web, Slack or the command line. The agents send model requests through the Model Gateway and AI Guard to frontier and internal models. They send tool calls through the MCP Gateway to internal services and SaaS tools, and they query the AI Context Graph. Minion opens a pull request, which goes to CI and to a reviewing engineer. No part is inferred.installs, configures (trigger or control) · Documented in source [3]settings, skills (trigger or control) · Documented in source [7]prompts (trigger or control) · Documented in source [3]task by web, Slack, CLI (trigger or control) · Documented in source [4]model requests (data) · Documented in sources [5] [7]model requests (data) · Documented in source [7]routed requests (data) · Documented in source [7]tool calls (data) · Documented in source [5]tool calls (data) · Documented in source [5]context queries (data) · Documented in source [5]authenticated calls (data) · Documented in sources [3] [5]opens pull request (handoff to people) · Documented in source [4]review (handoff to people) · Documented in source [7]ENGINEER'S AGENTSUBER AI PLATFORMUBER SYSTEMSEngineer · Person · Documented in source [3]PERSONEngineerAIFX CLI · Application · Documented in sources [3] [7]APPLICATIONAIFX CLIClaude Code, Codex, OpenCode · Application · Documented in source [7]APPLICATIONClaude Code,Codex,OpenCodeMinion background agents · Application · Documented in sources [3] [4]APPLICATIONMinionbackgroundagentsModel Gateway and AI Guard · System · Documented in source [7]SYSTEMModelGateway andAI GuardMCP Gateway · System · Documented in sources [3] [5]SYSTEMMCP GatewayAI Context Graph · Data · Documented in source [5]DATAAI ContextGraphFrontier and internal models · AI model · Documented in sources [4] [7]AI MODELFrontierand internalmodelsInternal services, SaaS tools · System · Documented in sources [3] [5]SYSTEMInternalservices,SaaS toolsPull requests and CI · System · Documented in sources [4] [7]SYSTEMPull requestsand CIReviewing engineer · Person · Documented in source [7]PERSONReviewingengineerinstalls,configuressettings, skillspromptstask by web,Slack, CLImodel requestsmodel requestsrouted requeststool callstool callscontext queriesauthenticatedcallsopens pullrequestreviewUber's coding agent platformAn engineer installs and configures the interactive agents (Claude Code, Codex and OpenCode) with the AIFX CLI, prompts them, and submits tasks to Minion background agents from the web, Slack or the command line. The agents send model requests through the Model Gateway and AI Guard to frontier and internal models. They send tool calls through the MCP Gateway to internal services and SaaS tools, and they query the AI Context Graph. Minion opens a pull request, which goes to CI and to a reviewing engineer. No part is inferred.installs, configures (trigger or control) · Documented in source [3]settings, skills (trigger or control) · Documented in source [7]prompts (trigger or control) · Documented in source [3]task by web, Slack, CLI (trigger or control) · Documented in source [4]model requests (data) · Documented in sources [5] [7]model requests (data) · Documented in source [7]routed requests (data) · Documented in source [7]tool calls (data) · Documented in source [5]tool calls (data) · Documented in source [5]context queries (data) · Documented in source [5]authenticated calls (data) · Documented in sources [3] [5]opens pull request (handoff to people) · Documented in source [4]review (handoff to people) · Documented in source [7]ENGINEER'S AGENTSUBER AI PLATFORMUBER SYSTEMSEngineer · Person · Documented in source [3]PERSONEngineerAIFX CLI · Application · Documented in sources [3] [7]APPLICATIONAIFX CLIClaude Code, Codex, OpenCode · Application · Documented in source [7]APPLICATIONClaude Code,Codex, OpenCodeMinion background agents · Application · Documented in sources [3] [4]APPLICATIONMinion backgroundagentsModel Gateway and AI Guard · System · Documented in source [7]SYSTEMModel Gatewayand AI GuardMCP Gateway · System · Documented in sources [3] [5]SYSTEMMCP GatewayAI Context Graph · Data · Documented in source [5]DATAAI Context GraphFrontier and internal models · AI model · Documented in sources [4] [7]AI MODELFrontier andinternal modelsInternal services, SaaS tools · System · Documented in sources [3] [5]SYSTEMInternal services,SaaS toolsPull requests and CI · System · Documented in sources [4] [7]SYSTEMPull requests and CIReviewing engineer · Person · Documented in source [7]PERSONReviewing engineerinstalls, configuressettings, skillspromptstask by web, Slack, CLImodel requestsmodel requestsrouted requeststool callstool callscontext queriesauthenticated callsopens pull requestreview
    • AI component
    • Data
    • Trigger or control
    • Handoff to people
    Sources [3][4][5][7]
    Every agent reaches models and Uber's systems through two gateways, and an engineer reviews each pull request.

    The following table lists the parts of the solution.

    Layer What they used Role Source
    Language model Anthropic and OpenAI models Frontier models behind the gateway, beside models that Uber hosts 4, 7
    Task agent Claude Code Interactive coding agent in the terminal 3, 7
    Task agent Codex Second supported interactive agent, beside OpenCode 7
    Task agent Minion Background agents that turn a prompt into a pull request 3, 4
    Model gateway Model Gateway Routes model requests, tracks spend per user, keeps audit logs 7
    Guardrails AI Guard Security middleware that checks all requests and responses 7
    Developer tools AIFX CLI Provisions, updates and configures every harness 3, 7
    Tools and actions MCP Gateway One entry point to more than 1,000 MCP servers 5
    Knowledge graph AI Context Graph Company context that any agent can query 5
    Machine learning platform Michelangelo Uber’s ML platform, which the AI platform is built on 3
    Compute and servers DevPods Infrastructure that powers Minion 7
    Monitoring Session analysis dashboard Flags 16 cost anti-patterns in each user’s sessions 5

    Each agent sends model requests through the Model Gateway and tool calls through the MCP Gateway5, 7. AI Guard checks every request and response on the way, and the gateway keeps audit logs and session traces7. Uber decided in 2023 that everything built with AI must be model- and harness-agnostic, so that it can switch between Anthropic, OpenAI and open models7.

    Defaults that cut tokens

    The platform sets the following defaults to cut the tokens that each request carries:

    • Cheaper subagents: Subagents default to a weaker, cheaper model, because they do well-defined tasks. The primary model plans and checks the work5.
    • Compaction at 400k tokens: Sessions compact at 400k tokens, even on models with 1M context windows, to limit repeated input costs5.
    • Medium reasoning effort: Reasoning tokens bill at multiples of input tokens, so Medium is the default5.
    • One-hour prompt cache: Engineers often leave sessions idle for more than 5 minutes, which used to expire the default cache5.
    • Tools on demand: CLI tool resolution and tool search load only the tools a task needs. Loading over 100 tools up front had added about 50K to 70K tokens to every prompt5.
    • Code-mode: Agents batch tool calls in a script, which cut tokens by more than 50% even on small SQL queries5.

    Data inputs

    The agents use the following data:

    • Task prompt: The request that an engineer gives an interactive agent or submits to Minion4.
    • Source code: Uber’s monorepo, which Minion agents can reach3.
    • Engineering knowledge: Documentation, Slack information and JIRA tickets, which act as the agents’ memory3.
    • AI Context Graph: 24 million nodes from over 30 internal systems, such as incident logs, design docs, deployments and table usage queries5.
    • Uber SWE Benchmark: Thousands of real pull requests from Uber’s monorepos, which Uber uses to compare models5.

    Integrations

    The platform connects to the following systems:

    • Internal services: The MCP Gateway exposes any internal Thrift, Protobuf or HTTP endpoint as an MCP server through a configuration change3.
    • SaaS tools: Vendor MCP servers for workspace, messaging and project tracking tools route through the same gateway5.
    • Slack: Engineers start Minion tasks from Slack, and Minion reports there when a pull request is ready4.
    • Code review and CI: Agents run simple CI checks with afx validate before they open a pull request7.
    • Data warehouse: Agents run SQL queries through code-mode scripts that keep the polling out of the model’s context5.

    How one task flows through Minion

    1. An engineer submits a prompt from the web, Slack or the command line4.
    2. Minion suggests a better prompt when the instructions are vague, which raises the chance that the agent succeeds4.
    3. The agent runs on DevPods with access to the monorepo3, 7.
    4. The agent runs linting, build and template rules with afx validate before it opens a pull request7.
    5. Minion opens the pull request and notifies the engineer on Slack that it’s ready to review4.
    6. AI code review runs, and the change gets a risk score and, where applicable, screenshots and videos7.
    7. An engineer reviews and approves the change4, 7.

    Results

    In August 2026, Uber reported that agent use had grown while its unit costs fell5. The following table lists the reported results.

    Metric Before After Scope and timeframe Reported by
    Developers who are agentic coding users Not disclosed 84% Uber developers, March 2026 Uber, measured3
    Cost per agent session June 2026 peak 52% lower One model held constant, through July 2026 Uber, measured5
    Cost per 1,000 model requests Peak Almost 34% lower One model held constant, February to July 2026 Uber, measured5
    Weekly agentic requests February 2026 9.4x All employees, February to August 2026 Uber, measured5
    Code changes written by Minion Less than 1% 8% All code changes, a few months to March 2026 Uber, measured4
    Pull requests attributed to agents Not disclosed More than 70% Local or cloud agents, August 2026 Uber, measured5

    The metrics mean the following:

    • Agentic coding user: A developer who uses CLI-based agents, or who makes more agentic requests than tab-completions in the IDE3.
    • Cost per session and per 1,000 requests: Uber held one model fixed so that model upgrades don’t hide its own gains. Cost per session data starts at the end of May 20265.
    • Weekly agentic requests: Cover all agentic offerings for all employees, engineers and non-engineers. Weekly active users grew 7x over the same period5.
    • Minion code changes: Minion writes these with zero human authoring, and engineers review and approve them4.

    Lessons learned

    Usage grew while unit costs fell, because every request passed through gateways that Uber controls5, 7. Distinguished engineer Uday Kiran Medisetty credits a decade of earlier developer tooling, such as DevPods and Uber’s Thrift and Protobuf registries7.

    Spending ran ahead of the plan. Uber used its whole 2026 AI coding budget within the first four months of the year, after leaderboards ranked teams by AI usage1, 2. Forbes, as reported by CFO Dive, put the average monthly cost at about $150 to $250 per engineer, and up to $2,000 for heavy users2. Fortune pointed to the risk of the Jevons paradox, in which total spending on tokens rises as their price falls6.

    The business return is hard to show, by Uber’s own account. In May 2026, COO Andrew Macdonald said of the link between rising Claude Code use and more useful consumer features, “That link is not there yet”1. Anshu Chadha called the adoption figures “activity metrics, not business outcomes,” and Uber now tags each pull request by type to track feature work4, 7.

    More agent-written code moved the load to review and CI. Code review became a big bottleneck, and CI jobs more than doubled in 12 months, which led to an internal “code red” for CI7. Adoption also took effort. It was slower than expected, and peers sharing wins worked better than top-down mandates3, 4.

    The figures are Uber’s own, from its blog, its engineers’ talks and its executives’ statements, and outlets give them different baselines3, 5. Forbes, as relayed by CFO Dive, put Claude Code adoption at 32% in February and 84% by March, while Uber’s team gave 32% in December and 63% in February2, 3. The share of AI-written code ranges from about 10% of committed code, as the CEO said in May 2026, to more than 70% of pull requests in August 20261, 5.

    Case study scorecard

    Build this solution yourself

    Analysis

    What you need

    To build this solution, you need the following in place:

    • A gateway in front of every model call: Uber’s Model Gateway tracked spend per user and let it switch models, which its cost work depended on5, 7.
    • Company context that agents can query: In Uber’s test, an agent without the AI Context Graph spent 20 minutes and gave a wrong answer, while a grounded agent answered in 38 seconds5.
    • Review and CI capacity for more pull requests: Code review became Uber’s bottleneck, and CI jobs more than doubled, so check that your pipeline can take the extra load7.

    Reference architecture

    Software engineering assistant

    A software engineering assistant writes, reviews, tests, or migrates code in the tools that developers already use, and a developer approves its output. A language model writes a change, a test, or a review comment from the code for a task, and automated checks and a checker model build, test, and filter it. A reviewer approves each checked proposal in code review before it merges, and developers do the work that fails the checks by hand.

    A check mark shows a building block that this case study's sources document.

    Open the reference architecture

    Others who built it

    • Databricks: Routes AI coding tasks by complexity and defaults away from frontier models when cheaper models clear the bar8.
    • Rippling: Uses its AI Spend Console to map per-employee and per-team token usage against productivity signals8.
    • Microsoft: Reportedly began moving engineers from direct Claude Code licenses to GitHub Copilot CLI in May 20261.

    Cite this case study

    Enterprise AI Case Studies. "How Uber scaled coding agents and cut cost per session." Updated Nov 20, 2026. https://case-studies.ai/case-studies/engineering-and-research/ER-023-coding-agents-cost-control-uber/

    @misc{csai-er-023,
      author = {{Enterprise AI Case Studies}},
      title = {{How Uber scaled coding agents and cut cost per session}},
      year = {2026},
      note = {Updated 2026-11-20},
      url = {https://case-studies.ai/case-studies/engineering-and-research/ER-023-coding-agents-cost-control-uber/}
    }

    Sources

    The following reporting, and every passage quoted from it, belongs to its publisher, not to this site. Sources and ownership

    1. Source 1:

      Uber burned through its entire 2026 AI budget in four months. Now its COO is questioning whether it's worth it

      IndependentFortune, May 26, 202626 May 2026By Jake AngeloAccessed Nov 20, 202620 Nov 2026

      Supporting excerpts (6)
      • Uber president and chief operating officer Andrew Macdonald said it's hard to draw a connection between the company's rising use of Claude Code and innovations meant to serve consumers.
      • That link is not there yet
      • Maybe implicitly there's more that is getting shipped, but it's very hard to draw a line between one of those stats and
      • the firm had already burnt through its entire 2026 AI coding tools budget in just four months after incentivizing employees to adopt the technology through an internal leaderboard ranking teams by total AI tool usage
      • Uber CEO Dara Khosrowshahi said about 10% of the company's committed code is built by autonomous agents
      • Microsoft earlier this month reportedly began canceling most of its direct Claude Code licenses, according to The Verge, instead moving engineers toward using GitHub Copilot CLI.
    2. Source 2:

      Uber's finance team overtaken by engineering in AI use

      IndependentCFO Dive, May 29, 202629 May 2026By Alexei AlexisAccessed Nov 20, 202620 Nov 2026

      Supporting excerpts (4)
      • Chief Technology Officer Praveen Neppalli Naga disclosed the company had burned through its entire 2026 AI coding budget within the first four months of the year, driven by rapid adoption of tools such as Claude Code across engineering teams
      • Uber's rollout of Claude Code has accelerated rapidly across engineering teams, with adoption rising from 32% in February to 84% by March, according to Forbes.
      • roughly 95% of Uber engineers were using AI tools monthly by spring, with about 70% of committed code originating from those systems
      • monthly costs ranging from roughly $150 to $250 per engineer on average, and as much as $2,000 for heavy users
    3. Source 3:

      How Uber uses AI for development: inside look

      IndependentThe Pragmatic Engineer, Mar 10, 202610 Mar 2026By Gergely OroszPaywalledAccessed Nov 20, 202620 Nov 2026

      Supporting excerpts (20)
      • 84% of devs at Uber are agentic coding users (either using CLI-based agents or making more agentic requests than tab-completion in their IDE)
      • 65-72% of code is AI-generated inside IDE-based tools.
      • Claude Code usage nearly doubled in 3 months — from 32% in Dec to 63% in Feb, while IDE-based tools (Cursor, IntelliJ) have plateaued.
      • employs almost 3,000 people in the tech function
      • Internal AI platform. Built on top of Michelangelo, Uber's ML/AI platform. This layer provides things like a model gateway to proxy to frontier models or internally hosted models.
      • Internal Uber context: accessing Uber's source code, engineering documentation, Slack information, JIRA tickets, etc.
      • so they support several tools like Claude Code, GitHub Copilot, Codex, and other clients
      • Uber built Minion, an internal background agent platform with monorepo access and optimized defaults.
      • The Dev Experience team built the AIFX CLI, which is the AI tooling command line used by all engineers there.
      • Provisioning AI agents (client tools like Claude Code, Codex, Cursor, and others)
      • Updating AI agents and clients to the latest versions
      • any internal Thrift, Protobuffer, or HTTP endpoint can be exposed as an MCP server with a simple configuration change
      • external MCP servers are also exposed via the gateway, which handles all authentication and authorization tasks
      • work like upgrades, migrations, trivial bug fixes
      • Free up engineers to focus more on creative work.
      • Devs spent some time planning, most time writing code (code authorship), and then some time in code review.
      • AI adoption is slower than expected, even at a forward-thinking company like Uber. Top-down mandates are less efficient than engineers sharing their wins with peers.
      • 92% of Uber devs use agents monthly, 65-72% of code is AI-generated inside IDEs, and 11% of pull requests opened by agents. At the same time, AI-related costs are up 6x since 2024, and token cost optimization is a growing priority.
      • At the recent Pragmatic Summit in San Francisco, one of the most interesting behind-the-scenes sessions came from the ridesharing company's principal engineer, Ty Smith, and director of engineering Anshu Chada
      • engineers get into this mode of running several agents at once
    4. Source 4:

      How Uber Engineers Use AI Agents

      IndependentShiftMag, Mar 13, 202613 Mar 2026By Ivan Brezak BrkanAccessed Nov 20, 202620 Nov 2026

      Supporting excerpts (14)
      • Back in 2022 and 2023, developer velocity saw a modest 10–15% increase.
      • AI agents that can work independently, tackling tasks without needing someone at the keyboard
      • This gives access to models from OpenAI and Anthropic, as well as Uber's own internal models.
      • Engineers submit a prompt via web, Slack, or command line, and it generates code changes and opens pull requests automatically.
      • A few minutes later the system notifies you on Slack that the task is complete and the PR is ready to review.
      • The platform also helps engineers craft better prompts by suggesting improvements when instructions are unclear, increasing the likelihood that the agent will succeed.
      • they found about 70% of submitted tasks were
      • Uber found that peer-driven adoption worked better than mandates.
      • These are activity metrics, not business outcomes
      • Since 2024, our costs have gone up at least six times. This technology is amazing, but the cost of AI is too high.
      • Uber's internal coding agent grew from contributing less than 1% of all code changes to 8% in just a few months, with zero human authoring. Engineers review and approve, but the code itself is written entirely by AI.
      • 95% of engineers use AI every month across tracked tools.
      • You give the agent a prompt and expect a pull request as the output.
      • We're not pushing for AI to automate all humans in the company. Our goal is to let engineers focus on creative work rather than toil.
    5. Source 5:

      Running a Software Factory Efficiently at Uber Scale

      OrganizationUber, Aug 27, 202627 Aug 2026By Uday Kiran MedisettyAccessed Nov 20, 202620 Nov 2026

      Supporting excerpts (52)
      • More than 70% of pull requests are attributed to local or cloud agents.
      • Engineers have built over 3,600 agent skills across the software development life cycle, and executed more than 30K agent skill executions per day.
      • from February to Aug 2026, weekly active users across all agentic offerings across all our employees (engineers & non-engineers) grew 7x, and weekly agentic requests grew 9.4x
      • Meanwhile, our total AI spend has relatively stabilized since April due to optimizations across the board.
      • isolating our own optimization gains means holding one model fixed, since behavior shifts with every upgrade and model family
      • We did that from February to July: cost per 1,000 model requests is down almost 34% from its peak, and cost per session is down 52% from its June peak.
      • Cost/session data starts from end of May.
      • Build a benchmark out of the agent's real work.
      • Run the agent on a harness that serves any model, frontier or open-weight, behind one interface.
      • Using thousands of real-world PRs across our large monorepos, we internally also have an Uber SWE Benchmark that runs frontier and open-weight models across different task types.
      • Because subagents perform well-defined tasks with specified inputs that often do not require frontier-level reasoning, we default them to a weaker, more cost-effective model while still allowing manual overrides.
      • All interactive harnesses use a unified wrapper for installation management, configuration, authentication, and cost visibility.
      • Automatic compaction is triggered at 400k tokens even for 1M context window models: This threshold balances model performance against cache bursts and repeated input token costs.
      • Reasoning effort defaulted to Medium: Output tokens, including internal reasoning tokens, are billed at multiples of the rate of input tokens on primary models
      • Because engineers often leave interactive sessions idle for more than 5 minutes, we transitioned from the default 5-minute TTL to a 1-hour window.
      • Sub-agents, by contrast, retain a 5-minute cache TTL because their execution focus is limited to single, short-lived tasks.
      • This single entry point encompasses more than 1,000 MCP servers across internal and third-party SaaS MCP, enabling centralized authentication and policy enforcement.
      • with over 100 tools installed, this pre-loading added approximately 50K-70K tokens of schema overhead to the initial prompt
      • CLI tool resolution: Replaces direct MCP integration by allowing the model to execute a shell command.
      • Tool search: Scales to thousands of tools by allowing the model to search the tool catalog and load only required tools on demand.
      • we route SaaS MCP servers through our MCP gateway using the same mechanism we do for our internal MCPs. We also expose all these MCPs as CLIs that any agentic surface can invoke.
      • a workspace suite bundles 49 tools into a single server
      • messaging and project tracking vendors ship 34 and 46 tools, respectively
      • comprising hundreds of millions of code lines and thousands of tables, agents spend most of their turns locating information rather than generating code
      • we engineered the AI Context Graph: a unified network containing 24 million nodes and 80 million edges across 86 nodes and 117 edge types. It integrates data from over 30 internal systems, including services, engineering teams, incident logs, pull requests, architectural design docs, deployments, datasets, and historical table usage queries, and lets any agent query it in natural language.
      • The grounded agent queried historical usage, identified the specific table used by over 50 analysts, and delivered the answer in 38 seconds. Conversely, the ungrounded agent lacked visibility into that table; it spent 20 minutes inspecting service code
      • incorrectly concluding the dataset was unqueryable
      • We put a live cost counter in the harness status line that tracks live spend per harness and across all harnesses for each user.
      • To avoid imposing strict caps, we implemented real-time spend tracking and automated nudges
      • Harness pool. One shared tier across all interactive harnesses, not per-tool budgets. And separate tiers for managed agents.
      • Slack nudges. Alerts at 50/80/100% of expected spend so engineers have time to plan.
      • Easy approval flows. Manager sign-off for tier upgrades with quick propagation.
      • These enable engineers to evaluate task ROI independently while mitigating runaway expenses.
      • Executing the cost dashboard skill analyzes all session traces for the user across local and remote cloud sandboxes across all harnesses they use.
      • it flags 16 distinct anti-patterns across sessions, pairing each with its financial impact and a targeted remediation
      • Executing simple multi-turn sessions on Opus that Sonnet could easily fulfill.
      • Below is the full set of metrics we track weekly and monthly
      • Outcome-denominated cost (cost per merged PR, cost per review, cost per alert, cost per cleanup);
      • Quality signal (revert rate, F1, MTTR);
      • We measured this by running 5 identical SQL queries through both paths in the same session
      • even for minimal result sets far below response-size limits, code-mode reduces token usage by more than 50%
      • Code-mode streamlines this entire flow into an automated Python loop, keeping intermediate polling out of the model's active context.
      • Tokens per query, measured in the same Claude Code session.
      • The core strategic shift is moving from interactive developer workflows to fully managed agents. Transitioning SDLC workloads into managed environments grants complete control over model routing, execution harnesses, and operational spend.
      • Optimizing a fleet of specialized managed agents, each paired with dedicated evaluation benchmarks and a Pareto-efficient model, is inherently more cost-effective and scalable than optimizing individual terminal sessions across thousands of engineers.
      • By eliminating wasted, zero-value token consumption rather than relying solely on lower unit prices or downgrading tooling, we scaled usage 7x while simultaneously reducing unit costs across all metrics and improving/maintaining output quality.
      • The subagent default setting has proven to be the most impactful lever, and its significance continues to grow.
      • Our measurements show a meaningful reduction in fleet-wide input tokens per request.
      • this policy adjustment directly reduces spend in the highest-cost token category
      • For a large category of tasks, Medium reasoning hits a good balance between cost vs quality.
      • eliminating Uber MCP schemas from the session context
      • All 1K+ MCP tools from our internal MCP gateway are projected as CLI commands.
    6. Source 6:

      After blowing through its entire 2026 AI budget in months, Uber CTO says, 'We're coming to the end of the so-called tokenmaxxing era'

      IndependentFortune, Aug 7, 20267 Aug 2026By Sasha RogelbergAccessed Nov 20, 202620 Nov 2026

      Supporting excerpts (5)
      • encouraged employees to use its tools, particularly Anthropic's Claude Code, as much as possible, even devising "leaderboards" to rank software engineers on their usage
      • Uber quadrupled the number of employees who use frontier AI tools, Naga explained, which brought down the cost per token.
      • It was able to do this by improving prompt caching, as well as adjusting its default model setting, evaluating new models for efficiency, and allowing engineers to see their AI usage and costs per hour.
      • We've seen the opposite. Not because we've restricted access, but because we've treated efficiency as an engineering problem rather than a budget problem.
      • it risks falling into a trap economists have warned about: Jevons paradox, in which spending on a resource, in this case tokens, actually increases even as its cost decreases
    7. Source 7:

      Uber's AI infra, from the inside

      IndependentThe Pragmatic Engineer, Oct 14, 202614 Oct 2026By Gergely OroszAccessed Nov 20, 202620 Nov 2026

      Supporting excerpts (19)
      • In 2023, Uber's platform team made the decision that everything built with AI needs to be model- and harness-agnostic. They built Model Gateway to support switching between Anthropic, OpenAI, other vendor models, and now also supports open models they run.
      • AI Guard: a middleware run by the security team. It checks all requests and responses, and measures latencies
      • Spend tracking: spend is tracked per user
      • Visibility: audit logs and session traces
      • Uber currently supports Claude Code, Codex, and OpenCode as harnesses. AIFX (short for AI Foundations) is a wrapper on top of all of these, so when an engineer changes harnesses, all their settings, skills and plugins move with them.
      • engineers get allocated a spend tier. When they hit the limit, their manager can sign off to spend more in that month.
      • Uber has reduced token costs by about 50% the last few months
      • All PRs are still reviewed by engineers
      • Uday admits that code review has become a big bottleneck inside the company
      • By the time a dev reviews a change, AI code review has run, screenshots and videos of the feature have been added (when applicable), and risk scores are assigned to the change.
      • This was because CI jobs more than doubled in a 12-month timeframe, pushing load on CI systems overly high.
      • so agents run these commands with the afx validate command before opening a PR
      • the team moved simple CI jobs (eg linting, build and template rules)
      • Uber now tags all PRs by type: feature, bugfix, maintenance, testing, or docs.
      • Minion – built in 2025 – is powered by DevPods, which Uber created in 2017.
      • Uber's MCP Gateway was fast to build, thanks to existing Thrift and Protobuf registries.
      • You need to get really good at context engineering.
      • Uber Distinguished Engineer Uday Kiran Medisetty shares how Uber builds internal developer tools, integrates AI agents into engineering workflows, and measures their impact on productivity.
      • Having the Model Gateway in place made it easy to extend with these parts:
    8. Source 8:

      AI coding agents: 18 real deployments

      IndependentAI Weekly, Aug 30, 202630 Aug 2026Accessed Nov 20, 202620 Nov 2026

      Supporting excerpts (2)
      • Databricks routes AI coding tasks by complexity, defaults away from frontier models when cheaper models clear the bar, and trims coding-harness prompt overhead to control enterprise coding-agent costs.
      • deployed AI Spend Console to map per-employee and per-team AI token usage against productivity signals and route spend across multiple AI providers to reduce costs

    More in Engineering & Research

    View all