English

CAG: Chunked Augmented Generation for Google Chrome's Built-in Gemini Nano

Artificial Intelligence 2025-10-07 v1 Computation and Language Human-Computer Interaction Information Retrieval

Abstract

We present Chunked Augmented Generation (CAG), an architecture specifically designed to overcome the context window limitations of Google Chrome's built-in Gemini Nano model. While Chrome's integration of Gemini Nano represents a significant advancement in bringing AI capabilities directly to the browser, its restricted context window poses challenges for processing large inputs. CAG addresses this limitation through intelligent input chunking and processing strategies, enabling efficient handling of extensive content while maintaining the model's performance within browser constraints. Our implementation demonstrates particular efficacy in processing large documents and datasets directly within Chrome, making sophisticated AI capabilities accessible through the browser without external API dependencies. Get started now at https://github.com/vivekVells/cag-js.

Cite

@article{arxiv.2412.18708,
  title  = {CAG: Chunked Augmented Generation for Google Chrome's Built-in Gemini Nano},
  author = {Vivek Vellaiyappan Surulimuthu and Aditya Karnam Gururaj Rao},
  journal= {arXiv preprint arXiv:2412.18708},
  year   = {2025}
}

Comments

36 pages, 19 figures

R2 v1 2026-06-28T20:48:28.270Z