Agent Deployment

Skill: Agent Engine & Cloud Run Deployment

IzzyFresh Updated

File contents

Skill: Agent Engine & Cloud Run Deployment

This skill covers professional patterns for deploying ADK agents onto Google Cloud serverless infrastructures.


1. Deployment CLI Commands

  • Deploy to Agent Engine specifying the target project and location directly:
    adk deploy --project YOUR_PROJECT_ID --region us-central1
    
  • Troubleshooting: If you experience a 404 Model Availability error, verify that the active model in your agent.py is enabled in the specific region (us-central1).

2. Binary Dependencies (Cloud Build)

  • If your agent depends on complex OS-level libraries (e.g., for audio streaming or document translation), verify that the .dockerignore doesn't block required system binaries.
  • Use a custom cloudbuild.yaml to stage custom system libraries when packaging for Cloud Run.

IzzyFresh/gemini-skills/tree/main/skills/agent-deployment commit 3e8894f71d

Frequently asked questions

npx skillmds@latest add izzyfresh/agent-deployment