Back to Prompt Library
planning
Initialize Google ADK Agent System
Inspect the original prompt language first, then copy or adapt it once you know how it fits your workflow.
Linked challenge: GenAI Unit Launch Strategy with Google ADK Agents and Claude 4 Opus
Format
Code-aware
Lines
13
Sections
1
Linked challenge
GenAI Unit Launch Strategy with Google ADK Agents and Claude 4 Opus
Prompt source
Original prompt text with formatting preserved for inspection.
13 lines
1 sections
No variables
1 code block
Using Google ADK, define a 'Product Strategist' agent, a 'Market Analyst' agent, and a 'Creative Lead' agent. The Strategist should use Gemini 3 Flash, the Analyst Gemini 3 Flash, and the Creative Lead Claude 4 Opus. Assign basic goals and initial tools to each, such as a simulated market data access tool for the Analyst and a text-to-text generation tool for the Creative Lead. Use the following structure to initialize your agents: ```python
from google.generativeai.client import get_default_agent_client
from google.generativeai.types import FunctionDeclaration, Tool
import google.generativeai as genai genai.configure(api_key='YOUR_API_KEY') # Define tools
market_data_tool = FunctionDeclaration( name='get_market_trends', description='Retrieves current market trends for a given product niche.', parameters={'type': 'object', 'properties': {'niche': {'type': 'string'}}}, is_core=True
) creative_gen_tool = FunctionDeclaration( name='generate_marketing_copy', description='Generates marketing text based on product features and tone.', parameters={'type': 'object', 'properties': {'features': {'type': 'array', 'items': {'type': 'string'}}, 'tone': {'type': 'string'}}}, is_core=True
) # Initialize agents
product_strategist = get_default_agent_client( model='models/gemini-3-flash', tools=[Tool(function_declarations=[market_data_tool])], display_name='Product Strategist', instructions='You are responsible for overall product strategy and decision-making.'
) market_analyst = get_default_agent_client( model='models/gemini-3-flash', tools=[Tool(function_declarations=[market_data_tool])], display_name='Market Analyst', instructions='Your role is to research market trends and provide data-driven insights.'
) creative_lead = get_default_agent_client( model='models/claude-4-opus', tools=[Tool(function_declarations=[creative_gen_tool])], display_name='Creative Lead', instructions='You generate compelling marketing copy and creative content.'
)
# ... more agent definitions and interactions ...
```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.