Skip to content

agents-cli deploy fails with code: 3 due to missing requirements.txt in uv-scaffolded projects #17

@ianhong

Description

@ianhong

What happened?

agents-cli deploy --project YOUR_PROJECT_ID --region us-central1 fails, and my workaround is copying an old uv.lock which has slightly old versions of the packages compared to the new uv.lock

Steps to Reproduce

  1. agents-cli scaffold create customer-support-agent --prototype --yes
  2. agents-cli scaffold enhance --deployment-target agent_runtime --yes
  3. agents-cli deploy --project YOUR_PROJECT_ID --region us-central1

What did you expect to happen?

  1. It should deploy

Client information

Client Information

❯ agents-cli info
CLI version: 0.1.3
CLI install path: /Users/ihong/.local/share/uv/tools/google-agents-cli/lib/python3.14/site-packages/google/agents/cli
OS info: macOS-26.5-arm64-arm-64bit-Mach-O
Installed skills: none

Project root: /Users/xyz/src/gemini-cli-projects/agents-cli/customer-support-agent
Project name: customer-support-agent
Deployment target: agent_runtime
Agent directory: app
Region: us-east1

Command Output / Logs

error:
code: 3
message: |-
Build failed. The issue might be caused by incorrect code, requirements.txt file or other dependencies.

Anything else we need to know?

None

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No fields configured for Bug.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions