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

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

24 Dec 2024arXiv:2412.18708archive 2025-07-28

Vivek Vellaiyappan Surulimuthu, Aditya Karnam Gururaj Rao

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.

PaperPDFCode

Code

vivekvells/cag-js officialmentioned in paper report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

Not run by Syntology. Nothing on this page verifies that the listed code works.

Tasks

Chunking

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

CAGHeatmap

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections