Start-up - Export the env file's variables for other libraries (the Cloud provider's client) into the process environment; the app's own settings and secrets are never exported, and a value already in the environment wins. - Use GOOGLE_GENAI_USE_ENTERPRISE in place of the deprecated GOOGLE_GENAI_USE_VERTEXAI. Target architect - Look each distinct resource type up once instead of once per setting: in the run of 2026-10-07 it made 39 lookups for 8 types and exhausted its budget. terraform_schema's find takes several names; budget 30 to 45. - A cut-off schema outline says so. Removed, as leftovers of the original pipeline that nothing read - terraform/ (no longer passed terraform validate), scripts/validate.sh, tests/test_package.py and the CI steps that ran on them. - The sample outputs under docs/ and requirements.yaml. - CI now pins Terraform 1.14.3, as the container image does. Plans record the case 01 run: completed at 100% in 18 minutes with no Revision, against 60 minutes and warnings before. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
70 lines
2.4 KiB
Plaintext
70 lines
2.4 KiB
Plaintext
# GCP Solution Architecture Agent Environment Variables
|
|
|
|
# Agent Identity
|
|
AGENT_NAME=gcp_solution_architecture_agent
|
|
AGENT_VERSION=1.0.0
|
|
LOG_LEVEL=INFO
|
|
|
|
# A2A server (python -m app.main). The container image sets A2A_PORT=8080.
|
|
A2A_HOST=0.0.0.0
|
|
A2A_PORT=8000
|
|
# A2A_PUBLIC_URL=https://agents.example.com/solution-architect
|
|
|
|
# Models (providers/<name>.yaml): gemini/<model> uses ADK's native Gemini client.
|
|
# These are read by Google's client, not by this app's settings. The app exports them
|
|
# from this file at start-up; a value already set in the environment wins.
|
|
# Vertex AI with Application Default Credentials:
|
|
# GOOGLE_GENAI_USE_ENTERPRISE=true
|
|
# GOOGLE_CLOUD_PROJECT=your-project-id
|
|
# GOOGLE_CLOUD_LOCATION=global
|
|
# GOOGLE_APPLICATION_CREDENTIALS=/app/credentials/adc.json
|
|
# Or the Gemini API: GOOGLE_API_KEY=...
|
|
MODEL_TIMEOUT_SECONDS=180
|
|
|
|
# Cloud Provider Bundle (providers/<name>.yaml) & Remote MCP Servers
|
|
CLOUD_PROVIDER=gcp
|
|
MCP_ENABLED=true
|
|
MCP_ENABLE_PREVIEW=true
|
|
# MCP_QUOTA_PROJECT=your-project-id # defaults to the Application Default Credentials project
|
|
MCP_TIMEOUT_SECONDS=30
|
|
|
|
# Local Terraform tools (fmt, validate, plan; never apply)
|
|
TERRAFORM_BINARY=terraform
|
|
TERRAFORM_TIMEOUT_SECONDS=300
|
|
# Terraform providers are cached here so each check does not download them again.
|
|
# Relative to the repository root; set it empty to disable.
|
|
TF_PLUGIN_CACHE_DIR=.cache/terraform-plugins
|
|
|
|
# Hierarchical Execution Engine
|
|
ORCHESTRATOR=router # router | model
|
|
ORCHESTRATOR_BUDGET=40
|
|
SPECIALIST_BUDGET=15
|
|
MAX_REVISIONS=3
|
|
MAX_ORCHESTRATOR_TURNS=100
|
|
MAX_PARALLEL_SPECIALISTS=4
|
|
CHECKPOINTER=sqlite
|
|
CHECKPOINT_DB_PATH=checkpoints.db
|
|
|
|
# Jev decision service, through the TypeSafe AI Python SDK (typesafe-sdk).
|
|
# Leave the key unset to run without it: every decision then takes its fallback.
|
|
# TYPESAFE_API_KEY=
|
|
# TYPESAFE_BASE_URL= # defaults to the SDK's endpoint
|
|
# TYPESAFE_DEFAULT_MODEL= # defaults to the SDK's model
|
|
JEV_TIMEOUT_SECONDS=5
|
|
JEV_REQUESTS_PER_SECOND=5
|
|
JEV_MAX_IN_FLIGHT=8
|
|
JEV_BUDGET_CALLS=500
|
|
JEV_BUDGET_TOKENS=1000000
|
|
JEV_ACT_THRESHOLD=0.75
|
|
JEV_CLOSE_THRESHOLD=0.15
|
|
JEV_CONFIDENCE_THRESHOLD=0.6
|
|
|
|
# PostgreSQL (Execution records, and checkpoints when CHECKPOINTER=postgres)
|
|
POSTGRES_HOST=localhost
|
|
POSTGRES_PORT=5432
|
|
POSTGRES_DB=gcp_agent_db
|
|
POSTGRES_USER=postgres
|
|
POSTGRES_PASSWORD=postgres
|
|
# DATABASE_URL=postgresql://postgres:postgres@localhost:5432/gcp_agent_db
|
|
SQLITE_FALLBACK_DB=gcp_agent_local.db
|