Vertex AI RAG — Setup
Quick checklist to get a Vertex-AI-based RAG agent running locally.
1. Create a GCP project
- Vertex AI is the AI suite for Google Cloud.
- Enable all recommended APIs in the new project.
2. Install Google Cloud CLI
- The CLI lets your computer talk to Vertex AI in the cloud.
- Run Google’s installation script.
- Initialise Google Cloud (
gcloud init). - Best location to pick:
us-central1.
3. Virtual environment
(Same as ADK-Basics-and-Setup — python -m venv .venv && source .venv/bin/activate.)
4. Install dependencies
pip install -r requirements.txt5. Check .env file
Make sure project-id, location, and any Google Drive / GCS creds are set.
See next
- Vertex-AI-RAG-Agent — the actual agent code
- Vertex-AI-RAG-Tools — the tool implementations