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 -niThe 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.
