✓ ShippedByAgents
Practitioner (own blog/paper) Refactor / maintenance

Expedia Group modularizes its shared iOS components with an agent loop and a custom MCP server: an estimated two years done in about three months

Expedia Group's iOS platform team split the Shared iOS Components Stack, used by more than ten brands, into independently buildable domain packages with small API packages, without a code freeze or pausing Monday releases. They built the work around a loop (analyze, decide, act, verify, memory, route, repeat). Deterministic scripts behind a purpose-built Modularization MCP server inventory the repo, map dependencies, move sources, update code generation and run builds, querying Xcode's index for symbols. A main coding agent, set up by an orchestrator entry skill, drives the loop; completion is decided by a ladder of builds and tests ending in one pull request. Known build failures are fixed from stored memory, and humans are asked only at architectural forks. One complex domain ran for more than eight hours before its first human decision.

The numbers (as reported)

ProgramEstimated roughly two years → about three months
Per domainAbout four months → under three days (medium-to-complex domain)
Longest autonomous runMore than eight hours before first human decision
Focused domain buildAbout 15 → 2 minutes
CI build and test45 → 11 minutes

Facts

Company / subject
Expedia Group
Tools
Unstated
Codebase
brownfield
Work type
Refactor / maintenance
Stack
iOS, Xcode, Swift packages, MCP
Published
2026-10-27
Last checked
2026-11-17

What the source claims Practitioner (own blog/paper)

Claimed by the builder, writing about their own work. Not checked independently.

  • Work estimated at about two years was completed in about three months, with no code freeze ~2 years → ~3 months
  • A medium-to-complex domain went from about four months to under three days ~4 months → <3 days
  • CI build and test time fell from 45 to 11 minutes 45 → 11 minutes
  • P75 cycle time fell from about 5 to 2 days ~5 → 2 days

Caveats

Written by an Expedia Group engineer about the team's own program. The coding agent and model are not named. The two-year figure is the original estimate. No count of domains, PRs or cost. Much of the work is done by deterministic scripts behind the MCP server, with the agent deciding and routing.

More stories by tool: Unstated

Related topics: Refactoring and maintenanceBrownfield codebases

Source

Expedia Group Tech Blog (Karthik Bedre)

One email a week: what actually shipped

New sourced stories, the numbers behind them, and what didn't work. No hype.

We'll only use this to send the newsletter. See the privacy page.