Agent memoryContext and memory
Google's Agent Retrieval now turns a bucket of files into cited search results
A guide on Google's developer blog, dated 24 November, shows managed ingestion and SearchDocuments in Agent Retrieval. A data store pointed at Cloud Storage parses, splits and indexes PDFs, Office files and videos, and one search call returns cited pages or timestamps. Reranking and audio search improved results in Google's own tests.
An agent that answers from a company's documents works like a researcher with a filing cabinet: it needs to find the right page fast and say where the answer came from. Building that cabinet usually means writing parsers for each file type, splitting files into chunks, turning the chunks into embeddings, storing them with a schema and learning how to query them. Google's Agent Retrieval, formerly called Vector Search 2.0, already offered semantic, text and hybrid search over collections, but teams had to produce the stored objects themselves.
The guide, posted on 24 November, shows two pieces that remove that work. Managed ingestion lets a data store point at files in Cloud Storage, by a pattern such as a folder of PDFs or by a list that sets document IDs and metadata. It reads PDF, Word, PowerPoint, Excel and text files, and video formats such as MP4, MOV, WebM and MKV, and handles the parsing, splitting, embedding and storage itself. SearchDocuments then takes only a data store and a question, and runs semantic and full-text search together for documents.
Results are pages or chunks, not whole files, and several can come from the same document. Each one carries the source file's address and a page range, or a start and end time for video, which is what lets an agent cite exactly where an answer came from. Filters narrow a search to matching metadata or to chosen documents. In Google's test, asking what the CEO said about AI, filtered to first pages, returned the CEO's quotes from five different earnings releases.
A single setting turns on reranking, which fetches more candidates than needed and reorders them with Google's Ranking API. The guide shows why it matters. Asked how many employees Alphabet has, plain hybrid search put two balance sheet pages in its top five, though neither mentions employees. With reranking on, every top result reported the headcount, from the annual report and from a row in the quarterly tables. Reranking works only for documents, not video.
Video goes through the same steps. The service splits each video into fixed windows, 30 seconds by default, and indexes each window, so a search returns a moment rather than a file. Across five sample videos of about 19 minutes in total, a search for cucumbers being sorted by a machine found the right 20 seconds without any tags or captions, and searches returned in under half a second. With audio mode on, the soundtrack is indexed with the frames, and only that store found what a keynote speaker said while the picture showed the speaker.
The guide is frank about running costs. Importing the five videos into two data stores took 20 to 45 minutes, and the guide advises one import at a time per data store. Managed ingestion has no separate charge during the preview, with billing to start at general release, while the collection behind each data store is billed at normal Agent Retrieval prices. Deleting a data store without the right two flags leaves that collection behind and still billed, and deletion took about 20 minutes in Google's tests.
The preview has limits. It runs only in the us-east4 and europe-west4 regions, the data store and search calls are a beta web API with Python support planned, and the service needs permission to read the bucket. The guide's rule of thumb is to let a data store handle files and drop down to the collection only when more control is needed. For agent memory built on documents, the gain is a search tool that always says where an answer came from.
