# Gemini research pipeline: local Vertex AI edition This is an Agent Setup Kits packaging adaptation of Google LLC's deep-search recipe. It selects the unmodified Python backend and the upstream frozen dependency lock. It omits the custom React frontend, mutable bootstrap, Makefile targets, and cloud deployment scaffolding. The ADK development UI is the local interface. ## Included source google/adk-recipes commit 9252494a7aaafca8fe4d81a04f15392345a5779b, core/python/deep-search. The archive contains app/__init__.py, app/agent.py, app/config.py, pyproject.toml, uv.lock, the upstream Apache-2.0 LICENSE, a source checksum manifest, and these authored instructions. Original code and copyright headers are unchanged. The package selection and installation instructions are adaptations. ## Prerequisites and pins Linux local development environment, already installed CPython 3.12.12 and uv 0.13.1. The upstream project permits Python >=3.11,<3.13; this edition selects one interpreter version for reproducibility. Other operating systems have not been reviewed for this edition. The lock selects google-adk 2.9.0 and python-dotenv 1.2.3 with hashed Python distribution files. Frozen sync must retain the complete upstream uv.lock. Do not update the lock implicitly. Requires an existing Google Cloud project, permitted Vertex AI model access, and existing application-default credentials. Account, key, project, service or paid-plan creation is not part of this kit. If these prerequisites are absent, stop. Model availability and pricing are unknown in this source review. No credentials are shipped. ## Inspect first Compare the downloaded archive SHA-256 against its checksum file. Inspect source code, uv.lock, LICENSE, UPSTREAM-MANIFEST.json and the environment example before installing. Use an isolated local environment with access only to the intended existing Google credentials. Do not put customer secrets in prompts. This is not a sandbox implementation or a security audit. ## Install, when authorized in your environment From the extracted kit directory, check the preinstalled versions: ```sh python3.12 --version uv --version ``` Require Python 3.12.12 and uv 0.13.1. If they differ, stop and review compatibility; these instructions do not install either tool. Install only locked runtime dependencies, without cloud scaffolding or project build hooks: ```sh UV_PYTHON_DOWNLOADS=never uv sync --frozen --no-dev --no-install-project --python python3.12 ``` No third-party setup was executed during source review. This install command is derived from uv's frozen synchronization interface and the inspected lock. Its runtime result remains unverified. Copy setup.env.example to .env at the kit root and replace only the project placeholder with an existing authorized project identifier. Keep .env out of version control. The source root entry point loads root .env and requires application-default credentials; this edition supports Vertex AI, not the conflicting AI Studio README path. Do not set GOOGLE_API_KEY for this edition. ## Start locally ```sh .venv/bin/adk web . --host 127.0.0.1 --port 8501 ``` The web command and host/port options were inspected in the google-adk 2.9.0 CLI source. Open http://127.0.0.1:8501 locally and select app. Do not expose the development UI to a public network. Starting the UI may initialize local state; sending a topic can invoke provider and Google Search calls and incur charges. No calls were made in this review. Propose a topic, inspect the plan, and explicitly approve it only when intended. Approval is a model prompt instruction, not a deterministic permission barrier. The plan generator can use search for clarification before full research approval. ## Behavior and limits The section researcher gathers grounded results. The critic checks coverage, but explicitly does not question the topic's premise. The refinement loop has max_iterations=5; that does not impose a global token or cost cap. A report composer replaces source IDs with citation links. Citations are not a guarantee of factual accuracy. Session state includes the plan, findings, evaluation and source maps. Persistence and cross-restart behavior were not tested. Existing credentials authorize external model/search access; no arbitrary-shell tool is declared in the reviewed agent code. Dependency internals were not exhaustively security audited. ## Stop and inspect Use Ctrl+C in the ADK terminal to stop the local process. Review any local session/artifact files before sharing or cleaning them. No cleanup or deletion command is included. Credential revocation and provider budget controls belong to your existing account's policies. ## License and attribution Upstream source is copyright Google LLC and licensed under Apache-2.0. Preserve LICENSE and the original source headers. This package's selection and instructions were authored by Agent Setup Kits. No endorsement by Google is implied. The source repository had no root NOTICE at the pinned commit.