Technical requirements
You need to enable Vertex AI Search API on your Google Cloud project and install the following libraries:
pip install langchain-google-vertexai langchain-google-community[search] langgraph
To use Google Search with the LLM, you also need to create your own programmable search engine here: https://programmablesearchengine.google.com/about/. Follow the instructions on the LangChain documentation page: https://python.langchain.com/v0.2/docs/integrations/tools/google_search/.