Google ADK Integration
Google ADK logo

Google ADK

Google's Agent Development Kit - Code-first Python toolkit optimized for Gemini models with built-in evaluation framework.

Gemini 2.0 Flash Integration
FREE API Tier Available!
Cloud Run / Vertex AI Deployment

🎯 What is Google ADK?

Google's official framework for building AI agents optimized for Gemini models

Gemini 2.0 Flash

Google's latest, fastest model - FREE tier!

Production Deployment

Cloud Run & Vertex AI ready

Built-in Evaluation

Native evaluation framework

Context Caching

Performance optimization

GEPA Optimization

Optimize agent instructions

A2A Protocol

Agent-to-Agent communication

📦 Prerequisites

1. Install SuperOptiX with Google ADK

uv tool install superoptix --with "superoptix[frameworks-google]"
Includes: google-adk 2.7+, SuperOptiX core with GEPA 0.1.4

2. Get a Google API Key (FREE!)

1. Visit Google AI Studio

2. Create a free API key

3. Set environment variable:

export GOOGLE_API_KEY="your-api-key-here"

🚀 Quick Start

1

Pull Demo Agent

super agent pull assistant_adk
2

Compile

super agent compile assistant_adk --framework google-adk
3

Evaluate

export GOOGLE_API_KEY="your-key"  # Required!
super agent evaluate assistant_adk
4

Optimize

super agent compile assistant_adk --framework google-adk --optimize
super agent optimize assistant_adk --auto light --framework google-adk
5

Run

super agent run assistant_adk --framework google-adk --goal "What is AI?"

⚙️ Model Configuration

⭐ Recommended

gemini-2.0-flash

Latest, fastest, FREE tier!

Complex tasks

gemini-1.5-pro

More capable, longer context

Simple tasks

gemini-1.5-flash

Fast, efficient

Example Configuration

spec:
  target_framework: google-adk
  language_model:
    provider: google
    model: gemini-2.0-flash  # Free tier!
  persona:
    instructions: |
      You are a helpful AI assistant powered by Google's Gemini.

🎯 What GEPA Optimizes

Primary Target: Instruction

GEPA optimizes the instruction field - the system prompt guiding agent behavior.

Note: Google ADK has 1 optimizable variable like OpenAI SDK (unlike CrewAI with 5 or DSPy with 10+)

Expected Improvement

Baseline 70-80%→ 85-92% (+15-20%)
Baseline 80-90%→ 90-95% (+10-15%)
Baseline 90-95%→ 93-98% (+3-8%)

Example Optimization Transformation

Before Optimization:

You are a helpful assistant.

After GEPA:

You are an expert AI assistant specialized in providing accurate responses...
Your goal is: Deliver comprehensive answers that are:
- Factually accurate and up-to-date
- Well-structured and easy to understand
- Backed by reasoning and examples...

Google ADK vs Other Frameworks

FeatureDSPyOpenAI SDKCrewAIGoogle ADK
Local Models❌ Cloud only
Free TierN/AN/AN/AGemini Free!
Multi-AgentHandoffsSequential/Parallel
Built-in EvaluationDSPyNative
Production DeployDIYDIYDIYCloud Run/Vertex
Best ForPromptsSimpleTeamsGoogle Ecosystem

Best for:

  • Google Cloud deployments
  • Gemini models (state-of-the-art!)
  • Production enterprise systems
  • Built-in evaluation needs
  • Agent-to-Agent (A2A) protocol

❌ Not ideal for:

  • Local-only development (needs API key)
  • Ollama/open-source models (use DSPy or OpenAI SDK)
  • Cost-sensitive prototyping (beyond free tier)

Ready to Build with Google Gemini?

Start building AI agents with Google's state-of-the-art Gemini models - FREE tier available!