Google ADK (gateway)
Route Google ADK model calls through the Respan gateway to use models and provider credentials configured in Respan. The gateway setup uses RESPAN_API_KEY for the model request path.
Paste this into your coding agent:
Help me set up the Respan gateway with the Google ADK integration.
Follow https://www.respan.ai/docs/integrations/gateway/google-adk.mdSetup
Install packages
pip install "google-adk[extensions]"Set environment variables
export RESPAN_API_KEY="YOUR_RESPAN_API_KEY"No provider credentials are needed in your application when the request is routed through the Respan gateway.
Point ADK to the Respan gateway
import os
from google.adk.agents import Agent
from google.adk.models.lite_llm import LiteLlm
agent = Agent(
name="assistant",
model=LiteLlm(
model="gpt-5-mini",
api_key=os.environ["RESPAN_API_KEY"],
api_base="https://gateway.respan.ai",
),
instruction="You are a concise assistant.",
)Switch models
Change the configured model to another model available through your Respan account.
agent = Agent(
name="assistant",
model=LiteLlm(
model="gpt-5.5",
api_key=os.environ["RESPAN_API_KEY"],
api_base="https://gateway.respan.ai",
),
)See the full model list .