Back to Prompt Library
planning

Initialize Google ADK Agent and Gemini 2.5 Pro

Inspect the original prompt language first, then copy or adapt it once you know how it fits your workflow.

Linked challenge: Real-time Voice-Enabled Enterprise Intelligence Agent

Format
Code-aware
Lines
8
Sections
4
Linked challenge
Real-time Voice-Enabled Enterprise Intelligence Agent

Prompt source

Original prompt text with formatting preserved for inspection.

8 lines
4 sections
No variables
1 code block
Set up a new Google ADK project. Initialize your agent to use Gemini 2.5 Pro. Define a basic `welcome` intent to confirm the agent is running. Ensure you have the necessary Google Cloud credentials configured.

```python
from google.generativeai.vertexai import agents_v1beta as agents
import vertexai

vertexai.init(project='your-gcp-project', location='us-central1')

# Initialize your agent with Gemini 2.5 Pro
# ...
```

Adaptation plan

Keep the source stable, then change the prompt in a predictable order so the next run is easier to evaluate.

Keep stable

Preserve the role framing, objective, and reporting structure so comparison runs stay coherent.

Tune next

Swap in your own domain constraints, anomaly thresholds, and examples before you branch variants.

Verify after

Check whether the prompt asks for the right evidence, confidence signal, and escalation path.