Google Open-Sources ABFS to Accelerate Development in Large Git
Google open-sourced ABFS on GitHub, cutting Android Git checkouts from roughly 36 minutes to under 8 seconds and full builds to just over 2 minutes.
By Dillip Chowdary • Dec 05, 2026 • Source: InfoQ

At a glance
- Product
- Google ABFS (Another Build File Service)
- Availability
- Open-sourced on GitHub
- Report date
- Dec 05, 2026
- Android checkout
- ~36 minutes down to under 8 seconds
- Android build
- ~80 minutes down to just over 2 minutes
- Extending to
- Bazel and Chromium
In this post
Google has open-sourced ABFS, short for Another Build File Service, on GitHub to accelerate development across large Git repositories, according to InfoQ's report published on December 5, 2026. Originally developed internally to speed up Android builds, the system replaces massive local source downloads with an on-demand virtual filesystem and shared build caching. Google is also extending ABFS to support Bazel and Chromium.
This report covers Google's Android checkout and build benchmarks, the architecture of its CASFS virtual filesystem, and how Ninja-go verifies cached build outputs. It is written for build engineers, platform teams, and developers running large monorepos or parallel AI coding agents across shared workstations and continuous integration environments.
01Android checkout times and build improvements
Working on massive repositories like Android traditionally forces engineers to wait through lengthy source downloads and clean compilations before testing changes. According to Google, ABFS compresses Android codebase checkout times from roughly 36 minutes to under 8 seconds while cutting full build times from around 80 minutes to just over 2 minutes.
| Metric | Before ABFS | With ABFS |
|---|---|---|
| Android checkout time | ~36 minutes | Under 8 seconds |
| Android full build time | ~80 minutes | Just over 2 minutes |
Instead of pulling an entire repository onto local storage upfront, ABFS streams files only when a build touches them and reuses shared build outputs to avoid redundant downloads and compilation. While Android served as the proving ground, Google is actively extending the service to work with Bazel and Chromium.
02Virtual streaming through the CASFS module
At the center of ABFS is CASFS, a virtual content-addressable filesystem that eliminates massive local source checkouts. Rather than downloading repository files ahead of time, ABFS fetches individual file contents lazily on demand only when a build process actually accesses them. That approach pairs with shared build caching to remove duplicate transfers.
To deliver that behavior, ABFS combines CASFS, implemented as a custom Linux kernel module, with local caching daemons and server-side infrastructure. CASFS exposes Git SHA content hashes directly through extended attributes on files and directories. Because it implements Git's object model natively, standard repository operations work transparently on top of the virtual filesystem.
Checking out a directory under ABFS requires downloading only its directory metadata rather than every file inside it. Actual file payloads stay on the server until a developer tool or build step reads them, keeping untouched parts of a large codebase off the local machine.
Advertisement
Tech Pulse Daily
Get tomorrow's pulse first
Join engineers who read Tech Pulse before stand-up. Free, weekday mornings.
03Parallel agent workspaces and shared caches
Beyond single-checkout speedups, Google built ABFS to unlock parallel agentic workflows, which often require duplicating substantial amounts of repository state and build work. By pairing lazy file loading with local cache deduplication, the system increases shared cache reuse across continuous integration pipelines and developer workstations.
Because workspaces no longer demand full local copies of the source tree, developers and coding agents can mount multiple concurrent Android workspaces on a single machine. Those concurrent workspaces draw from a shared local build cache, allowing engineering teams to scale parallel development time without multiplying disk or compile overhead.
04Two-phase build verification with Ninja-go
To safely share compiled outputs across multiple workspaces, continuous integration runners, and AI coding agents, ABFS relies on two-phase caching through Ninja-go. CASFS can tap build processes at runtime, recording every file actually read, written, or deleted during execution into lists called patches stored alongside cached build artifacts.
Ninja-go replaces traditional timestamp checks with two-phase content-addressable caching to validate reused results. In the first phase, it hashes the build command, environment, and declared input files to identify potentially reusable build candidates from previous executions.
In the second phase, Ninja-go checks whether the files actually read during the original build still match the current filesystem state before accepting a cached result. If any mismatch appears, ABFS rejects the stale candidate and reruns that build step to preserve clean-build correctness.
05Developer reactions and partial clone caveats
Commenting on Google's announcement on LinkedIn, engineering leaders linked ABFS to rising demands from AI coding tools. Hopsworks CEO Jim Downling noted that after Cursor introduced Git on S3 over the summer, a broader trend has begun of rewriting systems software to handle the massively larger codebases enabled by coding agents.
Other commenters questioned whether content addressing is the only viable path for large-scale source trees. Ater.tech CTO Vladimir Churyukin warned that "content addressing is a huge bottleneck by itself," suggesting instead a versioned, copy-on-write filesystem that detects differences from file metadata rather than content and can also run distributed.
Note: Commenter Dishant Sharma observed that the checkout speedup delivered by ABFS could be relatively smaller compared to "a repo already using partial clone or a commit-graph, where a good chunk of that checkout cost is already gone."
Frequently asked questions
What is Google ABFS and how fast is it on Android?
Google ABFS, or Another Build File Service, is an open-source system released on GitHub for large Git repositories. According to Google, it reduces Android checkout times from roughly 36 minutes to under 8 seconds and full builds from around 80 minutes to just over 2 minutes.
How do CASFS and Ninja-go work together in ABFS?
CASFS is a custom Linux kernel module, paired with local caching daemons and server infrastructure, that implements Git's object model natively and streams files on demand. Ninja-go adds two-phase caching by hashing commands, environments, and declared inputs first, then verifying files read during the original build before reusing cached outputs.
What limitations or alternatives did engineers raise about ABFS?
Ater.tech CTO Vladimir Churyukin warned that content addressing can become a bottleneck compared with versioned copy-on-write filesystems tracking metadata. Dishant Sharma noted that speedups may be smaller on repositories already using partial clone or a commit-graph.
Sources
Author
Dillip Chowdary
Writes Tech Bytes coverage of AI, engineering, and the tools that actually ship. Editor of Tech Pulse Daily.
Related on Tech Bytes
Advertisement