google-agents-cli 1.3.1__tar.gz → 1.4.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (297) hide show
  1. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/PKG-INFO +3 -3
  2. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/README.md +2 -2
  3. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/pyproject.toml +1 -1
  4. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/skills/google-agents-cli-adk-code/SKILL.md +1 -1
  5. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/skills/google-agents-cli-adk-code/references/adk-python.md +15 -7
  6. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/skills/google-agents-cli-deploy/SKILL.md +41 -12
  7. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/skills/google-agents-cli-deploy/references/agent-runtime.md +3 -3
  8. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/skills/google-agents-cli-deploy/references/cloud-run.md +1 -1
  9. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/skills/google-agents-cli-deploy/references/gke.md +1 -1
  10. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/skills/google-agents-cli-deploy/references/testing-deployed-agents.md +2 -2
  11. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/skills/google-agents-cli-eval/SKILL.md +48 -119
  12. google_agents_cli-1.4.0/skills/google-agents-cli-eval/references/advanced-commands.md +43 -0
  13. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/skills/google-agents-cli-eval/references/dataset_schema.md +13 -16
  14. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/skills/google-agents-cli-eval/references/metrics-guide.md +74 -34
  15. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/skills/google-agents-cli-eval/references/multimodal-eval.md +1 -1
  16. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/skills/google-agents-cli-eval/references/user-simulation.md +4 -10
  17. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/skills/google-agents-cli-observability/SKILL.md +2 -1
  18. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/skills/google-agents-cli-observability/references/cloud-trace-and-logging.md +3 -1
  19. google_agents_cli-1.4.0/skills/google-agents-cli-observability/references/feedback-mechanism.md +90 -0
  20. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/skills/google-agents-cli-publish/SKILL.md +24 -19
  21. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/skills/google-agents-cli-scaffold/SKILL.md +2 -2
  22. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/skills/google-agents-cli-workflow/SKILL.md +5 -5
  23. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/skills/google-agents-cli-workflow/references/commands.md +1 -1
  24. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/_project.py +3 -0
  25. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/_tools.py +2 -0
  26. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/deploy/agent_runtime.py +214 -34
  27. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/deploy/cmd_deploy.py +45 -5
  28. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/dev/cmd_install.py +4 -0
  29. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/eval/_paths.py +1 -1
  30. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/eval/_synthesize_runner.py +5 -5
  31. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/eval/cmd_analyze.py +8 -4
  32. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/eval/cmd_generate.py +3 -3
  33. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/eval/cmd_grade.py +7 -5
  34. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/eval/cmd_metric.py +1 -1
  35. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/eval/cmd_submit.py +8 -6
  36. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/eval/eval_utils.py +87 -4
  37. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/info/cmd_info.py +2 -0
  38. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/infra/cmd_cicd.py +7 -3
  39. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/main.py +1 -4
  40. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/publish/cmd_publish.py +2 -2
  41. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/agents/adk/.template/templateconfig.yaml +1 -1
  42. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/agents/adk/tests/eval/datasets/README.md +11 -4
  43. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/base_templates/_shared/agents-cli-manifest.yaml +1 -0
  44. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/base_templates/_shared/deployment/terraform/cicd/variables.tf +0 -6
  45. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/base_templates/_shared/deployment/terraform/single-project/variables.tf +0 -6
  46. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/base_templates/go/Dockerfile +21 -0
  47. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/base_templates/java/Dockerfile +24 -0
  48. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/base_templates/python/Dockerfile +18 -0
  49. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/base_templates/python/deployment/terraform/cicd/telemetry.tf +1 -26
  50. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/base_templates/python/deployment/terraform/single-project/telemetry.tf +1 -24
  51. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/base_templates/python/pyproject.toml +1 -1
  52. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/base_templates/python/{{cookiecutter.agent_directory}}/app_utils/services.py +3 -3
  53. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/base_templates/python/{{cookiecutter.agent_guidance_filename}} +3 -3
  54. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/base_templates/typescript/Dockerfile +16 -0
  55. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/base_templates/typescript/package-lock.json +6 -6
  56. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/commands/create.py +19 -0
  57. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/commands/enhance.py +25 -5
  58. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/deployment_targets/agent_runtime/python/tests/integration/test_server_e2e.py +0 -15
  59. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/deployment_targets/agent_runtime/python/{{cookiecutter.agent_directory}}/app_utils/reasoning_engine_adapter.py +1 -1
  60. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/deployment_targets/agent_runtime/python/{{cookiecutter.agent_directory}}/fast_api_app.py +0 -20
  61. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/deployment_targets/cloud_run/python/tests/integration/test_server_e2e.py +1 -16
  62. {google_agents_cli-1.3.1/src/google/agents/cli/scaffold/deployment_targets/none → google_agents_cli-1.4.0/src/google/agents/cli/scaffold/deployment_targets/cloud_run}/python/{{cookiecutter.agent_directory}}/fast_api_app.py +0 -20
  63. {google_agents_cli-1.3.1/src/google/agents/cli/scaffold/deployment_targets/none → google_agents_cli-1.4.0/src/google/agents/cli/scaffold/deployment_targets/gke}/python/tests/integration/test_server_e2e.py +1 -16
  64. {google_agents_cli-1.3.1/src/google/agents/cli/scaffold/deployment_targets/cloud_run → google_agents_cli-1.4.0/src/google/agents/cli/scaffold/deployment_targets/gke}/python/{{cookiecutter.agent_directory}}/fast_api_app.py +0 -20
  65. {google_agents_cli-1.3.1/src/google/agents/cli/scaffold/deployment_targets/gke → google_agents_cli-1.4.0/src/google/agents/cli/scaffold/deployment_targets/none}/python/tests/integration/test_server_e2e.py +1 -16
  66. {google_agents_cli-1.3.1/src/google/agents/cli/scaffold/deployment_targets/gke → google_agents_cli-1.4.0/src/google/agents/cli/scaffold/deployment_targets/none}/python/{{cookiecutter.agent_directory}}/fast_api_app.py +0 -20
  67. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/resources/locks/uv-adk-agent_runtime.lock +319 -282
  68. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/resources/locks/uv-adk-cloud_run.lock +316 -279
  69. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/resources/locks/uv-adk-gke.lock +316 -279
  70. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/utils/language.py +33 -25
  71. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/utils/template.py +3 -0
  72. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/utils/upgrade.py +1 -1
  73. google_agents_cli-1.3.1/src/google/agents/cli/scaffold/base_templates/python/{{cookiecutter.agent_directory}}/app_utils/typing.py +0 -34
  74. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/LICENSE +0 -0
  75. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/skills/README.md +0 -0
  76. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/skills/google-agents-cli-adk-code/references/adk-workflows.md +0 -0
  77. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/skills/google-agents-cli-adk-code/references/samples.md +0 -0
  78. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/skills/google-agents-cli-deploy/references/batch-inference.md +0 -0
  79. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/skills/google-agents-cli-deploy/references/cicd-pipeline.md +0 -0
  80. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/skills/google-agents-cli-deploy/references/terraform-patterns.md +0 -0
  81. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/skills/google-agents-cli-eval/references/builtin-tools-eval.md +0 -0
  82. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/skills/google-agents-cli-observability/references/bigquery-agent-analytics.md +0 -0
  83. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/skills/google-agents-cli-scaffold/references/flags.md +0 -0
  84. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/skills/google-agents-cli-workflow/references/brainstorming.md +0 -0
  85. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/skills/google-agents-cli-workflow/references/internals.md +0 -0
  86. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/skills/google-agents-cli-workflow/references/spec-template.md +0 -0
  87. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/skills/google-agents-cli-workflow/references/terminology.md +0 -0
  88. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/__init__.py +0 -0
  89. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/_adk_client.py +0 -0
  90. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/_agent_runtime_a2a.py +0 -0
  91. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/_click.py +0 -0
  92. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/_experiments.py +0 -0
  93. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/_gcp_project.py +0 -0
  94. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/_output.py +0 -0
  95. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/_remote.py +0 -0
  96. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/_runner.py +0 -0
  97. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/_skills_check.py +0 -0
  98. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/_trust.py +0 -0
  99. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/auth.py +0 -0
  100. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/data/__init__.py +0 -0
  101. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/data/_recipe.py +0 -0
  102. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/data/cmd_data_ingestion.py +0 -0
  103. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/deploy/__init__.py +0 -0
  104. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/deploy/_operation.py +0 -0
  105. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/deploy/_utils.py +0 -0
  106. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/dev/__init__.py +0 -0
  107. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/dev/cmd_lint.py +0 -0
  108. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/dev/cmd_playground.py +0 -0
  109. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/eval/__init__.py +0 -0
  110. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/eval/cmd_compare.py +0 -0
  111. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/eval/cmd_dataset.py +0 -0
  112. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/eval/cmd_eval_group.py +0 -0
  113. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/eval/cmd_optimize.py +0 -0
  114. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/eval/cmd_run.py +0 -0
  115. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/eval/optimize_utils.py +0 -0
  116. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/info/__init__.py +0 -0
  117. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/infra/__init__.py +0 -0
  118. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/infra/_cicd_utils.py +0 -0
  119. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/infra/cmd_datastore.py +0 -0
  120. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/infra/cmd_infra.py +0 -0
  121. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/infra/cmd_infra_single_project.py +0 -0
  122. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/publish/__init__.py +0 -0
  123. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/publish/cmd_publish_group.py +0 -0
  124. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/run/__init__.py +0 -0
  125. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/run/_local_server.py +0 -0
  126. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/run/_multimodal.py +0 -0
  127. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/run/cmd_run.py +0 -0
  128. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/__init__.py +0 -0
  129. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/agents/README.md +0 -0
  130. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/agents/adk/README.md +0 -0
  131. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/agents/adk/app/__init__.py +0 -0
  132. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/agents/adk/app/agent.py +0 -0
  133. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/agents/adk/tests/eval/datasets/basic-dataset.json +0 -0
  134. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/agents/adk/tests/eval/eval_config.yaml +0 -0
  135. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/agents/adk/tests/eval/response_quality.py +0 -0
  136. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/agents/adk/tests/integration/test_agent.py +0 -0
  137. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/agents/adk_go/.template/templateconfig.yaml +0 -0
  138. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/agents/adk_go/agent/agent.go +0 -0
  139. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/agents/adk_go/agent/agent_test.go +0 -0
  140. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/agents/adk_java/.template/templateconfig.yaml +0 -0
  141. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/agents/adk_java/src/main/java/{{cookiecutter.java_package_path}}/Agent.java +0 -0
  142. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/agents/adk_java/src/test/java/{{cookiecutter.java_package_path}}/unit/AgentTest.java +0 -0
  143. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/agents/adk_ts/.template/templateconfig.yaml +0 -0
  144. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/agents/adk_ts/app/agent.ts +0 -0
  145. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/agents/adk_ts/tests/integration/agent.test.ts +0 -0
  146. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/base_templates/_shared/deployment/terraform/cicd/apis.tf +0 -0
  147. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/base_templates/_shared/deployment/terraform/cicd/build_triggers.tf +0 -0
  148. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/base_templates/_shared/deployment/terraform/cicd/github.tf +0 -0
  149. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/base_templates/_shared/deployment/terraform/cicd/iam.tf +0 -0
  150. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/base_templates/_shared/deployment/terraform/cicd/locals.tf +0 -0
  151. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/base_templates/_shared/deployment/terraform/cicd/outputs.tf +0 -0
  152. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/base_templates/_shared/deployment/terraform/cicd/providers.tf +0 -0
  153. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/base_templates/_shared/deployment/terraform/cicd/service_accounts.tf +0 -0
  154. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/base_templates/_shared/deployment/terraform/cicd/storage.tf +0 -0
  155. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/base_templates/_shared/deployment/terraform/cicd/vars/env.tfvars +0 -0
  156. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/base_templates/_shared/deployment/terraform/cicd/wif.tf +0 -0
  157. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/base_templates/_shared/deployment/terraform/single-project/apis.tf +0 -0
  158. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/base_templates/_shared/deployment/terraform/single-project/iam.tf +0 -0
  159. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/base_templates/_shared/deployment/terraform/single-project/outputs.tf +0 -0
  160. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/base_templates/_shared/deployment/terraform/single-project/providers.tf +0 -0
  161. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/base_templates/_shared/deployment/terraform/single-project/storage.tf +0 -0
  162. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/base_templates/_shared/deployment/terraform/single-project/vars/env.tfvars +0 -0
  163. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/base_templates/go/.cloudbuild/deploy-to-prod.yaml +0 -0
  164. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/base_templates/go/.cloudbuild/pr_checks.yaml +0 -0
  165. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/base_templates/go/.cloudbuild/staging.yaml +0 -0
  166. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/base_templates/go/.env +0 -0
  167. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/base_templates/go/.env.example +0 -0
  168. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/base_templates/go/.github/workflows/deploy-to-prod.yaml +0 -0
  169. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/base_templates/go/.github/workflows/pr_checks.yaml +0 -0
  170. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/base_templates/go/.github/workflows/staging.yaml +0 -0
  171. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/base_templates/go/.gitignore +0 -0
  172. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/base_templates/go/.golangci.yml +0 -0
  173. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/base_templates/go/Makefile +0 -0
  174. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/base_templates/go/README.md +0 -0
  175. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/base_templates/go/agent/agent.go +0 -0
  176. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/base_templates/go/e2e/integration/server_e2e_test.go +0 -0
  177. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/base_templates/go/e2e/load_test/.results/.placeholder +0 -0
  178. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/base_templates/go/e2e/load_test/README.md +0 -0
  179. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/base_templates/go/e2e/load_test/load_test.go +0 -0
  180. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/base_templates/go/go.mod +0 -0
  181. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/base_templates/go/go.sum +0 -0
  182. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/base_templates/go/main.go +0 -0
  183. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/base_templates/go/{{cookiecutter.agent_guidance_filename}} +0 -0
  184. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/base_templates/java/.cloudbuild/deploy-to-prod.yaml +0 -0
  185. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/base_templates/java/.cloudbuild/pr_checks.yaml +0 -0
  186. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/base_templates/java/.cloudbuild/staging.yaml +0 -0
  187. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/base_templates/java/.env.example +0 -0
  188. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/base_templates/java/.github/workflows/deploy-to-prod.yaml +0 -0
  189. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/base_templates/java/.github/workflows/pr_checks.yaml +0 -0
  190. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/base_templates/java/.github/workflows/staging.yaml +0 -0
  191. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/base_templates/java/.gitignore +0 -0
  192. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/base_templates/java/Makefile +0 -0
  193. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/base_templates/java/README.md +0 -0
  194. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/base_templates/java/pom.xml +0 -0
  195. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/base_templates/java/src/main/java/{{cookiecutter.java_package_path}}/Agent.java +0 -0
  196. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/base_templates/java/src/main/java/{{cookiecutter.java_package_path}}/Main.java +0 -0
  197. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/base_templates/java/src/main/resources/application.properties +0 -0
  198. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/base_templates/java/src/test/java/{{cookiecutter.java_package_path}}/e2e/integration/ServerE2ETest.java +0 -0
  199. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/base_templates/java/src/test/java/{{cookiecutter.java_package_path}}/e2e/load_test/.results/.placeholder +0 -0
  200. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/base_templates/java/src/test/java/{{cookiecutter.java_package_path}}/e2e/load_test/LoadTest.java +0 -0
  201. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/base_templates/java/src/test/java/{{cookiecutter.java_package_path}}/e2e/load_test/README.md +0 -0
  202. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/base_templates/java/src/test/java/{{cookiecutter.java_package_path}}/unit/AgentTest.java +0 -0
  203. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/base_templates/java/{{cookiecutter.agent_guidance_filename}} +0 -0
  204. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/base_templates/python/.cloudbuild/deploy-to-prod.yaml +0 -0
  205. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/base_templates/python/.cloudbuild/pr_checks.yaml +0 -0
  206. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/base_templates/python/.cloudbuild/staging.yaml +0 -0
  207. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/base_templates/python/.env +0 -0
  208. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/base_templates/python/.env.example +0 -0
  209. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/base_templates/python/.github/workflows/deploy-to-prod.yaml +0 -0
  210. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/base_templates/python/.github/workflows/pr_checks.yaml +0 -0
  211. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/base_templates/python/.github/workflows/staging.yaml +0 -0
  212. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/base_templates/python/.gitignore +0 -0
  213. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/base_templates/python/README.md +0 -0
  214. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/base_templates/python/deployment/terraform/cicd/telemetry_outputs.tf +0 -0
  215. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/base_templates/python/deployment/terraform/shared/completions.sql +0 -0
  216. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/base_templates/python/deployment/terraform/shared/genai_logs_schema.json +0 -0
  217. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/base_templates/python/deployment/terraform/single-project/telemetry_outputs.tf +0 -0
  218. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/base_templates/python/tests/unit/test_dummy.py +0 -0
  219. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/base_templates/python/{{cookiecutter.agent_directory}}/app_utils/a2a.py +0 -0
  220. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/base_templates/typescript/.cloudbuild/deploy-to-prod.yaml +0 -0
  221. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/base_templates/typescript/.cloudbuild/pr_checks.yaml +0 -0
  222. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/base_templates/typescript/.cloudbuild/staging.yaml +0 -0
  223. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/base_templates/typescript/.dockerignore +0 -0
  224. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/base_templates/typescript/.env.example +0 -0
  225. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/base_templates/typescript/.github/workflows/deploy-to-prod.yaml +0 -0
  226. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/base_templates/typescript/.github/workflows/pr_checks.yaml +0 -0
  227. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/base_templates/typescript/.github/workflows/staging.yaml +0 -0
  228. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/base_templates/typescript/.gitignore +0 -0
  229. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/base_templates/typescript/Makefile +0 -0
  230. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/base_templates/typescript/README.md +0 -0
  231. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/base_templates/typescript/app/agent.ts +0 -0
  232. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/base_templates/typescript/eslint.config.mjs +0 -0
  233. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/base_templates/typescript/package.json +0 -0
  234. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/base_templates/typescript/tests/integration/server_e2e.test.ts +0 -0
  235. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/base_templates/typescript/tests/load_test/.results/.placeholder +0 -0
  236. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/base_templates/typescript/tests/load_test/README.md +0 -0
  237. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/base_templates/typescript/tests/load_test/load_test.ts +0 -0
  238. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/base_templates/typescript/tests/unit/dummy.test.ts +0 -0
  239. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/base_templates/typescript/tsconfig.json +0 -0
  240. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/base_templates/typescript/vitest.config.ts +0 -0
  241. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/cmd_scaffold_group.py +0 -0
  242. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/commands/__init__.py +0 -0
  243. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/commands/upgrade.py +0 -0
  244. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/deployment_targets/agent_runtime/_shared/deployment/terraform/cicd/service.tf +0 -0
  245. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/deployment_targets/agent_runtime/_shared/deployment/terraform/cicd/service_outputs.tf +0 -0
  246. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/deployment_targets/agent_runtime/_shared/deployment/terraform/shared/dummy_source.b64 +0 -0
  247. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/deployment_targets/agent_runtime/_shared/deployment/terraform/single-project/service.tf +0 -0
  248. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/deployment_targets/agent_runtime/_shared/deployment/terraform/single-project/service_outputs.tf +0 -0
  249. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/deployment_targets/agent_runtime/_shared/deployment_metadata.json +0 -0
  250. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/deployment_targets/agent_runtime/python/tests/load_test/.results/.placeholder +0 -0
  251. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/deployment_targets/agent_runtime/python/tests/load_test/README.md +0 -0
  252. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/deployment_targets/agent_runtime/python/tests/load_test/load_test.py +0 -0
  253. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/deployment_targets/cloud_run/go/deployment/terraform/cicd/service.tf +0 -0
  254. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/deployment_targets/cloud_run/go/deployment/terraform/cicd/service_outputs.tf +0 -0
  255. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/deployment_targets/cloud_run/go/deployment/terraform/single-project/service.tf +0 -0
  256. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/deployment_targets/cloud_run/go/deployment/terraform/single-project/service_outputs.tf +0 -0
  257. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/deployment_targets/cloud_run/java/deployment/terraform/cicd/service.tf +0 -0
  258. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/deployment_targets/cloud_run/java/deployment/terraform/cicd/service_outputs.tf +0 -0
  259. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/deployment_targets/cloud_run/java/deployment/terraform/single-project/service.tf +0 -0
  260. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/deployment_targets/cloud_run/java/deployment/terraform/single-project/service_outputs.tf +0 -0
  261. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/deployment_targets/cloud_run/python/deployment/terraform/cicd/service.tf +0 -0
  262. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/deployment_targets/cloud_run/python/deployment/terraform/cicd/service_outputs.tf +0 -0
  263. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/deployment_targets/cloud_run/python/deployment/terraform/single-project/service.tf +0 -0
  264. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/deployment_targets/cloud_run/python/deployment/terraform/single-project/service_outputs.tf +0 -0
  265. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/deployment_targets/cloud_run/python/tests/load_test/.results/.placeholder +0 -0
  266. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/deployment_targets/cloud_run/python/tests/load_test/README.md +0 -0
  267. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/deployment_targets/cloud_run/python/tests/load_test/load_test.py +0 -0
  268. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/deployment_targets/cloud_run/typescript/deployment/terraform/cicd/service.tf +0 -0
  269. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/deployment_targets/cloud_run/typescript/deployment/terraform/cicd/service_outputs.tf +0 -0
  270. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/deployment_targets/cloud_run/typescript/deployment/terraform/single-project/service.tf +0 -0
  271. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/deployment_targets/cloud_run/typescript/deployment/terraform/single-project/service_outputs.tf +0 -0
  272. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/deployment_targets/gke/_shared/deployment/terraform/cicd/service.tf +0 -0
  273. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/deployment_targets/gke/_shared/deployment/terraform/cicd/service_outputs.tf +0 -0
  274. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/deployment_targets/gke/_shared/deployment/terraform/single-project/service.tf +0 -0
  275. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/deployment_targets/gke/_shared/deployment/terraform/single-project/service_outputs.tf +0 -0
  276. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/deployment_targets/gke/python/tests/load_test/.results/.placeholder +0 -0
  277. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/deployment_targets/gke/python/tests/load_test/README.md +0 -0
  278. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/deployment_targets/gke/python/tests/load_test/load_test.py +0 -0
  279. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/deployment_targets/none/python/tests/load_test/.results/.placeholder +0 -0
  280. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/deployment_targets/none/python/tests/load_test/README.md +0 -0
  281. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/deployment_targets/none/python/tests/load_test/load_test.py +0 -0
  282. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/utils/__init__.py +0 -0
  283. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/utils/backup.py +0 -0
  284. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/utils/command.py +0 -0
  285. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/utils/gcp.py +0 -0
  286. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/utils/generate_locks.py +0 -0
  287. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/utils/generation_metadata.py +0 -0
  288. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/utils/lock_utils.py +0 -0
  289. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/utils/logging.py +0 -0
  290. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/utils/merge.py +0 -0
  291. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/utils/remote_template.py +0 -0
  292. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/scaffold/utils/version.py +0 -0
  293. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/setup/__init__.py +0 -0
  294. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/setup/_antigravity.py +0 -0
  295. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/setup/cmd_auth.py +0 -0
  296. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/setup/cmd_setup.py +0 -0
  297. {google_agents_cli-1.3.1 → google_agents_cli-1.4.0}/src/google/agents/cli/setup/cmd_update.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: google-agents-cli
3
- Version: 1.3.1
3
+ Version: 1.4.0
4
4
  Summary: Agents CLI — Agent Development Lifecycle toolchain for ADK
5
5
  Author-email: Google LLC <agents-cli-dev-pypi@google.com>
6
6
  Requires-Python: >=3.11
@@ -112,8 +112,7 @@ See the [full tutorial](https://google.github.io/agents-cli/guide/quickstart-tut
112
112
  |---------|-------------|
113
113
  | `agents-cli setup` | Install CLI + skills to coding agents |
114
114
  | `agents-cli scaffold <name>` | Create a new agent project |
115
- | `agents-cli eval generate` | Run agent on eval dataset, produce traces |
116
- | `agents-cli eval grade` | Run agent evaluations on the traces |
115
+ | `agents-cli eval run` | Run the agent over the eval dataset and grade the traces |
117
116
  | `agents-cli deploy` | Deploy to Google Cloud |
118
117
  | `agents-cli publish gemini-enterprise` | Register with Gemini Enterprise |
119
118
 
@@ -133,6 +132,7 @@ See the [full tutorial](https://google.github.io/agents-cli/guide/quickstart-tut
133
132
  | `agents-cli install` | Install project dependencies |
134
133
  | `agents-cli lint` | Run code quality checks (Ruff) |
135
134
  | **Evaluate** | |
135
+ | `agents-cli eval run` | Run agent inference and grade the traces |
136
136
  | `agents-cli eval generate` | Run agent inference over eval cases |
137
137
  | `agents-cli eval grade` | Grade generated traces against metrics |
138
138
  | `agents-cli eval dataset synthesize` | Synthesize multi-turn eval scenarios for your local agent |
@@ -77,8 +77,7 @@ See the [full tutorial](https://google.github.io/agents-cli/guide/quickstart-tut
77
77
  |---------|-------------|
78
78
  | `agents-cli setup` | Install CLI + skills to coding agents |
79
79
  | `agents-cli scaffold <name>` | Create a new agent project |
80
- | `agents-cli eval generate` | Run agent on eval dataset, produce traces |
81
- | `agents-cli eval grade` | Run agent evaluations on the traces |
80
+ | `agents-cli eval run` | Run the agent over the eval dataset and grade the traces |
82
81
  | `agents-cli deploy` | Deploy to Google Cloud |
83
82
  | `agents-cli publish gemini-enterprise` | Register with Gemini Enterprise |
84
83
 
@@ -98,6 +97,7 @@ See the [full tutorial](https://google.github.io/agents-cli/guide/quickstart-tut
98
97
  | `agents-cli install` | Install project dependencies |
99
98
  | `agents-cli lint` | Run code quality checks (Ruff) |
100
99
  | **Evaluate** | |
100
+ | `agents-cli eval run` | Run agent inference and grade the traces |
101
101
  | `agents-cli eval generate` | Run agent inference over eval cases |
102
102
  | `agents-cli eval grade` | Grade generated traces against metrics |
103
103
  | `agents-cli eval dataset synthesize` | Synthesize multi-turn eval scenarios for your local agent |
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "google-agents-cli"
3
- version = "1.3.1"
3
+ version = "1.4.0"
4
4
  description = "Agents CLI — Agent Development Lifecycle toolchain for ADK"
5
5
  readme = "README.md"
6
6
  license = "Apache-2.0"
@@ -12,7 +12,7 @@ description: >
12
12
  metadata:
13
13
  author: Google
14
14
  license: Apache-2.0
15
- version: 1.3.1
15
+ version: 1.4.0
16
16
  requires:
17
17
  bins:
18
18
  - agents-cli
@@ -470,11 +470,11 @@ Pass `auth_scheme` + `auth_credential` from the auth helpers above for authentic
470
470
 
471
471
  ### MCP Tools
472
472
 
473
- Connect to MCP servers to use external tools. Use `StdioConnectionParams` for local dev, `SseConnectionParams` for production.
473
+ Connect to MCP servers to use external tools (needs the `mcp` extra: scaffolded projects ship `google-adk[gcp,otel-gcp]`, so add `mcp` and re-sync). Use `StdioConnectionParams` for local dev, `StreamableHTTPConnectionParams` for remote HTTP servers.
474
474
 
475
475
  ```python
476
476
  from google.adk.tools.mcp_tool import McpToolset
477
- from google.adk.tools.mcp_tool.mcp_session_manager import StdioConnectionParams, SseConnectionParams
477
+ from google.adk.tools.mcp_tool.mcp_session_manager import StdioConnectionParams, StreamableHTTPConnectionParams
478
478
  from mcp import StdioServerParameters
479
479
 
480
480
  # Local MCP server via stdio
@@ -494,9 +494,17 @@ agent = Agent(
494
494
  ...
495
495
  )
496
496
 
497
- # Remote MCP server via SSE (production)
497
+ # Remote MCP server, e.g. Cloud Run with --no-allow-unauthenticated. ID tokens
498
+ # expire in ~1h, so mint per call via `header_provider` (ADK calls it on every
499
+ # tool call); a static `headers` dict goes stale. Audience = root, not /mcp.
500
+ from google.auth.transport.requests import Request
501
+ from google.oauth2.id_token import fetch_id_token
502
+
498
503
  McpToolset(
499
- connection_params=SseConnectionParams(url="https://mcp.example.com/sse"),
504
+ connection_params=StreamableHTTPConnectionParams(url=f"{MCP_SERVER_URL}/mcp"),
505
+ header_provider=lambda ctx: {
506
+ "Authorization": f"Bearer {fetch_id_token(Request(), MCP_SERVER_URL)}"
507
+ },
500
508
  )
501
509
  ```
502
510
 
@@ -648,7 +656,7 @@ app = App(
648
656
 
649
657
  ### Context Compaction
650
658
 
651
- Prevent context overflow on long sessions by summarizing older events in a sliding window:
659
+ Prevent context overflow on long sessions by compacting older events into summaries. Use **token-based** compaction: it triggers on actual prompt-token volume, so it handles unpredictable inputs (pasted code, large tool results) better than a fixed turn count.
652
660
 
653
661
  ```python
654
662
  from google.adk.apps import App
@@ -660,8 +668,8 @@ app = App(
660
668
  name="my_app",
661
669
  root_agent=root_agent,
662
670
  events_compaction_config=EventsCompactionConfig(
663
- compaction_interval=20, # summarize every 20 events
664
- overlap_size=3, # include last 3 events in next window for continuity
671
+ token_threshold=32000, # compact once prompt tokens reach this
672
+ event_retention_size=5, # keep the last 5 raw events un-compacted
665
673
  # Optional: custom summarizer model
666
674
  summarizer=LlmEventSummarizer(llm=Gemini(model="gemini-3.6-flash")),
667
675
  ),
@@ -4,7 +4,7 @@ description: >
4
4
  This skill should be used when the user wants to "deploy an agent",
5
5
  "deploy my ADK agent", "set up CI/CD", "configure secrets",
6
6
  "troubleshoot a deployment", or needs guidance on Agent Runtime,
7
- Cloud Run, or GKE deployment targets, or awareness of Agent Gateway.
7
+ Cloud Run, or GKE deployment targets, or binding an agent to an Agent Gateway.
8
8
  Covers deployment workflows, service accounts, rollback, and production infrastructure.
9
9
  Part of the Google ADK (Agent Development Kit) skills suite.
10
10
  Do NOT use for API code patterns (use google-agents-cli-adk-code), evaluation
@@ -12,7 +12,7 @@ description: >
12
12
  metadata:
13
13
  author: Google
14
14
  license: Apache-2.0
15
- version: 1.3.1
15
+ version: 1.4.0
16
16
  requires:
17
17
  bins:
18
18
  - agents-cli
@@ -74,7 +74,7 @@ All three targets are container-based, so any language works.
74
74
  **Task tracking:** Deployment involves multiple sequential steps (infra setup, CI/CD configuration, deploy, verification). Use a task list to track progress through these steps — skipping one often causes failures in later steps that are hard to trace back.
75
75
 
76
76
  1. If prototype (no deployment target), first enhance: `agents-cli scaffold enhance . --deployment-target <target>`
77
- 2. **Notify the human**: "Eval scores meet thresholds and tests pass. Ready to deploy to dev?"
77
+ 2. **Notify the human**: paste the eval scores and test results, then ask "Ready to deploy to dev?"
78
78
  3. **Wait for explicit approval**
79
79
  4. Once approved: `agents-cli deploy`
80
80
 
@@ -110,6 +110,8 @@ agents-cli infra single-project
110
110
  | `--dns-peering-domain` | DNS peering domain suffix, e.g. `my-internal.corp.` (requires `--network-attachment`) | Agent Runtime |
111
111
  | `--dns-peering-project` | Project ID hosting the Cloud DNS managed zone for DNS peering (requires `--network-attachment`) | Agent Runtime |
112
112
  | `--dns-peering-network` | VPC network name in the target project for DNS peering (requires `--network-attachment`) | Agent Runtime |
113
+ | `--agent-gateway-egress` | Bind the agent to an [Agent Gateway](https://docs.cloud.google.com/gemini-enterprise-agent-platform/govern/gateways/agent-gateway-overview) governing outbound traffic. Full resource name of a gateway with `governedAccessPath=AGENT_TO_ANYWHERE`. Empty value unbinds; omit to leave unchanged. See [Agent Gateway](#agent-gateway) | Agent Runtime |
114
+ | `--agent-gateway-ingress` | Bind the agent to an Agent Gateway governing inbound traffic. Full resource name of a gateway with `governedAccessPath=CLIENT_TO_AGENT`. Empty value unbinds; omit to leave unchanged | Agent Runtime |
113
115
  | `--memory` | Memory limit (default: `4Gi`) | Agent Runtime, Cloud Run |
114
116
  | `--cpu` | CPU limit (default: `1`) | Agent Runtime, Cloud Run |
115
117
  | `--min-instances` | Minimum number of instances (default: `1`) | Agent Runtime, Cloud Run |
@@ -172,7 +174,7 @@ For event-driven / ambient agent deployment on Cloud Run, see the [`ambient-expe
172
174
 
173
175
  Agent Runtime is a managed Vertex AI service for deploying Python ADK agents. Uses container-based deployment: `agents-cli deploy` packages your project and Agent Engine builds the image from your project's `Dockerfile` (required) — the same `fast_api_app:app` image that serves Cloud Run and GKE.
174
176
 
175
- > **No `gcloud` CLI exists for Agent Runtime.** Deploy via `agents-cli deploy`. Query via the Python `vertexai.Client` SDK.
177
+ > **No `gcloud` CLI exists for Agent Runtime.** Deploy via `agents-cli deploy`. Query via the Python `agentplatform.Client` SDK.
176
178
 
177
179
  Deployments can take 5-10 minutes. Use `--no-wait` to start a deployment and return immediately, then check on it later with `--status`:
178
180
 
@@ -360,22 +362,49 @@ For registering deployed agents with Gemini Enterprise, see `/google-agents-cli-
360
362
 
361
363
  ---
362
364
 
363
- ## Agent Gateway & Semantic Governance (Gemini Enterprise Agent Platform)
365
+ ## Agent Gateway
364
366
 
365
- > **Note:** There are no `agents-cli` commands for these yet. Deploy your agent as usual
366
- > with `agents-cli deploy`, then configure Agent Gateway and Semantic Governance separately
367
- > (via Terraform or the Cloud Console).
367
+ > **Note:** There are no `agents-cli` commands for creating or managing Agent Gateways or
368
+ > Semantic Governance policies — set those up separately (via Terraform or the Cloud Console).
369
+ > `agents-cli deploy` is the only gateway-aware command, and its support is a passthrough: it
370
+ > binds the agent to an *existing* gateway as part of the Agent Runtime create/update call.
368
371
 
369
372
  **Agent Gateway** is the networking + security entry/exit point for all agent interactions
370
373
  (user↔agent, agent↔tool, agent↔agent) — it centralizes access control and governed
371
- connectivity (ingress/egress). It is not a deployment target. Deploy your agent with
372
- `agents-cli deploy`, then attach it to a gateway one of two ways:
374
+ connectivity (ingress/egress). It is not a deployment target.
373
375
 
374
- - **Add the existing agent to a gateway** via the Console / docs flow — see [Route Agent Runtime traffic through Agent Gateway](https://docs.cloud.google.com/gemini-enterprise-agent-platform/scale/runtime/agent-gateway-runtime-deploy) ("For existing agents").
375
- - **Manage the gateway in Terraform** with [`google_network_services_agent_gateway`](https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/network_services_agent_gateway) (currently in the `google-beta` provider) — recommended for production, so `agents-cli deploy` owns the agent version and CI/CD handles updates.
376
+ To set up a gateway, follow [Set up an Agent Gateway](https://docs.cloud.google.com/gemini-enterprise-agent-platform/govern/gateways/set-up-agent-gateway)
377
+ and [Route Agent Runtime traffic through Agent Gateway](https://docs.cloud.google.com/gemini-enterprise-agent-platform/scale/runtime/agent-gateway-runtime-deploy). You may also manage the gateway in Terraform with [`google_network_services_agent_gateway`](https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/network_services_agent_gateway) (currently in the `google-beta` provider).
378
+
379
+ Once a gateway exists, `agents-cli deploy` binds an agent to it with `--agent-gateway-egress`
380
+ and/or `--agent-gateway-ingress`, each taking a full resource name
381
+ (`projects/PROJECT/locations/REGION/agentGateways/GATEWAY`). Only Agent Runtime deployment is
382
+ supported, and the agent must have Agent Identity (the `--agent-identity` flag), which can only
383
+ be set when the agent is created.
384
+
385
+ An egress gateway performs TLS decryption and inspection on outbound agent communications,
386
+ so the image must trust the gateway's root CA. That setup is opt-in at scaffold time. If you're
387
+ creating a new project, pass `--agent-gateway` flag to `agents-cli create`:
388
+
389
+ ```bash
390
+ agents-cli create my-agent -d agent_runtime --agent-gateway
391
+ ```
392
+
393
+ Alternatively, you can pass the same flag to `agents-cli scaffold enhance` to upgrade an
394
+ existing project:
395
+ ```bash
396
+ agents-cli scaffold enhance . --agent-gateway
397
+ ```
398
+
399
+ Either writes a Dockerfile that consumes the `AGENT_GATEWAY_ROOT_CERTIFICATES` build arg the
400
+ platform injects, and records `agent_gateway: true` under `create_params` so `scaffold upgrade`
401
+ keeps it. Deploying with `--agent-gateway-egress` against a Dockerfile that lacks the build arg
402
+ fails with a pointer to the command above; `--no-agent-gateway` removes the setup again.
376
403
 
377
404
  Background: [Agent Gateway overview](https://docs.cloud.google.com/gemini-enterprise-agent-platform/govern/gateways/agent-gateway-overview).
378
405
 
406
+ ## Semantic Governance
407
+
379
408
  **Semantic Governance Policies (SGP)** add a natural-language security/compliance layer
380
409
  that keeps an agent's tool invocations aligned with user intent and organizational
381
410
  constraints.
@@ -18,7 +18,7 @@ reasoning_engine adapter still constructs an `AdkApp` internally to dispatch the
18
18
  native `:streamQuery`/`:query` contract).
19
19
 
20
20
  The container serves the ADK HTTP surface (`/run_sse`, `/apps/...`), the A2A
21
- routes under `/a2a/{app_name}` (JSON-RPC + agent card), `/feedback`, and the
21
+ routes under `/a2a/{app_name}` (JSON-RPC + agent card), and the
22
22
  reasoning_engine adapter routes `/api/reasoning_engine` +
23
23
  `/api/stream_reasoning_engine` (the native `:streamQuery`/`:query` contract used
24
24
  by the Console Playground and Gemini Enterprise ADK registration). It deploys as
@@ -106,9 +106,9 @@ agents-cli run --url https://LOCATION-aiplatform.googleapis.com/v1/projects/PROJ
106
106
  To query Agent Runtime programmatically:
107
107
 
108
108
  ```python
109
- import vertexai
109
+ import agentplatform
110
110
 
111
- client = vertexai.Client(location="us-east1")
111
+ client = agentplatform.Client(location="us-east1")
112
112
  agent = client.agent_engines.get(name="projects/PROJECT/locations/LOCATION/reasoningEngines/ENGINE_ID")
113
113
 
114
114
  async for event in agent.async_stream_query(message="Hello!", user_id="test"):
@@ -16,7 +16,7 @@ Scaffolded projects include a `Dockerfile` using single-stage build with `uv` fo
16
16
 
17
17
  ## FastAPI Endpoints
18
18
 
19
- Scaffolded apps serve the ADK HTTP surface (`/run_sse`, `/apps/...`), A2A routes under `/a2a/{app_name}` (JSON-RPC + agent card — A2A is built into every ADK agent), and `/feedback`. Exact routes vary by template; check `app/fast_api_app.py`.
19
+ Scaffolded apps serve the ADK HTTP surface (`/run_sse`, `/apps/...`), A2A routes under `/a2a/{app_name}` (JSON-RPC + agent card — A2A is built into every ADK agent). Exact routes vary by template; check `app/fast_api_app.py`.
20
20
 
21
21
  ## Session Types
22
22
 
@@ -50,7 +50,7 @@ Cloud SQL in GKE uses a **proxy sidecar container** in the pod (unlike Cloud Run
50
50
 
51
51
  ## FastAPI Endpoints
52
52
 
53
- Scaffolded apps serve the ADK HTTP surface (`/run_sse`, `/apps/...`), A2A routes under `/a2a/{app_name}` (JSON-RPC + agent card — A2A is built into every ADK agent), and `/feedback`. Exact routes vary by template; check `app/fast_api_app.py`.
53
+ Scaffolded apps serve the ADK HTTP surface (`/run_sse`, `/apps/...`), A2A routes under `/a2a/{app_name}` (JSON-RPC + agent card — A2A is built into every ADK agent). Exact routes vary by template; check `app/fast_api_app.py`.
54
54
 
55
55
  ## Testing Your Deployed Agent
56
56
 
@@ -35,12 +35,12 @@ Beyond the `run --url` quick test above, you can query the deployment directly.
35
35
  **Option 1: Python Script**
36
36
  ```python
37
37
  import json
38
- import vertexai
38
+ import agentplatform
39
39
 
40
40
  with open("deployment_metadata.json") as f:
41
41
  engine_id = json.load(f)["remote_agent_runtime_id"]
42
42
 
43
- client = vertexai.Client(location="us-east1")
43
+ client = agentplatform.Client(location="us-east1")
44
44
  agent = client.agent_engines.get(name=engine_id)
45
45
 
46
46
  async for event in agent.async_stream_query(message="Hello!", user_id="test"):
@@ -11,7 +11,7 @@ description: >
11
11
  metadata:
12
12
  author: Google
13
13
  license: Apache-2.0
14
- version: 1.3.1
14
+ version: 1.4.0
15
15
  requires:
16
16
  bins:
17
17
  - agents-cli
@@ -32,63 +32,63 @@ metadata:
32
32
  | `references/metrics-guide.md` | Complete metrics reference — all built-in metrics, match types, custom metrics, judge model config |
33
33
  | `references/user-simulation.md` | Dynamic conversation testing — `eval dataset synthesize` flags, what scenarios are, compatible metrics |
34
34
  | `references/builtin-tools-eval.md` | google_search and model-internal tools — trajectory behavior, metric compatibility |
35
+ | `references/advanced-commands.md` | Opt-in commands: `eval analyze`, `eval optimize`, `eval submit` / `eval results` |
35
36
  | `references/multimodal-eval.md` | Multimodal inputs — eval dataset schema, built-in metric limitations, custom evaluator pattern |
36
37
 
37
38
  ---
38
39
 
39
40
  ## The Quality Flywheel
40
41
 
41
- Improving agent quality is iterative. The 5 stages below describe the loop. Each stage has a Default path (you, the coding agent, do the work directly) and an Opt-in CLI command that delegates to the Agent Platform Eval Service for better quality and scale.
42
+ Improving agent quality is iterative. The 4 stages below describe the loop. Each stage has a Default path (you, the coding agent, do the work directly) and an Opt-in CLI command that delegates to the Agent Platform Eval Service for better quality and scale.
42
43
 
43
44
  ### 1. Prepare Data
44
45
 
45
46
  **Default:** Use or edit the scaffolded `tests/eval/datasets/basic-dataset.json` to define single-turn eval inputs. Start with 1–2 cases.
46
47
 
47
- **Opt-in:** `agents-cli eval dataset synthesize` — user-simulate multi-turn datasets when you lack data; its output includes traces, so skip Stage 2 and grade directly. See *Eval Commands* and `references/user-simulation.md`.
48
+ **Opt-in:** `agents-cli eval dataset synthesize`: user-simulate multi-turn datasets when you lack data; its output already includes traces, so Stage 2 collapses to `agents-cli eval grade` alone. See *Eval Commands* and `references/user-simulation.md`.
48
49
 
49
- ### 2. Run Inference
50
+ ### 2. Run the Eval (always run)
50
51
 
51
- `agents-cli eval generate` — executes the agent over the dataset and writes traces to `artifacts/traces/`. Run this when you wrote the dataset by hand in Stage 1 (default path). **Skip this stage if you used `eval dataset synthesize`** — that command already produced traces.
52
+ **Default:** `agents-cli eval run` runs the agent over the dataset and grades the traces, writing `results_<ts>.{json,html}` to `artifacts/grade_results/`.
52
53
 
53
- ### 3. Grade Traces (always run)
54
+ **Decoupled form:** `eval generate` then `eval grade`, for a custom traces location, re-grading without re-running the agent, or traces from `synthesize` (`eval grade` alone).
54
55
 
55
- `agents-cli eval grade` — scores the traces and writes `results_<ts>.{json,html}` to `artifacts/grade_results/`. No opt-in alternative; this is the core. Always run, regardless of how Stages 1 and 2 produced the traces.
56
-
57
- > **Shortcut:** `agents-cli eval run` chains Stages 2 + 3 in one command using the default `artifacts/traces/` directory between them. Use it for the common path; drop back to the two-step form when you need a custom traces location or want to grade an existing traces file.
58
-
59
- ### 4. Analyze Failures
56
+ ### 3. Analyze Failures
60
57
 
61
58
  **Default:** Open the latest `artifacts/grade_results/results_<ts>.html` (or `.json`) and identify failed metrics — see *What to fix when scores fail* below for the fix table.
62
59
 
63
- **Opt-in:** `agents-cli eval analyze` — LLM-based failure clustering; prefer when you have 10+ failing cases and want categorized failure modes. See *Eval Commands*.
60
+ **Opt-in:** `agents-cli eval analyze`, LLM-based failure clustering; prefer when you have 10+ failing cases and want categorized failure modes. See `references/advanced-commands.md`.
64
61
 
65
- ### 5. Optimize & Code Fix
62
+ ### 4. Optimize & Code Fix
66
63
 
67
64
  **Default:** Edit the agent — adjust prompts, tool descriptions, instructions, or eval dataset based on the failure analysis. See *What to fix when scores fail* below for the failure → fix mapping.
68
65
 
69
- **Opt-in:** `agents-cli eval optimize` — runs ADK GEPA prompt optimization against a target metric. Suitable for prompt-only failures. The optimized prompt appears in the command output; capture it and apply it to the agent. For the full per-iteration trace, set `print_detailed_results: true` in your optimization config file.
66
+ **Opt-in:** `agents-cli eval optimize` runs ADK GEPA prompt optimization against a target metric (see `references/advanced-commands.md`). Suitable for prompt-only failures. The optimized prompt appears in the command output; capture it and apply it to the agent. For the full per-iteration trace, set `print_detailed_results: true` in your optimization config file.
70
67
 
71
68
  > **Long-running and expensive.** GEPA optimization makes many LLM calls and can take a long time. Do not run it unless the user explicitly asks for prompt optimization. When you do run it, iterate as far as possible with manual fixes first, then run a **single** final `eval optimize` — never loop on this command.
72
69
 
73
70
  ### Running the loop
74
71
 
75
- Iterate stages 2 → 3 → 4 → 5 → 2 (or 1 → 3 → 4 → 5 → 1 if using `synthesize`). After each fix, run `agents-cli eval compare <prev_results>.json <new_results>.json` to confirm the target metric improved without regressing others. Expect 5–10+ iterations per case before it passes — this is normal. Only after a case passes should you expand coverage with more eval cases.
72
+ Iterate stages 2 → 3 → 4 → 2 (with `synthesize`, re-run Stage 1 each pass, then `eval grade`). After each fix, run `agents-cli eval compare <prev_results>.json <new_results>.json` to confirm the target metric improved without regressing others. Expect 5–10+ iterations per case before it passes, which is normal. Only after a case passes should you expand coverage with more eval cases.
76
73
 
77
74
  When doing 5+ iterations, maintain a task list of which cases are fixed, which are still failing, and what fixes you've tried. Prevents re-attempting the same fix.
78
75
 
76
+ **Hold cases back.** Keep a slice of cases out of the loop and grade them only when you think you're done — otherwise you can't tell a fix that generalizes from one fitted to the cases you iterated against.
77
+
79
78
  ### Shortcuts That Waste Time
80
79
 
81
80
  Recognize these rationalizations and push back — they always cost more time than they save:
82
81
 
83
82
  | Shortcut | Why it fails |
84
83
  |----------|-------------|
85
- | "I'll tune the eval thresholds down to make it pass" | Lowering thresholds hides real failures. If the agent can't meet the bar, fix the agent — don't move the bar. |
84
+ | "I'll lower the bar so it passes" | Lowering the bar hides real failures. If the agent can't meet the bar, fix the agent, don't move the bar. |
86
85
  | "This eval case is flaky, I'll skip it" | Flaky evals reveal non-determinism in your agent. Fix with `temperature=0`, rubric-based metrics, or more specific instructions — don't delete the signal. |
87
86
  | "I just need to fix the eval dataset, not the agent" | If you're always adjusting expected outputs, your agent has a behavior problem. Fix the instructions or tool logic first. |
87
+ | "I'll iterate until every case I have passes" | Nothing is left to detect overfitting to your own cases. See *Hold cases back* above. |
88
88
 
89
89
  ## Choosing the Right Metrics
90
90
 
91
- Pick built-in metrics by what you want to measure. Multi-turn metrics evaluate the full conversation; single-turn metrics evaluate one prompt-response pair (with intermediate tool calls). When no built-in fits, write a custom metric (see *Evaluation Configuration Schema* below).
91
+ Pick built-in metrics by what you want to measure. Only `multi_turn_task_success`, `multi_turn_trajectory_quality`, and `multi_turn_tool_use_quality` accept multi-turn traces; every other built-in 400s on one. When no built-in fits, write a custom metric (see *Evaluation Configuration Schema* below).
92
92
 
93
93
  | Goal | Recommended built-in metrics |
94
94
  |------|------------------------------|
@@ -96,8 +96,10 @@ Pick built-in metrics by what you want to measure. Multi-turn metrics evaluate t
96
96
  | **Was the agent's reasoning path logical and efficient?** | `multi_turn_trajectory_quality` |
97
97
  | **Quality of tool / function calling across turns** | `multi_turn_tool_use_quality` |
98
98
  | **Final response quality** (no ground-truth reference needed) | `final_response_quality` |
99
- | **Factual grounding** (catch hallucinated claims, e.g., RAG agents) | `hallucination` |
99
+ | **Factual grounding** (catch hallucinated claims, e.g., RAG agents) | `hallucination`, or `grounding` when the case carries a `context` field |
100
100
  | **Safety policy compliance** | `safety` |
101
+ | **Match against a golden answer** | `final_response_match` (needs `reference` on the case) |
102
+ | **Different pass/fail criteria per case** | Put them on the case as `rubric_groups` and grade with a managed rubric metric. See `references/dataset_schema.md` (*Per-Case Rubrics*). |
101
103
  | **Domain-specific check no built-in covers** | Write a custom `LLMMetric` (LLM-judge) or `CodeExecutionMetric` (deterministic Python). See *Evaluation Configuration Schema* below. |
102
104
 
103
105
  Run `agents-cli eval metric list` to see all available built-ins. For full metric definitions and rubric details, see the [Agent Platform metric docs](https://cloud.google.com/gemini-enterprise-agent-platform/optimize/evaluation/manage-metrics) and `references/metrics-guide.md`.
@@ -106,7 +108,7 @@ Run `agents-cli eval metric list` to see all available built-ins. For full metri
106
108
 
107
109
  ## What to fix when scores fail
108
110
 
109
- After `agents-cli eval grade` completes, inspect the latest `artifacts/grade_results/results_<timestamp>.json` (or open the `.html` file) for per-case scores and judge rationales — that's the input to every fix decision below.
111
+ After `agents-cli eval run` completes, inspect the latest `artifacts/grade_results/results_<timestamp>.json` (or open the `.html` file) for per-case scores and judge rationales, the input to every fix decision below.
110
112
 
111
113
  | Failure | What to change |
112
114
  |---------|---------------|
@@ -119,13 +121,26 @@ After `agents-cli eval grade` completes, inspect the latest `artifacts/grade_res
119
121
  | Agent calls wrong tools | Fix tool descriptions, agent instructions, or `tool_config` |
120
122
  | Agent calls extra tools | Add strict stop instructions, or switch to `multi_turn_tool_use_quality` |
121
123
 
122
- After applying a fix, rerun `agents-cli eval generate && agents-cli eval grade` and use `agents-cli eval compare <prev_results>.json <new_results>.json` to confirm the fix improved the target metric without regressing others.
124
+ After applying a fix, rerun `agents-cli eval run` and use `agents-cli eval compare <prev_results>.json <new_results>.json` to confirm the fix improved the target metric without regressing others.
123
125
 
124
126
  ---
125
127
 
126
128
  ## Eval Commands
127
129
 
128
- All `agents-cli eval` subcommands support `--help` for the authoritative flag list and defaults — run `agents-cli eval <subcommand> --help` (or `agents-cli eval dataset <subcommand> --help`) when in doubt. The examples below show the most common invocations; flags can change between releases.
130
+ `agents-cli eval <subcommand> --help` is the authoritative flag list; the examples below are the common invocations.
131
+
132
+ ### `eval run` (default)
133
+
134
+ Runs the agent over the dataset and grades the traces in one command.
135
+
136
+ ```bash
137
+ # Basic: dataset from tests/eval/datasets/, results to artifacts/grade_results/,
138
+ # metrics from tests/eval/eval_config.yaml
139
+ agents-cli eval run
140
+
141
+ # Advanced: pick the dataset, metrics, and output dir
142
+ agents-cli eval run --dataset tests/eval/datasets/custom.json --metrics final_response_quality,safety --output ./out/
143
+ ```
129
144
 
130
145
  ### `eval generate`
131
146
 
@@ -146,7 +161,7 @@ agents-cli eval generate --url https://my-agent.run.app --app-name app
146
161
 
147
162
  ### `eval grade`
148
163
 
149
- Scores generated traces against built-in or custom metrics. Writes timestamped `results_<YYYYMMDD_HHMMSS>.json` (consumed by `eval compare`) and `.html` (open in a browser) into the output dir, and prints a summary table to the console.
164
+ Scores traces (from `eval generate`, `eval dataset synthesize`, or hand-authored) against built-in or custom metrics. Writes timestamped `results_<YYYYMMDD_HHMMSS>.json` (consumed by `eval compare`) and `.html` (open in a browser) into the output dir, and prints a summary table to the console.
150
165
 
151
166
  ```bash
152
167
  # Basic — defaults: traces from artifacts/traces/, results to artifacts/grade_results/,
@@ -157,10 +172,7 @@ agents-cli eval grade
157
172
  # pairing for `eval generate --output custom_traces/`)
158
173
  agents-cli eval grade --traces custom_traces/
159
174
 
160
- # Advanced 2 — pick built-in metrics, custom output dir
161
- agents-cli eval grade --metrics tool_use_quality,safety --output ./out/
162
-
163
- # Advanced 3 — load metrics to run from a config file (YAML or JSON) on a specified trace file.
175
+ # Advanced 2: load metrics to run from a config file (YAML or JSON) on a specified trace file.
164
176
  agents-cli eval grade --traces ./artifacts/traces/trace_1.json --config tests/eval/eval_config.yaml
165
177
  ```
166
178
 
@@ -168,79 +180,19 @@ See *Evaluation Configuration Schema* below for the config file format.
168
180
 
169
181
  ### `eval compare`
170
182
 
171
- Diffs two `results_*.json` files produced by `eval grade`. Run it after a fix to confirm the target metric improved without regressing others.
183
+ Diffs two `results_*.json` files from an eval run. Run it after a fix to confirm the target metric improved without regressing others.
172
184
 
173
185
  ```bash
174
186
  agents-cli eval compare baseline.json candidate.json
175
187
  ```
176
188
 
177
- ### `eval metric list`
178
-
179
- Lists the built-in metric names usable with `eval grade --metrics`.
180
-
181
- ```bash
182
- agents-cli eval metric list
183
- ```
184
-
185
- ### `eval analyze`
186
-
187
- Runs LLM-based failure clustering and root-cause analysis over a `results_*.json` produced by `eval grade`. Use when you have 10+ failing cases and want categorized failure modes instead of reading the HTML case-by-case. Supported `--metric` values: `multi_turn_task_success`, `multi_turn_tool_use_quality`.
188
-
189
- ```bash
190
- # Basic — analyze a results file with default settings
191
- agents-cli eval analyze --eval-result artifacts/grade_results/results_<ts>.json
192
-
193
- # Advanced — restrict to a specific metric and cap loss clusters
194
- agents-cli eval analyze \
195
- --eval-result artifacts/grade_results/results_<ts>.json \
196
- --metric multi_turn_tool_use_quality \
197
- --top-k 5 \
198
- --output artifacts/analysis_<ts>.json
199
- ```
200
-
201
189
  ### `eval dataset synthesize`
202
190
 
203
- Generates user scenarios server-side from your agent's tools and instructions, then plays each scenario against an LLM-backed user simulator. The output is a graded-ready trace file with full `agent_data.turns` populated — feed it directly to `eval grade` (skip `eval generate`).
191
+ Generates user scenarios from your agent's tools and instructions, plays each against an LLM-backed user simulator, and writes graded-ready traces to `artifacts/traces/` (feed straight to `eval grade`, skip `eval generate`). Invocations, flags, and compatible metrics: `references/user-simulation.md`.
204
192
 
205
- ```bash
206
- # Basic — generate 3 default scenarios (up to 5 turns each) into artifacts/traces/
207
- # (where eval grade reads from by default, so synthesize → grade works without flags)
208
- agents-cli eval dataset synthesize
209
-
210
- # Advanced — guide scenario generation with optional instruction and environment context
211
- agents-cli eval dataset synthesize \
212
- -n 5 \
213
- --instruction "Customer asking about refunds" \
214
- --environment-context "E-commerce support" \
215
- --max-turns 8 \
216
- -o tests/eval/datasets/refund_scenarios.json
217
- ```
193
+ ### Advanced commands
218
194
 
219
- For scenario semantics, the full `eval dataset synthesize` flag table, and which simulator internals are not user-configurable, see `references/user-simulation.md`.
220
-
221
- ### `eval optimize`
222
-
223
- Runs ADK GEPA prompt optimization against a target metric. Suitable after `eval grade` identifies prompt-only failures (wording, not tool/orchestration logic). `--dataset` and `--target-metric` override values in `--config` when both are passed. **Long-running and expensive — see Stage 5 of the Quality Flywheel for usage guidance.**
224
-
225
- ```bash
226
- # Basic — optimize against a single metric on a dataset
227
- agents-cli eval optimize --dataset tests/eval/datasets/basic-dataset.json --target-metric final_response_quality
228
-
229
- # Advanced — drive multi-metric / multi-dataset optimization from a config file
230
- agents-cli eval optimize --config tests/eval/optimization_config.json
231
- ```
232
-
233
- ### `eval submit` / `eval results` (cloud-side)
234
-
235
- The managed, asynchronous counterpart to the local path, for large or CI-driven runs: `eval submit` hands the dataset and metrics to the Agent Platform Eval Service, and `eval results` polls and downloads the scores. Pass `--resource-name <agent>` to also run inference server-side (managed `generate` + `grade`); omit it to grade an existing trace (managed `grade`).
236
-
237
- ```bash
238
- # Grade an existing trace server-side; returns a run resource name to poll
239
- agents-cli eval submit --dataset tests/eval/datasets/basic-dataset.json --dest gs://my-bucket
240
- # Add --resource-name projects/<p>/locations/<l>/reasoningEngines/<id> to run inference too
241
-
242
- agents-cli eval results --run-id <run-resource-name>
243
- ```
195
+ `eval analyze` (cluster failure modes), `eval optimize` (GEPA prompt tuning), and `eval submit` / `eval results` (managed cloud-side runs for CI or large datasets) are documented in `references/advanced-commands.md`.
244
196
 
245
197
  ---
246
198
 
@@ -268,13 +220,6 @@ Two shapes are supported.
268
220
  "role": "user",
269
221
  "parts": [{"text": "Hello, what can you help me with?"}]
270
222
  }
271
- },
272
- {
273
- "eval_case_id": "weather_query",
274
- "prompt": {
275
- "role": "user",
276
- "parts": [{"text": "What's the weather like in San Francisco?"}]
277
- }
278
223
  }
279
224
  ]
280
225
  }
@@ -290,9 +235,9 @@ A complete trace — agent responses plus `function_call` / `function_response`
290
235
 
291
236
  ## Evaluation Configuration Schema
292
237
 
293
- `agents-cli eval grade --config <path>` accepts a single configuration file in either **YAML** (`.yaml` / `.yml`) or **JSON** (`.json`). The file declares two parts:
238
+ `agents-cli eval run --config <path>` (and `eval grade --config <path>`) accepts a single configuration file in either **YAML** (`.yaml` / `.yml`) or **JSON** (`.json`). The file declares two parts:
294
239
 
295
- - `metrics_to_run` — the **selection list** of metric names to execute on this run. Names resolve to built-in metrics first, then to entries in `custom_metrics`.
240
+ - `metrics_to_run`: the **selection list** of metric names to execute on this run. A name resolves to a `custom_metrics` entry when one matches, otherwise to the built-in metric of that name.
296
241
  - `custom_metrics` — a **definition pool** of custom metrics available to this project. Defining a metric here does **not** run it; it must also appear in `metrics_to_run` (or be passed via `--metrics name1,name2` on the CLI, which is equivalent to overriding `metrics_to_run` for that invocation).
297
242
 
298
243
  **Minimal example (YAML preferred — human-readable, no JSON escaping for prompts and Python):**
@@ -321,7 +266,7 @@ custom_metrics:
321
266
 
322
267
  JSON is also accepted (same field names, with `prompt_template` and `custom_function` as escaped strings) — but **always prefer YAML** for human-readable configs.
323
268
 
324
- Each entry in `custom_metrics` is dispatched by field: presence of `custom_function` makes it a `CodeExecutionMetric` (deterministic Python); otherwise it's an `LLMMetric` (LLM-as-judge with `prompt_template`). Run `agents-cli eval metric list` to see available built-ins. For full custom-metric field reference (judge model options, sampling counts), see `references/metrics-guide.md`.
269
+ Dispatch by field: `custom_function` → Python metric; `prompt_template` → `LLMMetric` (LLM-as-judge); neither, on a built-in name → parameterizes that built-in (e.g. `metric_spec_parameters.rubric_group_key`). Field reference: `references/metrics-guide.md`.
325
270
 
326
271
  **Agent trace field model.** For datasets produced by `agents-cli eval generate` (or `eval dataset synthesize`), each eval case exposes three standard fields to a metric:
327
272
 
@@ -329,7 +274,7 @@ Each entry in `custom_metrics` is dispatched by field: presence of `custom_funct
329
274
  - `{response}` — the agent's final text response, extracted from the last text-bearing event. In `custom_function` callbacks this is `instance['response']` with shape `{"role": "model", "parts": [{"text": "..."}]}`.
330
275
  - `{agent_data}` — the full structured `turns`/`events` trace, useful when the judge needs to reason about tool calls or intermediate reasoning.
331
276
 
332
- `{reference}` and `{context}` resolve only when the eval case has `reference` / `context` fields populated (e.g., golden-answer datasets); they are not populated by `eval generate` / `eval dataset synthesize`.
277
+ `reference`, `context`, and `rubric_groups` are yours to author on the case: `eval generate` carries them onto the trace but never invents them, so `{reference}` / `{context}` resolve only where you wrote them. `rubric_groups` is not a placeholder at all: managed rubric metrics read it off the case, and a `custom_function` sees `instance['rubric_groups']`. See `references/dataset_schema.md` (*Per-Case Rubrics*).
333
278
 
334
279
  Code-based metrics default to **local in-process execution** (no GCP project or region required, but the `evaluate(instance)` function runs with the CLI's privileges). Set `execution: "remote"` on the metric to run it server-side in Vertex AI's `CodeExecutionMetric` sandbox instead — that path requires a configured GCP project + region.
335
280
 
@@ -358,7 +303,7 @@ app = App(root_agent=root_agent, name="flight_booking_assistant")
358
303
 
359
304
  ### Vertex eval region
360
305
 
361
- `eval grade` and `eval submit` **default to the `global` endpoint** — they don't inherit the manifest `region` (the eval services support only a subset of regions), and `eval analyze` is `global`-only. Override these per run with `--region <REGION>` (e.g. data residency); the service rejects an unsupported one:
306
+ `eval run`, `eval grade`, and `eval submit` **default to the `global` endpoint**. They don't inherit the manifest `region` (the eval services support only a subset of regions), and `eval analyze` is `global`-only. Override these per run with `--region <REGION>` (e.g. data residency); the service rejects an unsupported one:
362
307
 
363
308
  ```
364
309
  400 FAILED_PRECONDITION: Unsupported region for Vertex Evaluation Service: <region>
@@ -395,34 +340,18 @@ Models with "thinking" enabled may skip tool calls. Use `tool_config` with `mode
395
340
 
396
341
  | Symptom | Cause | Fix |
397
342
  |---------|-------|-----|
398
- | Agent mentions data not in tool output | Hallucination | Tighten agent instructions; add `hallucination` metric |
399
- | "Session not found" error | App name mismatch | Ensure App `name` matches directory name |
400
343
  | Score fluctuates between runs | Non-deterministic model | Set `temperature=0` or use rubric-based eval with multiple samples |
401
- | `tool_use_quality` score low | Wrong tool selected or invalid arguments passed | Refine tool descriptions, instructions, or parameter documentation |
402
344
  | LLM judge ignores image/audio in eval | `get_text_from_content()` skips non-text parts | Use custom metric with vision-capable judge (see `references/multimodal-eval.md`) |
403
345
 
404
346
  ---
405
347
 
406
- ## Debugging Example
407
-
408
- User says: "tool_use_quality is low, what's wrong?"
409
-
410
- 1. Open the latest `artifacts/grade_results/results_<timestamp>.html` (or read the `.json`) and find the rubric verdicts the adaptive metric generated for the failing case.
411
- 2. Verify whether the agent selected the wrong tool, or called it with wrong arguments — the trace lives in `artifacts/traces/`.
412
- 3. Refine the tool's parameters, Python docstring description, or the agent's tool selection instructions to guide the model better.
413
- 4. Rerun `agents-cli eval generate && agents-cli eval grade`.
414
- 5. `agents-cli eval compare <prev>.json <new>.json` to confirm the score improved.
415
-
416
- ---
417
-
418
348
  ## Proving Your Work
419
349
 
420
350
  Don't assert that eval passes — show the evidence. Concrete output prevents false confidence and catches issues early.
421
351
 
422
352
  - **After running eval:** Paste the scores table output so the user can see exactly what passed and failed.
423
353
  - **After fixing a failure:** Show before/after scores for the specific case you fixed, and confirm no other cases regressed.
424
- - **Before declaring "eval passes":** Confirm ALL cases pass, not just the one you were working on. Run `agents-cli eval generate` and `agents-cli eval grade` one final time.
425
- - **Before moving to deploy:** Show the final `agents-cli eval grade` output with all cases above threshold. This is the gate — no exceptions.
354
+ - **Before deploy:** Rerun `agents-cli eval run` and show the scores for every case, not just the one you fixed. `eval run` exits 0 whatever the scores are, so the numbers you paste are the gate, not the exit code.
426
355
 
427
356
  ---
428
357