Deploy to Google Cloud
Before you start
Section titled “Before you start”- 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.
Your agent.yaml
Section titled “Your agent.yaml”name: my-agentversion: 1.0.0cloud: gcpregion: us-central1strategy: 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.comDeploy
Section titled “Deploy”agent-platform deployThe 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.