---
type: analysis
slug: abfs-s-headline-speedups-are-warm-cache-numbers-and-nobody-has-yet-shown-an
title: "ABFS's headline speedups are warm-cache numbers, and nobody has yet shown an outside team running that cache freely"
description: "Google's open-sourced ABFS joins two separate tricks: source files loaded on demand, and build results reused from a shared cache. The first should help almost anyone. The second only pays off once a cache is populated and operated. The repository includes server-side components, but no outside team has yet shown it running a warm ABFS service on its own without a license."
published_at: 2026-11-28T17:00:00.000Z
topics: ["google","tools"]
source_urls: ["https://github.com/google/abfs","https://blog.google/innovation-and-ai/products/gemini-app/updated-controls","https://blog.google/products-and-platforms/products/maps/ask-maps-is-coming-to-europe","https://aistudio.google.com/docs/tool-retrieval"]
author: "Andrey Reshetnikov"
author_profile: https://newruntime.com/owner-profile.md
---
# ABFS's headline speedups are warm-cache numbers, and nobody has yet shown an outside team running that cache freely

Google's open-sourced ABFS joins two separate tricks: source files loaded on demand, and build results reused from a shared cache. The first should help almost anyone. The second only pays off once a cache is populated and operated. The repository includes server-side components, but no outside team has yet shown it running a warm ABFS service on its own without a license.

## Summary

Google has open-sourced ABFS ("Another Build File Service"), a content-addressable filesystem and build cache for Android source trees. It mounts checkouts almost instantly, fetches file contents only when they are touched, and reuses build outputs that are cached by content hash. The repository contains client, storage and cache-manager code. So far the only visible production integration, in GoogleCloudPlatform's Horizon-SDV, requires an early-access license, so it is not yet clear whether independent teams can reproduce the advertised gains on their own.

## What happened

The google/abfs repository describes ABFS as a content-addressable file system and build cache that speeds up Android source checkouts and builds. It follows the Git object model: files and directories are identified by the hash of their content. The initial open-source commit landed on October 3, 2026. Fixes on October 19 made `abfs repo-setup` work on a fresh machine and repaired `abfs init` and the cacheman systemd setup. An architecture deep-dive document followed on November 13. The repository has 24 commits and one tag.

Two mechanisms are bundled together here, and they should be judged separately.

1. Demand-loaded source access. A Linux filesystem module (casfuse and filesystem directories, plus the separate google/abfs-casfs kernel module repository) exposes the whole tree's metadata at mount time and fetches file contents only when they are read. On Google's Developers Blog, Google says ABFS streams files on demand only when a build actually touches them. This solves the checkout problem. Its dependency is a reachable content store that holds the source objects.

2. Shared build-result reuse. The Ninja-go backend hashes build actions and inputs and skips work when a matching result is already in a shared cache. This solves the rebuild problem. Its dependency is stricter: the cache has to be populated with outputs for the same toolchain, configuration and source revisions, ideally by CI or by teammates building ahead of you.

The repository includes components for both mechanisms: cas, store, a cache manager run under systemd, a Git bridge (casgit, fastgit, gitpusher) and repository integration. That is real evidence that more than a thin client was released. The early commits also show the friction of standing it up: the setup guide was changed to push directly to the server without the local cache manager, and Git's ref format has to be forced to "files" because `abfs push` requires it.

## What the archive adds

According to Google's Developers Blog, Android 17 AOSP is reported at 1,084 Git projects, 1.62 million files and 161 GB of source. Typical trees that include vendor code are 2 to 3 times larger, and new branches or short-lived agent sessions can repeat builds that take more than an hour. Google says it is open-sourcing ABFS so developers, Android partners and other large-repository projects can benefit from its internal work.

Android teams already have alternatives for each half of the problem. For build reuse, Soong's own documentation describes a Remote Build Execution path through reclient that distributes eligible actions and shares a central cache. For checkout size, Git's `--filter=blob:none` partial clone and `--sparse` checkout defer file contents with no extra infrastructure. They do not reuse compiled outputs, and sparse checkout means maintaining a list of paths.

Others have reached similar designs for fleet and agent workloads. Anthropic's engineering blog describes a source-control client whose node-level daemon stores objects for every job on a machine. Perplexity's SPACE sandbox project records build passes as content-addressed markers and caches toolchain stages in a shared registry. A cost-reduction write-up on OpenClaw CI by Vincent Koc warns that a configured cache is not necessarily a useful one: you have to check the restore result and match reused outputs to the toolchain and platform.

On adoption, the GoogleCloudPlatform Horizon-SDV 2.0.0 release notes describe integrating ABFS into its AOSP build workflows, and they say users must join an ABFS Early Access Program and obtain a license string.

## Trend signal

ABFS belongs to a long line of tools that declare everything up front and materialize only what gets touched: Git partial clone, virtualized monorepo filesystems, and remote build caches. The new pressure is agents and ephemeral workspaces. A human developer pays the full-checkout cost once per machine. A fleet of agent sessions pays it every time a sandbox starts. Google applies the same logic inside the model with Gemini API tool retrieval, which its docs say keeps the active tool set small by loading tool schemas on demand.

The recurring lesson from this line of tools is that the two halves age differently. Lazy source access is mostly a client and protocol problem, and it degrades gracefully: a cold store is slower, but it is still correct. Shared build reuse is an operations problem. Hit rates depend on hermetic builds, matching toolchains and someone keeping the cache warm, and a cold or mismatched cache sends you straight back to a full build. Our read is that ABFS's published gains mix the two, so a team's actual payoff depends on which half it can run.

## Why now

1) Repository scale. According to Google's Developers Blog, AOSP is reported at 161 GB and 1.62 million files, and vendor trees are 2 to 3 times larger, so eager checkouts per branch no longer scale (d3, d1). 2) Ephemeral and agent workloads. Google cites new branches and short-lived agent sessions that repeat builds of more than an hour, and Anthropic and Perplexity describe node-level or content-addressed caching for similar fleet workloads (d3, d10, d2). 3) Partner distribution. Google frames the release as a way for Android partners to benefit, and the first visible integration arrives through a Google Cloud automotive project, Horizon-SDV (d3, d14). 4) Mature building blocks. The Git object model and Soong's existing Remote Execution API support make a content-addressed layer feasible to bolt onto today's Android builds without replacing Soong or Ninja (primary repo, d7).

## Connections to other events

What ABFS promises in a demo and what a team gets in daily use separate along that same line.

What looks solid: near-instant mounts and on-demand file fetching follow directly from the content-addressed design. They should reduce checkout time and disk use for any team that can run the kernel module and a source object store. The reasoning is sound and close to what partial clone and virtual filesystems already proved elsewhere.

What looks conditional: the large build-time wins. The Ninja-go backend only skips work when an identical action result already sits in the shared cache. Google's tested workflows ran against Google's own populated cache. For an outside team, the first build of each new branch, toolchain bump or configuration is a cold build, and the speedup depends on a CI job filling the cache ahead of developers.

What the record does and does not show about self-hosting: the cas, store and cache-manager components are in the open repository, which is the strongest evidence that a team could run the whole service itself. Against that, the setup commits show early friction (direct server push, a forced ref format, systemd fixes), and the only named production integration is gated behind an early-access license. None of this proves ABFS needs a Google-hosted service. It does mean no one outside Google has yet shown a warm, license-free deployment, and the headline numbers should not be credited to the open code alone until someone does.

## Why it matters

For Android OEMs and large-monorepo teams, judge the two mechanisms separately. Demand-loaded checkout is the low-risk half: try it, and compare it with Git partial clone and sparse checkout, which already cover part of that benefit with no kernel module. Build reuse is the half to price. It needs a store, a CI job that populates it, hermetic toolchain pinning and telemetry on hit rates, and Soong plus reclient against a central cache already offers a documented path to the same benefit.

For buyers, ask the vendor or partner exactly what an ABFS license string unlocks: the software, a hosted cache, support, or nothing beyond early access. That answer, more than any benchmark, determines whether the open repository is enough.

The strongest counter-argument: the server-side components are open, so the self-hosting question is just ordinary remote-cache work that platform teams already know, and gated early access is normal for a two-month-old release. That is a fair point, and it may turn out right. Our answer is narrower than "you will depend on Google." The available record doesn't yet separate the open code's gains from the gains of Google's operated cache, so teams should measure that gap themselves before committing.

## What happens next

- **Google will cut a second tagged release of ABFS within three months, showing the open code is maintained beyond the initial drop.** (3 months, 40%). Watch for: A new entry appears on the google/abfs tags page or GitHub releases page after the single existing tag. Resolves on 2027-02-28, yes if: The google/abfs GitHub repository tags page lists 2 or more tags on 2027-02-28.
- **Active development on the open repository will continue, with google/abfs main passing 40 commits within three months.** (3 months, 50%). Watch for: The commit count on the google/abfs main branch history page rises above its current 24 as fixes and docs land. Resolves on 2027-02-28, yes if: The google/abfs GitHub repository main branch commit history shows more than 40 commits on 2027-02-28.
- **ABFS use in Horizon-SDV will still be gated by an Early Access Program or license string in six months.** (6 months, 60%). Watch for: Horizon-SDV release notes published after 2.0.0 keep mentioning the ABFS Early Access Program or a license string. Resolves on 2027-05-28, yes if: The newest release notes in the GoogleCloudPlatform/horizon-sdv GitHub repository on 2027-05-28 mention an ABFS Early Access Program or license string requirement.

## Limits and uncertainty

We have not run ABFS. Google's published measurements come from its own workflows with a populated cache, and no independent cold-cache or self-hosted results have been published. The terms of the ABFS Early Access Program are undisclosed: the license string might cover only pre-release support, or it might cover a hosted service. Horizon-SDV is one integration, not a picture of OEM adoption, and its gate may be specific to that project. Kernel module portability across distributions and kernel versions is undocumented. The repository could gain a complete self-hosting guide at any time, which would settle the open question in favour of easy self-hosting. Our grouping of ABFS with Gemini tool retrieval is an analogy. Google does not present them as one strategy.

## Competing readings

- **ABFS's headline build gains are warm-cache results. Demand-loaded checkout should travel to any team, but whether outside teams can run a warm, license-free build cache is unestablished, so the open code alone should not be credited with the full speedups** (likely, about 60%). What would tell it apart: Build reuse works only when a matching content hash already sits in a shared cache, unlike lazy file access ([github.com](https://github.com/google/abfs))([developers.googleblog.com](https://developers.googleblog.com/accelerating-development-for-massive-git-repositories)); Open server components coexist with early setup friction and no published outside deployment ([github.com](https://github.com/google/abfs)).
- **Self-hosting the full stack is already practical: the open cas, store and cache-manager components plus a CI job that populates the cache give outside teams most of Google's gains, and the license gate is incidental** (unlikely, about 28%). What would tell it apart: The repository ships storage and build-reuse components, not just a filesystem client ([github.com](https://github.com/google/abfs)).
- **The open repository is effectively a client for a Google- or partner-operated cache, and the license-gated service is the real product** (very unlikely, about 12%). What would tell it apart: Setup centres on pushing to a server, and the only named integration requires a license string ([github.com](https://github.com/google/abfs)).

## Base rate

Of 10 earlier release stories about the same companies or product lines in the New Runtime archive over the last 12 months that are at least 3 months old, 10 (100%) were followed within 3 months by a access-change or pricing story on the same company or product line. In New Runtime's archive, 10 of 10 earlier release stories on the same company lines were followed within 3 months by an access or pricing story. Those lines are mostly consumer Gemini products, so this is a thin, nonspecific prior that Google terms move often, not evidence about ABFS licensing or tool retrieval's preview status.

## What would change this view

- The google/abfs docs publish a complete license-free guide for running a warm cache yourself, and an outside team reports cold and warm benchmarks from its own deployment (open-source signal): Self-hosting is practical and the gains belong to the open code, not to an operated service.
- Horizon-SDV release notes drop the ABFS Early Access Program and license-string requirement (pricing signal): The gate was a young-project formality, not a hosted-service boundary.
- Google publishes cold-cache ABFS build numbers close to its warm-cache results (signal): Lazy loading, not shared reuse, drives most of the speedup, and cache operation matters less.

## Skill to build now

Learn to measure cache dependence, not just cache speed. First exercise this week: pick a large repository you build regularly with any shared or remote cache (reclient, Bazel remote cache, ccache or sccache). Do three clean builds: cache warm from a CI run of the same commit, cache flushed, and cache unreachable. For each run, record the hit and miss counts from the build tool's logs, the bytes fetched, and the wall-clock time. Then change one toolchain flag and rebuild warm, to see how quickly hit rates collapse when inputs drift. The gap between the warm and unreachable runs is the share of your build speed that depends on whoever operates the cache, and it is the number to ask for in any ABFS evaluation.

## Reader takeaway

Before adopting ABFS, run a controlled benchmark on one real branch with three cache states: warm (the cache populated by a prior CI build of the same revision), cold (the cache empty), and offline (the cache server unreachable after mount). Run the same branch through Git partial clone plus Soong/reclient against a cache you host yourself. Record actual cache telemetry, not just wall-clock time: hits and misses from the build logs (ABFS's Ninja-go backend writes `out/.ninja_log`), bytes fetched, and time to first compile. If ABFS wins only in the warm state, its value to you depends on who keeps that cache warm, so settle that before rolling out the kernel module.

## Open question

Once the cas, store and cache-manager code is public, is the early-access license in Horizon-SDV just a temporary gate on a young project, or is a Google-operated warm cache where most of ABFS's build-time value will sit?

## Sources

- [ABFS: Another Build File Service](https://github.com/google/abfs)

- [We’re updating controls in the Gemini app.](https://blog.google/innovation-and-ai/products/gemini-app/updated-controls)

- [Ask Maps is coming to Europe.](https://blog.google/products-and-platforms/products/maps/ask-maps-is-coming-to-europe)

- [Tool retrieval](https://aistudio.google.com/docs/tool-retrieval)

- [Accelerating development for massive Git repositories](https://developers.googleblog.com/en/accelerating-development-for-massive-git-repositories/)

- [Introducing Tool Retrieval in the Gemini API](https://blog.google/innovation-and-ai/technology/developers-tools/gemini-api-tool-retrieval/)

- [Build Android Platform on Remote Build Execution](https://android.googlesource.com/platform/build/soong/%2Bshow/2da72af53ad5547b6eac0f362b1f6d08c1348e58/docs/rbe.md)

- [Git clone documentation](https://git-scm.com/docs/git-clone/)

- [CASFS — GitHub](https://github.com/google/abfs-casfs)

- [Release notes 2.0.0 — GoogleCloudPlatform/horizon-sdv](https://github.com/GoogleCloudPlatform/horizon-sdv/blob/main/docs/extended-release-notes/release-notes-2-0-0.md)

Author: [Andrey Reshetnikov](https://newruntime.com/owner-profile.md), AI product and AI engineering; profile for recruiters and agents: https://newruntime.com/owner-profile.json

## Continue in the graph

Next records for an agent, linked to their Markdown twins. Replace `.md` with `.json` for structured fields, including `next_reads`.

- topic hub: [Google](https://newruntime.com/topics/google.md): Explore the google topic hub.
- topic hub: [Tools](https://newruntime.com/topics/tools.md): Explore the tools topic hub.
- collection: [Analysis](https://newruntime.com/analysis.json): Open the latest authorial analysis.
- collection: [Sources](https://newruntime.com/sources/): See the original sources this archive cites.
- whole graph: [discovery graph](https://newruntime.com/discovery-graph.json) (typed nodes and edges) and [site index](https://newruntime.com/site-index.md)
