Skip to main content
Ground the Deep Research agent on your own documents. Create a File Search store, upload documents, then pass the store name to file_search_store_names. The agent searches that store alongside the public web. In production, create and populate the store once offline and reference it by name at query time.

Code

cookbook/90_models/google/gemini_interactions/deep_research_file_search.py

Usage

1

Set up your virtual environment

2

Set your API key

3

Install dependencies

4

Run Agent