@shinyaz

agentcore CLI Direct Code Deploy requires uv

1 min read

Ran agentcore configure -dt direct_code_deploy and hit this:

❌ Error: Direct Code Deploy deployment unavailable (uv not found (install from: https://docs.astral.sh/uv/))

Direct Code Deploy uses uv under the hood to cross-compile dependencies for Linux ARM64. Installing it fixed the issue:

pip install uv
agentcore configure -e my_server.py --protocol AGUI -dt direct_code_deploy -ni

The error message does point you to the install URL, but uv isn't listed in the AgentCore Runtime AG-UI docs prerequisites. This was with bedrock-agentcore-starter-toolkit 0.3.3.

Share this post

Shinya Tahara

Shinya Tahara

Solutions Architect @ AWS

I'm a Solutions Architect at AWS, providing technical guidance primarily to financial industry customers. I share learnings about cloud architecture and AI/ML on this site.The views and opinions expressed on this site are my own and do not represent the official positions of my employer.