Skip to content

Deploy to Google Cloud

  • A cloud account for Google Cloud (service account JSON key).
  • On your machine, gcloud auth application-default login, and the Cloud Run, Artifact Registry, Cloud Build and Secret Manager APIs enabled in the project.
name: my-agent
version: 1.0.0
cloud: gcp
region: us-central1
strategy: serverless # scale to zero; or containers (always on)
source: { type: local, path: . }
resources: { memory: 512Mi, cpu: 1 }
permissions: []
secrets: [OPENAI_API_KEY]
networking: { public: true }
cloudOptions:
gcpProjectId: my-project # optional; detected from your local credentials
artifactRegistryRepo: my-agents # optional; derived from the agent name
minInstances: 0
maxInstances: 5
concurrency: 80
# vpcConnector: my-connector
# customDomain: agent.example.com
Terminal window
agent-platform deploy

The CLI builds with Cloud Build into Artifact Registry, then AbstractAI creates the Cloud Run service, with secrets from Secret Manager and logs in Cloud Logging.