# Pitfall Log / 踩坑日志

项目：google/agents-cli

摘要：发现 40 个潜在踩坑项，其中 15 个为 high/blocking；最高优先级：安装坑 - 来源证据：Add a proactive "verify against official docs" step before code generation。

## 1. 安装坑 · 来源证据：Add a proactive "verify against official docs" step before code generation

- 严重度：high
- 证据强度：source_linked
- 发现：GitHub 社区证据显示该项目存在一个安装相关的待验证问题：Add a proactive "verify against official docs" step before code generation
- 对用户的影响：可能影响升级、迁移或版本选择。
- 证据：community_evidence:github | https://github.com/google/agents-cli/issues/44 | 来源讨论提到 node 相关条件，需在安装/试用前复核。

## 2. 安装坑 · 来源证据：Deployment fails to resolve the `litellm` package version and fails

- 严重度：high
- 证据强度：source_linked
- 发现：GitHub 社区证据显示该项目存在一个安装相关的待验证问题：Deployment fails to resolve the `litellm` package version and fails
- 对用户的影响：可能增加新用户试用和生产接入成本。
- 证据：community_evidence:github | https://github.com/google/agents-cli/issues/42 | 来源讨论提到 python 相关条件，需在安装/试用前复核。

## 3. 安装坑 · 来源证据：Doc link "Agent Garden" is incorrect

- 严重度：high
- 证据强度：source_linked
- 发现：GitHub 社区证据显示该项目存在一个安装相关的待验证问题：Doc link "Agent Garden" is incorrect
- 对用户的影响：可能增加新用户试用和生产接入成本。
- 证据：community_evidence:github | https://github.com/google/agents-cli/issues/29 | 来源类型 github_issue 暴露的待验证使用条件。

## 4. 安装坑 · 来源证据：Support for writing code using ADK-Java patterns (also Typescript, Go)

- 严重度：high
- 证据强度：source_linked
- 发现：GitHub 社区证据显示该项目存在一个安装相关的待验证问题：Support for writing code using ADK-Java patterns (also Typescript, Go)
- 对用户的影响：可能增加新用户试用和生产接入成本。
- 证据：community_evidence:github | https://github.com/google/agents-cli/issues/9 | 来源讨论提到 python 相关条件，需在安装/试用前复核。

## 5. 安装坑 · 来源证据：`adk_a2a` (agent_runtime) scaffold does not set Vertex location before building the A2A agent → card URL stamped with u…

- 严重度：high
- 证据强度：source_linked
- 发现：GitHub 社区证据显示该项目存在一个安装相关的待验证问题：`adk_a2a` (agent_runtime) scaffold does not set Vertex location before building the A2A agent → card URL stamped with us-central1 for non-us-central1 deploys
- 对用户的影响：可能增加新用户试用和生产接入成本。
- 证据：community_evidence:github | https://github.com/google/agents-cli/issues/28 | 来源讨论提到 python 相关条件，需在安装/试用前复核。

## 6. 安装坑 · 来源证据：repo init with cicd, for a2a ,adk , tool, and sub agent init.

- 严重度：high
- 证据强度：source_linked
- 发现：GitHub 社区证据显示该项目存在一个安装相关的待验证问题：repo init with cicd, for a2a ,adk , tool, and sub agent init.
- 对用户的影响：可能增加新用户试用和生产接入成本。
- 证据：community_evidence:github | https://github.com/google/agents-cli/issues/39 | 来源讨论提到 node 相关条件，需在安装/试用前复核。

## 7. 安装坑 · 来源证据：v0.5.0: deploy to agent_runtime builds on the CLI's own Python (sys.version_info), not the project's — fails when a dep…

- 严重度：high
- 证据强度：source_linked
- 发现：GitHub 社区证据显示该项目存在一个安装相关的待验证问题：v0.5.0: deploy to agent_runtime builds on the CLI's own Python (sys.version_info), not the project's — fails when a dependency lacks a wheel for that version (…
- 对用户的影响：可能阻塞安装或首次运行。
- 证据：community_evidence:github | https://github.com/google/agents-cli/issues/36 | 来源讨论提到 python 相关条件，需在安装/试用前复核。

## 8. 配置坑 · 来源证据：Add an init command to create agents-cli-manifest.yaml for existing ADK projects

- 严重度：high
- 证据强度：source_linked
- 发现：GitHub 社区证据显示该项目存在一个配置相关的待验证问题：Add an init command to create agents-cli-manifest.yaml for existing ADK projects
- 对用户的影响：可能影响升级、迁移或版本选择。
- 证据：community_evidence:github | https://github.com/google/agents-cli/issues/25 | 来源讨论提到 node 相关条件，需在安装/试用前复核。

## 9. 配置坑 · 来源证据：agents-cli update floods console with Python UnicodeDecodeError tracebacks on non-UTF-8 Windows consoles

- 严重度：high
- 证据强度：source_linked
- 发现：GitHub 社区证据显示该项目存在一个配置相关的待验证问题：agents-cli update floods console with Python UnicodeDecodeError tracebacks on non-UTF-8 Windows consoles
- 对用户的影响：可能阻塞安装或首次运行。
- 证据：community_evidence:github | https://github.com/google/agents-cli/issues/37 | 来源讨论提到 python 相关条件，需在安装/试用前复核。

## 10. 安全/权限坑 · 失败模式：security_permissions: Add an optional AISP deployment readiness contract for eval, approval, deploy, rollback, and...

- 严重度：high
- 证据强度：source_linked
- 发现：Developers should check this security_permissions risk before relying on the project: Add an optional AISP deployment readiness contract for eval, approval, deploy, rollback, and observability gates
- 对用户的影响：Developers may expose sensitive permissions or credentials: Add an optional AISP deployment readiness contract for eval, approval, deploy, rollback, and observability gates
- 证据：failure_mode_cluster:github_issue | https://github.com/google/agents-cli/issues/48 | Add an optional AISP deployment readiness contract for eval, approval, deploy, rollback, and observability gates

## 11. 安全/权限坑 · 失败模式：security_permissions: Support Antigravity SDK as a first-class agent implementation framework

- 严重度：high
- 证据强度：source_linked
- 发现：Developers should check this security_permissions risk before relying on the project: Support Antigravity SDK as a first-class agent implementation framework
- 对用户的影响：Developers may expose sensitive permissions or credentials: Support Antigravity SDK as a first-class agent implementation framework
- 证据：failure_mode_cluster:github_issue | https://github.com/google/agents-cli/issues/41 | Support Antigravity SDK as a first-class agent implementation framework

## 12. 安全/权限坑 · 来源证据：Provide a bundled GUI client or a standalone desktop app instead of relying on heavy CLI setups

- 严重度：high
- 证据强度：source_linked
- 发现：GitHub 社区证据显示该项目存在一个安全/权限相关的待验证问题：Provide a bundled GUI client or a standalone desktop app instead of relying on heavy CLI setups
- 对用户的影响：可能影响授权、密钥配置或安全边界。
- 证据：community_evidence:github | https://github.com/google/agents-cli/issues/21 | 来源讨论提到 python 相关条件，需在安装/试用前复核。

## 13. 安全/权限坑 · 来源证据：Python version option for agents-cli deploy

- 严重度：high
- 证据强度：source_linked
- 发现：GitHub 社区证据显示该项目存在一个安全/权限相关的待验证问题：Python version option for agents-cli deploy
- 对用户的影响：可能增加新用户试用和生产接入成本。
- 证据：community_evidence:github | https://github.com/google/agents-cli/issues/45 | 来源讨论提到 python 相关条件，需在安装/试用前复核。

## 14. 安全/权限坑 · 来源证据：Support Antigravity SDK as a first-class agent implementation framework

- 严重度：high
- 证据强度：source_linked
- 发现：GitHub 社区证据显示该项目存在一个安全/权限相关的待验证问题：Support Antigravity SDK as a first-class agent implementation framework
- 对用户的影响：可能影响授权、密钥配置或安全边界。
- 证据：community_evidence:github | https://github.com/google/agents-cli/issues/41 | 来源讨论提到 python 相关条件，需在安装/试用前复核。

## 15. 安全/权限坑 · 来源证据：run --mode a2a: agent-card transport endpoint is not pinned to --url; bearer token can be sent to a card-specified host

- 严重度：high
- 证据强度：source_linked
- 发现：GitHub 社区证据显示该项目存在一个安全/权限相关的待验证问题：run --mode a2a: agent-card transport endpoint is not pinned to --url; bearer token can be sent to a card-specified host
- 对用户的影响：可能影响授权、密钥配置或安全边界。
- 证据：community_evidence:github | https://github.com/google/agents-cli/issues/46 | 来源讨论提到 python 相关条件，需在安装/试用前复核。

## 16. 安装坑 · 失败模式：installation: Add an optional AISP lifecycle contract for spec → scaffold → build → eval → deploy → observe

- 严重度：medium
- 证据强度：source_linked
- 发现：Developers should check this installation risk before relying on the project: Add an optional AISP lifecycle contract for spec → scaffold → build → eval → deploy → observe
- 对用户的影响：Developers may fail before the first successful local run: Add an optional AISP lifecycle contract for spec → scaffold → build → eval → deploy → observe
- 证据：failure_mode_cluster:github_issue | https://github.com/google/agents-cli/issues/47 | Add an optional AISP lifecycle contract for spec → scaffold → build → eval → deploy → observe

## 17. 安装坑 · 失败模式：installation: Deployment fails to resolve the `litellm` package version and fails

- 严重度：medium
- 证据强度：source_linked
- 发现：Developers should check this installation risk before relying on the project: Deployment fails to resolve the `litellm` package version and fails
- 对用户的影响：Developers may fail before the first successful local run: Deployment fails to resolve the `litellm` package version and fails
- 证据：failure_mode_cluster:github_issue | https://github.com/google/agents-cli/issues/42 | Deployment fails to resolve the `litellm` package version and fails

## 18. 安装坑 · 失败模式：installation: Path traversal in remote-template scaffolding → arbitrary file write (agents-cli scaffold cre...

- 严重度：medium
- 证据强度：source_linked
- 发现：Developers should check this installation risk before relying on the project: Path traversal in remote-template scaffolding → arbitrary file write (agents-cli scaffold create --agent <remote>)
- 对用户的影响：Developers may fail before the first successful local run: Path traversal in remote-template scaffolding → arbitrary file write (agents-cli scaffold create --agent <remote>)
- 证据：failure_mode_cluster:github_issue | https://github.com/google/agents-cli/issues/50 | Path traversal in remote-template scaffolding → arbitrary file write (agents-cli scaffold create --agent <remote>)

## 19. 安装坑 · 失败模式：installation: Provide a bundled GUI client or a standalone desktop app instead of relying on heavy CLI setups

- 严重度：medium
- 证据强度：source_linked
- 发现：Developers should check this installation risk before relying on the project: Provide a bundled GUI client or a standalone desktop app instead of relying on heavy CLI setups
- 对用户的影响：Developers may fail before the first successful local run: Provide a bundled GUI client or a standalone desktop app instead of relying on heavy CLI setups
- 证据：failure_mode_cluster:github_issue | https://github.com/google/agents-cli/issues/21 | Provide a bundled GUI client or a standalone desktop app instead of relying on heavy CLI setups

## 20. 安装坑 · 失败模式：installation: Python version option for agents-cli deploy

- 严重度：medium
- 证据强度：source_linked
- 发现：Developers should check this installation risk before relying on the project: Python version option for agents-cli deploy
- 对用户的影响：Developers may fail before the first successful local run: Python version option for agents-cli deploy
- 证据：failure_mode_cluster:github_issue | https://github.com/google/agents-cli/issues/45 | Python version option for agents-cli deploy

## 21. 安装坑 · 失败模式：installation: run --mode a2a: agent-card transport endpoint is not pinned to --url; bearer token can be sen...

- 严重度：medium
- 证据强度：source_linked
- 发现：Developers should check this installation risk before relying on the project: run --mode a2a: agent-card transport endpoint is not pinned to --url; bearer token can be sent to a card-specified host
- 对用户的影响：Developers may fail before the first successful local run: run --mode a2a: agent-card transport endpoint is not pinned to --url; bearer token can be sent to a card-specified host
- 证据：failure_mode_cluster:github_issue | https://github.com/google/agents-cli/issues/46 | run --mode a2a: agent-card transport endpoint is not pinned to --url; bearer token can be sent to a card-specified host

## 22. 安装坑 · 失败模式：installation: v0.5.0: deploy to agent_runtime builds on the CLI's own Python (sys.version_info), not the pr...

- 严重度：medium
- 证据强度：source_linked
- 发现：Developers should check this installation risk before relying on the project: v0.5.0: deploy to agent_runtime builds on the CLI's own Python (sys.version_info), not the project's — fails when a dependency lacks a wheel for that version (e.g. Python 3.14 +...
- 对用户的影响：Developers may fail before the first successful local run: v0.5.0: deploy to agent_runtime builds on the CLI's own Python (sys.version_info), not the project's — fails when a dependency lacks a wheel for that version (e.g. Python 3.14 +...
- 证据：failure_mode_cluster:github_issue | https://github.com/google/agents-cli/issues/36 | v0.5.0: deploy to agent_runtime builds on the CLI's own Python (sys.version_info), not the project's — fails when a dependency lacks a wheel for that version (e.g. Python 3.14 +...

## 23. 安装坑 · 来源证据：Add an optional AISP lifecycle contract for spec → scaffold → build → eval → deploy → observe

- 严重度：medium
- 证据强度：source_linked
- 发现：GitHub 社区证据显示该项目存在一个安装相关的待验证问题：Add an optional AISP lifecycle contract for spec → scaffold → build → eval → deploy → observe
- 对用户的影响：可能增加新用户试用和生产接入成本。
- 证据：community_evidence:github | https://github.com/google/agents-cli/issues/47 | 来源讨论提到 node 相关条件，需在安装/试用前复核。

## 24. 安装坑 · 来源证据：Bug: Replicas low on memory on workerpool0 during data ingestion pipeline

- 严重度：medium
- 证据强度：source_linked
- 发现：GitHub 社区证据显示该项目存在一个安装相关的待验证问题：Bug: Replicas low on memory on workerpool0 during data ingestion pipeline
- 对用户的影响：可能增加新用户试用和生产接入成本。
- 证据：community_evidence:github | https://github.com/google/agents-cli/issues/43 | 来源讨论提到 python 相关条件，需在安装/试用前复核。

## 25. 配置坑 · 可能修改宿主 AI 配置

- 严重度：medium
- 证据强度：source_linked
- 发现：项目面向 Claude/Cursor/Codex/Gemini/OpenCode 等宿主，或安装命令涉及用户配置目录。
- 对用户的影响：安装可能改变本机 AI 工具行为，用户需要知道写入位置和回滚方法。
- 证据：capability.host_targets | https://github.com/google/agents-cli | host_targets=claude_code, claude, chatgpt

## 26. 配置坑 · 失败模式：configuration: Add a proactive "verify against official docs" step before code generation

- 严重度：medium
- 证据强度：source_linked
- 发现：Developers should check this configuration risk before relying on the project: Add a proactive "verify against official docs" step before code generation
- 对用户的影响：Developers may misconfigure credentials, environment, or host setup: Add a proactive "verify against official docs" step before code generation
- 证据：failure_mode_cluster:github_issue | https://github.com/google/agents-cli/issues/44 | Add a proactive "verify against official docs" step before code generation

## 27. 配置坑 · 失败模式：configuration: Add an init command to create agents-cli-manifest.yaml for existing ADK projects

- 严重度：medium
- 证据强度：source_linked
- 发现：Developers should check this configuration risk before relying on the project: Add an init command to create agents-cli-manifest.yaml for existing ADK projects
- 对用户的影响：Developers may misconfigure credentials, environment, or host setup: Add an init command to create agents-cli-manifest.yaml for existing ADK projects
- 证据：failure_mode_cluster:github_issue | https://github.com/google/agents-cli/issues/25 | Add an init command to create agents-cli-manifest.yaml for existing ADK projects

## 28. 配置坑 · 失败模式：configuration: Add an optional AISP eval quality contract for dataset coverage, grading, failure analysis, a...

- 严重度：medium
- 证据强度：source_linked
- 发现：Developers should check this configuration risk before relying on the project: Add an optional AISP eval quality contract for dataset coverage, grading, failure analysis, and optimization traces
- 对用户的影响：Developers may misconfigure credentials, environment, or host setup: Add an optional AISP eval quality contract for dataset coverage, grading, failure analysis, and optimization traces
- 证据：failure_mode_cluster:github_issue | https://github.com/google/agents-cli/issues/49 | Add an optional AISP eval quality contract for dataset coverage, grading, failure analysis, and optimization traces

## 29. 配置坑 · 失败模式：configuration: `adk_a2a` (agent_runtime) scaffold does not set Vertex location before building the A2A agent...

- 严重度：medium
- 证据强度：source_linked
- 发现：Developers should check this configuration risk before relying on the project: `adk_a2a` (agent_runtime) scaffold does not set Vertex location before building the A2A agent → card URL stamped with us-central1 for non-us-central1 deploys
- 对用户的影响：Developers may misconfigure credentials, environment, or host setup: `adk_a2a` (agent_runtime) scaffold does not set Vertex location before building the A2A agent → card URL stamped with us-central1 for non-us-central1 deploys
- 证据：failure_mode_cluster:github_issue | https://github.com/google/agents-cli/issues/28 | `adk_a2a` (agent_runtime) scaffold does not set Vertex location before building the A2A agent → card URL stamped with us-central1 for non-us-central1 deploys

## 30. 配置坑 · 失败模式：configuration: repo init with cicd, for a2a ,adk , tool, and sub agent init.

- 严重度：medium
- 证据强度：source_linked
- 发现：Developers should check this configuration risk before relying on the project: repo init with cicd, for a2a ,adk , tool, and sub agent init.
- 对用户的影响：Developers may misconfigure credentials, environment, or host setup: repo init with cicd, for a2a ,adk , tool, and sub agent init.
- 证据：failure_mode_cluster:github_issue | https://github.com/google/agents-cli/issues/39 | repo init with cicd, for a2a ,adk , tool, and sub agent init.

## 31. 能力坑 · 能力判断依赖假设

- 严重度：medium
- 证据强度：source_linked
- 发现：README/documentation is current enough for a first validation pass.
- 对用户的影响：假设不成立时，用户拿不到承诺的能力。
- 证据：capability.assumptions | https://github.com/google/agents-cli | README/documentation is current enough for a first validation pass.

## 32. 运行坑 · 失败模式：runtime: agents-cli update floods console with Python UnicodeDecodeError tracebacks on non-UTF-8 Windo...

- 严重度：medium
- 证据强度：source_linked
- 发现：Developers should check this runtime risk before relying on the project: agents-cli update floods console with Python UnicodeDecodeError tracebacks on non-UTF-8 Windows consoles
- 对用户的影响：Developers may hit a documented source-backed failure mode: agents-cli update floods console with Python UnicodeDecodeError tracebacks on non-UTF-8 Windows consoles
- 证据：failure_mode_cluster:github_issue | https://github.com/google/agents-cli/issues/37 | agents-cli update floods console with Python UnicodeDecodeError tracebacks on non-UTF-8 Windows consoles

## 33. 运行坑 · 运行可能依赖外部服务

- 严重度：medium
- 证据强度：source_linked
- 发现：项目说明出现 external service/cloud/webhook/database 等运行依赖关键词。
- 对用户的影响：本地安装成功不等于能力可用，外部服务不可用会阻断体验。
- 证据：packet_text.keyword_scan | https://github.com/google/agents-cli | matched external service / cloud / webhook / database keyword

## 34. 维护坑 · 失败模式：migration: Support per-eval-case ADK session state in `agents-cli eval generate`

- 严重度：medium
- 证据强度：source_linked
- 发现：Developers should check this migration risk before relying on the project: Support per-eval-case ADK session state in `agents-cli eval generate`
- 对用户的影响：Developers may hit a documented source-backed failure mode: Support per-eval-case ADK session state in `agents-cli eval generate`
- 证据：failure_mode_cluster:github_issue | https://github.com/google/agents-cli/issues/52 | Support per-eval-case ADK session state in `agents-cli eval generate`

## 35. 维护坑 · 来源证据：Support per-eval-case ADK session state in `agents-cli eval generate`

- 严重度：medium
- 证据强度：source_linked
- 发现：GitHub 社区证据显示该项目存在一个维护/版本相关的待验证问题：Support per-eval-case ADK session state in `agents-cli eval generate`
- 对用户的影响：可能影响升级、迁移或版本选择。
- 证据：community_evidence:github | https://github.com/google/agents-cli/issues/52 | 来源类型 github_issue 暴露的待验证使用条件。

## 36. 维护坑 · 维护活跃度未知

- 严重度：medium
- 证据强度：source_linked
- 发现：未记录 last_activity_observed。
- 对用户的影响：新项目、停更项目和活跃项目会被混在一起，推荐信任度下降。
- 证据：evidence.maintainer_signals | https://github.com/google/agents-cli | last_activity_observed missing

- 严重度：medium
- 证据强度：source_linked
- 发现：no_demo
- 证据：downstream_validation.risk_items | https://github.com/google/agents-cli | no_demo; severity=medium

## 38. 安全/权限坑 · 存在评分风险

- 严重度：medium
- 证据强度：source_linked
- 发现：no_demo
- 对用户的影响：风险会影响是否适合普通用户安装。
- 证据：risks.scoring_risks | https://github.com/google/agents-cli | no_demo; severity=medium

## 39. 维护坑 · issue/PR 响应质量未知

- 严重度：low
- 证据强度：source_linked
- 发现：issue_or_pr_quality=unknown。
- 对用户的影响：用户无法判断遇到问题后是否有人维护。
- 证据：evidence.maintainer_signals | https://github.com/google/agents-cli | issue_or_pr_quality=unknown

## 40. 维护坑 · 发布节奏不明确

- 严重度：low
- 证据强度：source_linked
- 发现：release_recency=unknown。
- 对用户的影响：安装命令和文档可能落后于代码，用户踩坑概率升高。
- 证据：evidence.maintainer_signals | https://github.com/google/agents-cli | release_recency=unknown
